colors in xxx$

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Guest

colors in xxx$

Post by Guest »

Ok, i wana player$ = chr$(XXX) and evemy$ = chr$(XXY) and so on...
How do i store player$ color to be blue with out typing "color X" every time when printing player$?
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

You cant unless you change to graphics mode and use sprites.


You could make a function or sub that changes the color for you, and places the player.
I have left this dump.
Post Reply