Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GET-PUT graphic statments

Status
Not open for further replies.

qboy

Programmer
Feb 16, 2005
2
HK
i am a newbie that wanted to put everything together that i learned. i decided to make a game. everything went good but i had one problem. my graphics came up slow because i was reading each of my 800 tiles from data and pixel by pixel puting them down. eventualy i got around to GETing the background pics and PUTing them down. it worked ok but i couldn't do that for the foreground (armies and towns) because i would ether erase the background or make it come up in reverse colors (not fun). you could still see the tiles being PUT on the screen but i decided that was ok.
i encounterd my secound problem when i tried to PUT tiles on top of them selfs to "dehighlight" them. this did not work at all, i got white lines between tiles, they came up in reverse color, or it didn't erase the highlight box.
i am new and do not know everything about QBasic, so i am open to other ways of doing things. i hope i didn't miss anything important.

thank you
QBoy (QBasic Boy)
 
Hi

It's been sometime since I worked with qbasic, but as far as I can remember I would have tried using the XOR option with put (graphics).

Do reply if this helped. Bye.
Ankan.

Please do correct me if I am wrong. s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top