horkoda Posted January 14, 2015 Share Posted January 14, 2015 Where can I set the interval of the game's update() function being called?Phaser 2.2 has fixed-step internal game loop, so I'm guessing that is indeed possible? Basically, I want the update function to be called once per second without extraneous code. Link to comment Share on other sites More sharing options...
pambuk Posted January 14, 2015 Share Posted January 14, 2015 Hi, I'm quite new to Phaser, but wouldn't calling your update code once a second be enough? Link to comment Share on other sites More sharing options...
ultimatematchthree Posted January 14, 2015 Share Posted January 14, 2015 game.time.desiredFps = 1;More about desiredFps in the Phaser.Time documentation page. horkoda 1 Link to comment Share on other sites More sharing options...
Recommended Posts