Results 1 to 6 of 6

Thread: I need some help with games...

  1. #1

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81

    Thumbs up

    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.
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355
    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
    buzzwords are the language of fools

  3. #3
    Guest
    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

  4. #4

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81
    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
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

  5. #5
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355
    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
    buzzwords are the language of fools

  6. #6

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81
    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.
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width