🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #372

MCGA and QBX question.

#372
From: Albert J Wright
Date: Mon, 23 Nov 1992 04:01
20 lines
1228 bytes
	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) |
+------------------------------+-------------------------------------+
Technical Details
Message-ID: <1992Nov23.040104.4787@ornl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!sacam.OREN.ORTN.EDU!ajwright

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!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