Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame rate variations with slow computers and music enabled #2

Open
Almenon opened this issue Apr 17, 2017 · 1 comment
Open

Frame rate variations with slow computers and music enabled #2

Almenon opened this issue Apr 17, 2017 · 1 comment
Labels

Comments

@Almenon
Copy link
Owner

Almenon commented Apr 17, 2017

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 Almenon added the bug label Apr 17, 2017
@Almenon
Copy link
Owner Author

Almenon commented May 25, 2020

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

todo:

  • analyze performance
  • look up phaser tips on increasing performance

pie-in-the-sky:
use assemblyscript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant