Jump to content

Should I explicitly destroy one-time tweens


Recommended Posts



I was wondering if I should explicitly destroy all the tweens that I create?

I am moving objects on screen every few seconds with one time tweens like so:

this.state.add.tween(child).to({ y: prevY + this.blockHeight }, 300, Phaser.Easing.Quadratic.In, true)

is it destroyed automatically after the tween is completed or should I destroy it?




Link to comment
Share on other sites


  • Recently Browsing   0 members

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