Jump to content

Issues with isRunningon non-looping tweens


HTML5Tyler
 Share

Recommended Posts

Hey all,

 

       I'm trying to initiate different sprite tweens at different times on a variety of sprites that are in a group (non-looping tweens). I don't want to tell a already tweening sprite to start() though since it resets it's x and y to the beginning and it looks choppy.

 

       I noticed that on the Phaser github, it says this was already fixed: Tween - isRunning not reset when non-looped tween completes, but after downloading the newest code, I still have this issue.

 

      I even tried setting isRunning true and managing it myself, but it's still forced to false every-time.

 

      My sample code:

 

      if(!tentacles[main.octopus.tentaclesAnimNum].tween.isRunning){

                    tentacles[main.octopus.tentaclesAnimNum].tween.start();
     }
 
    Any help would be greatly appreciated!
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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