Still fighting the move from fullscreen graphics to an Applet with pseudo-doublebuffering
Is this at all a good implementation of a gameloop in an applet?
http://pastebin.java-gaming.org/54a6b9d84
It seems legit and it runs fine, except that instead of getting the 60fps I’m aiming for, I’m getting 63-64.
I’ve been scouring the net and this forum for posts on gameloops and rendering-methods, and found
many good examples, but very few are written for Applets, and most are incredibly elaborate and hard
to decipher. I’ve tried to compile those many ideas into something that would work for me.
Also, even though ra4kings impeckable sleep-method is rad, I just feel it is odd that one
has to do so many calculations, just to make your loop sleep for a specific amount of time.
Why is this not good enough?