flogvit Posted November 25, 2015 Share Posted November 25, 2015 Hi, We're trying to reduce the CPU usage on some units for Phaser games. Our initial thought was that setting game.time.desiredFps = something would do the trick. But that doesn't work well with tweens. When setting a tween to use 1000 ms to be finished, changing the desiredFps will make the tween use more time. Is this a bug in tween, or is there another way of changing the fps without changing the tween time? We can setup all tweens with ms*fps/60, but that is not desirable. Link to comment Share on other sites More sharing options...
Skeptron Posted November 27, 2015 Share Posted November 27, 2015 Use the frameBased property (set to false) : http://phaser.io/docs/2.4.4/Phaser.Tween.html#frameBased Link to comment Share on other sites More sharing options...
Recommended Posts