Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User anrikun's Avatar
    Join Date
    May 2003
    Posts
    17
    I've designed a little animation that responds to key presses (a man running left or right).
    For every frame, pressed key and released key are checked then the animation is updated according to keys.
    So every loop, there's :
    1 key check
    1 repaint();serviceRepaints();

    The problem is that when I press a key, the man doesn't always start running immediately, and most of the time, when I release a key, it go on running several frames.
    I'm running this program on the 3510i emulator. Is this response delay due to the emulator or am I doing something wrong???
    If you have some code to show me, thank you in advance.
    Henri

  2. #2
    I've not used the 3510i emulator, but I know that the 3410 emulator, 7210 and 3650 emulators all have a key delay, so I'd guess that this is the same with the 3510i. Bit of a pain really.

    Danny.
    Tin Can Games.

    www.tincangames.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved