home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lang.basic
- Path: sparky!uunet!ornl!sacam.OREN.ORTN.EDU!ajwright
- From: ajwright@sacam.OREN.ORTN.EDU (Albert J Wright)
- Subject: MCGA and QBX question.
- Message-ID: <1992Nov23.040104.4787@ornl.gov>
- Keywords: MCGA, QBX
- Sender: usenet@ornl.gov (News poster)
- Organization: oren
- Date: Mon, 23 Nov 1992 04:01:04 GMT
- Lines: 20
-
-
- I am (trying to) write a rather simple game in MCGA and QBX. I
- have MCGA figured all except for one thing. You can change colors using
- something like:
-
- ColorCode = (65536 * Blue + 256 * Green + Red)
- PALETTE ColorNumber, ColorCode
-
- I know that is not completly valid, but I use something that
- works, what I want to know is: Is there some way you can find out the
- colorcode that has already been assigned to a number? Like I have
- ColorNumber 12, what is the ColorCode that is assigned to it? What are
- the Blue, Green and Red values?
-
- Please respond by E-mail. Thanks.
- --
- +------------------------------+-------------------------------------+
- | John Wright | You dented the entire right fender! |
- | ajwright@sacam.oren.ortn.edu | Maybe they won't notice! (They did) |
- +------------------------------+-------------------------------------+
-