lmfname_Marco Posted September 12, 2015 Share Posted September 12, 2015 I want to use time control the Progress bar. like this:game.add.sprite(125, 65, 'probar-bar-bg');var probar = game.add.sprite(128, 64, 'probar-bar');var probarTween = game.add.tween(probar.scale).to({ x: 0}, gameTime, Phaser.Easing.Linear.None, true);probarTween.onComplete.add(this.timeisover, this);probarTween.start();and then , I want to add gameTime value to add the game time, but I don't find method to solve this. Link to comment Share on other sites More sharing options...
Recommended Posts