Open Almenon opened 7 years ago
With music enabled sometimes the FPS drops down to 30. Although 30 isn't terrible, the difference in framerate is jarring. Either I need to somehow lock FPS to 30 on slow devices or I need to increase performance.
Javascript operates in single thread so doing CPU operations at same time as rendering canvas is expensive.
todo:
pie-in-the-sky: use assemblyscript
With music enabled sometimes the FPS drops down to 30. Although 30 isn't terrible, the difference in framerate is jarring. Either I need to somehow lock FPS to 30 on slow devices or I need to increase performance.