home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / lang / basic / 888 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.2 KB  |  32 lines

  1. Newsgroups: alt.lang.basic
  2. Path: sparky!uunet!ornl!sacam.OREN.ORTN.EDU!ajwright
  3. From: ajwright@sacam.OREN.ORTN.EDU (Albert J Wright)
  4. Subject: MCGA and QBX question.
  5. Message-ID: <1992Nov23.040104.4787@ornl.gov>
  6. Keywords: MCGA, QBX
  7. Sender: usenet@ornl.gov (News poster)
  8. Organization: oren
  9. Date: Mon, 23 Nov 1992 04:01:04 GMT
  10. Lines: 20
  11.  
  12.  
  13.     I am (trying to) write a rather simple game in MCGA and QBX.  I
  14. have MCGA figured all except for one thing.  You can change colors using
  15. something like:
  16.  
  17. ColorCode = (65536 * Blue + 256 * Green + Red)
  18. PALETTE ColorNumber, ColorCode
  19.  
  20.     I know that is not completly valid, but I use something that
  21. works, what I want to know is: Is there some way you can find out the
  22. colorcode that has already been assigned to a number?  Like I have
  23. ColorNumber 12, what is the ColorCode that is assigned to it?  What are
  24. the Blue, Green and Red values? 
  25.  
  26. Please respond by E-mail.  Thanks.
  27. -- 
  28. +------------------------------+-------------------------------------+
  29. |         John Wright          | You dented the entire right fender! |
  30. | ajwright@sacam.oren.ortn.edu | Maybe they won't notice! (They did) |
  31. +------------------------------+-------------------------------------+
  32.