DEV Community

Discussion on: Complete n00b

Collapse
 
x82isaac profile image
Michael Isaac

How many frames are you getting?

I'm certain there is, especially on lower performing hardware. However, my understanding is that the animation loops are rate locked to the monitor's refresh rate. Which may be a limiting factor. In the beginning when the game logic (ship positions and such) was client side this presented an interesting issue.

Example:

My friend has two monitors, on the secondary monitor (60hz) the game speeds were the same as mine and everything worked predictably. But when he moved the browser to his primary monitor (120hz) his ship was on steroids and moved too quickly to even play.