Very basic question regarding PocketPC development
I have a game that I''ve ported from the desktop to PocketPC. It works fine but I''ve decided to spruce it up with a few animations and enhancements. In a desktop program I would simply have a constant loop that updated the scene constantly. I would imagine on a PocketPC this would be a battery drain.
So my question is what is the generally accepted design of a PocketPC game in regards to the main loop? I have tried using a timer but that results in choppy, irregular animation. I imagine I could have a global variable that indicates whether any animations are pending. If the flag is true, redraw the scene, otherwise wait for the next windows message. Any insight would be appreciated!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement