mattzhao92 / Planet-Blitz

Game for COMP460
2 stars 0 forks source link

Fix time update in loop #137

Closed pc123 closed 10 years ago

pc123 commented 10 years ago

Right now, cooldowns pass extremely slowly (bullets will also technically travel different speeds)

Most robust way: http://gafferongames.com/game-physics/fix-your-timestep/

pc123 commented 10 years ago

Making this my current priority - it's very fundamental to how the game operates

pc123 commented 10 years ago

Okay, implemented a fairly basic version, pushed up to unit_group_selection branch. Didn't end up doing linear interpolation though