🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Albert J Wright Mon, 23 Nov 1992 04:01
MCGA and QBX question.
#372
Author: 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) |
+------------------------------+-------------------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads