awea

Preserve tween running between states

Recommended Posts

Hi there,

 

I'm currently working on a small game using Phaser to manage all the canvas stuff. The game iterate x times between states :

 

  1. instructions
  2. selection answer
  3. explosion
  4. selection answer
  5. explosion
  6. etc...

On each explosion I'm making an explosion with all the letters from the the other possible answer and the selected answer start to blink. Actually I manually restart the tween on each new selection state, there is a better way to achieve this ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.