victor.cruz Posted May 25, 2016 Share Posted May 25, 2016 I want to loop a work a number of times and between each loop will be an interval (like setInterval in Javascript). I have used tween to make loops but don't know how to make intervals between them. You could use the example here to try: http://phaser.io/examples/v2/tweens/tween-loop-event#g Hope you could help me. Thank you very much! Link to comment Share on other sites More sharing options...
shohan4556 Posted May 26, 2016 Share Posted May 26, 2016 I think tween have the delay property. tween.to(properties, duration, ease, autoStart, delay, repeat, yoyo) : and tween have the method tween.repeatDelay(duration); you can use this. VitaZheltyakov and plicatibu 2 Link to comment Share on other sites More sharing options...
Recommended Posts