home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!news.iastate.edu!kwj
- From: kwj@iastate.edu (kwj)
- Subject: Noseguy
- Message-ID: <1992Aug31.144936.18413@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- Date: Mon, 31 Aug 1992 14:49:36 GMT
- Lines: 20
-
- Last week, I found a cute little program written in C for X-windows
- called Noseguy. Essentially, Noseguy is a sprite, composed of a nose,
- army boots and a hat, that walks around the screen espousing words of
- wisdom.
-
- I would like to convert Noseguy from C into BASIC for the PC. However, Noseguy
- is built around bitmaps with hexadecimal arrays {0x00,0xff, ..., 0x00}.
- I have figured out that each hexadecimal number, when converted to binary
- form, represents on/off characteristics of 8 pixels, but I do not know
- how to put the series of pixels together. (Noseguy is comprised of 64 x 64
- pixels; the hexadecimal array is comprised of 512 numbers).
-
- Any suggestions on how to interpret and decipher X-windows bitmaps would
- be greatly appreciated.
-
- -- kwj
-
-
-
-
-