seixasfelipe / tactical

Tactical battle field experiment
https://seixasfelipe.github.io/tactical/
MIT License
1 stars 1 forks source link

Make use of requestAnimationFrame #7

Open seixasfelipe opened 7 years ago

seixasfelipe commented 7 years ago

Until right now, the experiment is not using real canvas methods to render, handle events, move or resize objects and tiles.

At least it should use the requestAnimationFrame as main loop to be able to run animations, updates and rendering in 60 fps.