PDA

Click to See Complete Forum and Search --> : I need some help with games...


*Super Sniper*
Apr 20th, 2000, 11:35 AM
I want to make a tile based game, meaning I want it to be more than 1 screen width. I want it to use the api call to check for key presses. What is the values for the keys in that api key checker(I can't rember what it is called)? and How do you make a map bigger than one screen. I want to use text files to load in a map. All help would be useful. The more the better.

KENNNY
Apr 20th, 2000, 06:32 PM
look in MSDN, they all start with VK_
eg VK_ESCAPE (i think)
VK_DOWN
VK_LEFT
etc.

not another tile question!!
read the 3dfx post, that'll answer some questions :)

Apr 20th, 2000, 09:47 PM
actually,

if i understand the question right,
in your object browser, about halfway down, it lists all
the possible keys and there code.

eg. escape key = vbKeyEscape

at least,

thats what i thought you were asking.

-t_dawolf

*Super Sniper*
Apr 21st, 2000, 12:08 AM
I have done some simple looking around in the help, and object browers and seen nothing at all about it, but I will look again. Thanks

KENNNY
Apr 21st, 2000, 02:22 AM
i'm not sure the vb key constants are the same as the API ones.
anyway, use API viewer, go to constants, type in VK and you should get them all
copy into vb and hey presto :)

*Super Sniper*
Apr 21st, 2000, 09:52 AM
I had the vk_keydown one. And it was a const set in the module and it was the same as vbkeydown. That made it much much easier.