Jump to content

How to use tween.frameBased property?


Recommended Posts

How to make a tween whit durations in frames?

var tween = game.add.tween(object).to({x: 100}, 300, Phaser.Easing.Linear.None); 
tween.frameBased = true;
tween .start();

not works. It duration remains 300 ms, but not a 5 seconds (300 frames / 60 FPS).


Link to comment
Share on other sites


  • Recently Browsing   0 members

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