Jump to content

Pause Animation & Easing


Recommended Posts

So I'm trying to build a mobile 3 slot game with Phaser.

You can take a look at  http://www.e-sant.com/EA/phaser/  to see the animation sequence. You just have to click on the right hand button and let the animation run.

What I need to do now is to enable the user to stop the animation when he wants to. If user stops it, tiles must be arranged at the same spot as they stop if animation sequence runs without being stopped. Also, I need to maintain the ease effect you get if you let the animation run without stopping it. 

Source code  https://gitlab.com/kikemx78/deucesPhaser

Any help will be appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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