×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    1

    how to respond two key action at same time in MIDP1.0

    how to respond two key action at same time in MIDP1.0

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    The only way would be setting flags in the keyPressed event and then checking their state in the main game loop or somewhere.
    But many phones don't support multiple keypresses (different models, and sometimes even different firmware versions of the same model have these inconsistencies) so you're treading on shaky grounds.

    shmoove

Posting Permissions

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