ramspeed Posted December 1, 2015 Share Posted December 1, 2015 Good morning! Quick question: I'm attaching tweens to sprites as a property ala:vSprite.myTween = this.add.tween(vSprite ,,, Do I need to explicitly remove the tweens before killing the sprite or will a sprite kill remove those tween references? Not sure if I need this: this.tweens.remove(vSprite.myTween) Thanks ya'll Link to comment Share on other sites More sharing options...
drhayes Posted December 1, 2015 Share Posted December 1, 2015 You need to explicitly remove them. Perhaps by overloading kill or destroy? If kill, then you'll need to re-make them if the sprite revives. Link to comment Share on other sites More sharing options...
ramspeed Posted December 1, 2015 Author Share Posted December 1, 2015 Cool good to know. Thanks Doc. Link to comment Share on other sites More sharing options...
Recommended Posts