Performance in 2D Applet.

Hello everyone,

I have tried to adapt some of the code I found for 2D Java games to work in an Applet. The results are shown here. However, when I display the FPS counter it shows only about 10 fps and TaskMgr reports I’m using 100% CPU. I’m running the animation loop in its own Thread since this is an Applet, but sleeping for 10ms doesn’t help… any ideas?

Thanks,
Doron Barak

Runned in 50fps on my mac, so no problem here.

[quote]Runned in 50fps on my mac, so no problem here.
[/quote]
If you checked it just a while ago, then the problem is fixed :slight_smile:

Its just that when you draw an 800x600 image as your background for every frame… you’d get really bad fps rate :wink: