jumpy
jumpy copied to clipboard
Problem with framerate/game speed
Game on my machine have a problem with framerate/game speed, it's unplayable:
https://user-images.githubusercontent.com/40376451/135925813-f5699e42-917c-4aa2-9646-2613635b7d34.mp4
This problem at least exist from moment i started on shoes reimplementation - from commit fc81a62641d0ab7ca1339538ae448f36191d993c. I tested old build from Notion page (0.1 version) and it does not have this problem.
Problem currently solves by turning on system's vsync. This issue relative not to the game, but to macroquad engine. Here https://github.com/not-fl3/macroquad/issues/170 that kind of similar to this.
Still, this shouldn't happen as we use fixed update to call network_update, which drives all the physics. If macroquads fixed updates aren't actually fixed, this is something we need to address...
Fixed in #466.