Jump to content

Set Phaser Framerate


Son of Bryce
 Share

Recommended Posts

You can read the FPS rate here:  game.time.fps

But I think you can't set it.

 

However you can set FPS in animations, look at the "sprite sheet" example:

 


 



// And this starts the animation playing by using its key ("walk")
// 30 is the frame rate (30fps)
// true means it will loop when it finishes
mummy.animations.play('walk', 30, true);


Link to comment
Share on other sites

  • 3 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...