Almenon / recordGame

repository for Javascript/Phaser based music game
https://almenon.github.io/recordGame/
2 stars 0 forks source link

Frame rate variations with slow computers and music enabled #2

Open Almenon opened 7 years ago

Almenon commented 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.

Almenon commented 4 years ago

Javascript operates in single thread so doing CPU operations at same time as rendering canvas is expensive.

todo:

pie-in-the-sky: use assemblyscript