NTaylorMullen / ShootR

Multiplayer space ship game built on the SignalR framework.
MIT License
388 stars 199 forks source link

Join Update and Draw loops to remove race conditions #7

Closed NTaylorMullen closed 12 years ago

NTaylorMullen commented 12 years ago

Weave the two update loops together but only fire draw at the correct interval.

This can be accomplished by incrementing a variable for every tick of update and depending on the interval for the draw only executing the draw after X amount of intervals of update etc.