05-08-2002, 09:08 PM
You need a multi key handler.Really NEED it.Use a library.Like
RelLib.
Use
IF RelKey(&H21) then ....
'21 would be a keyboard scan code of the key you want(check QBasic help file - contest )
Just put &H before every keyboard scan code used with RelKey.
It works great!I also must check the last version to see if you made an AI.It's really easy to code it for such game.If i could code an AI for Ritual Combat so can you for Chaser.
Download RelLib and start QBasic with qb/l rel
You will need to type in the path to Rellib after that(place where you uncompressed it).
http://www.surfsites.net/qbhost/
RelLib.
Use
IF RelKey(&H21) then ....
'21 would be a keyboard scan code of the key you want(check QBasic help file - contest )
Just put &H before every keyboard scan code used with RelKey.
It works great!I also must check the last version to see if you made an AI.It's really easy to code it for such game.If i could code an AI for Ritual Combat so can you for Chaser.
Download RelLib and start QBasic with qb/l rel
You will need to type in the path to Rellib after that(place where you uncompressed it).
http://www.surfsites.net/qbhost/