Jump to content

I want to use time control the scroll bar!


lmfname_Marco
 Share

Recommended Posts

I want to use time control the Progress bar. like this:

post-16090-0-49091000-1442028118.png

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

 Share

  • Recently Browsing   0 members

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