Hello,

I am writing an action game that allows both pen and key input. However, 
whenever I hold the stylus down on the screen (or drag it) during the 
game, the frame rate drops noticeably (from ~10 fps down to 6 or 7). If 
I drag the pen on the Graffiti area, it drops to something like 2 frames 
per second!

I originally was using PenMoveEvents to track the stylus, but that was 
even worse than it is now. I currently use a while() loop and 
EvtGetPen() to track the pen (and process the game loop) after receiving 
a PenDownEvent.

Any tips on where the delays are coming from, and how to get rid of them?

Thanks in advance for any clues,
WAL 9000


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to