- Hi everyone,
I did a test game painting 7 different colors rectangles on the screen (using fillRect).
The game only does that. Paint 7 rectangles on top of each other on the screen, and when I press any key, I change the last rectangle color.
On the simulator (JDE v4.6) it runs fine, it only shows the last rectangle that I painted on the screen. On the mobile (OS v4.6) the game keeps flashing all the rectangles, it doesn't show only the last rectangle. Is it a device's issue? Is it not fast enough to draw all the rectangles before the screen refreshes it self!? Someone have a solution to this?
Update: I noticed if I leave the device's menu opened (the one that has the Close option). The flashing stops. The application is still running because I made it change the color of the last rectangle automatically after 1 second, and the flashing stops when the device's menu is opened and it restarts when I close the menu.Last edited by vfranchi; 09-14-09 at 09:28 AM.
09-14-09 09:22 AMLike 0
- Forum
- BlackBerry Developers
- Developers Lounge
Black Berry 9000 flashing screen in game development
LINK TO POST COPIED TO CLIPBOARD