azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 57 forks source link

Pause spine object? #85

Closed TinyDobbins closed 6 years ago

TinyDobbins commented 6 years ago

Phaser pause game.paused = true; does not apply to spine objects animation. Add please the opportunity to pause spine animation object.

NeoHoffa commented 6 years ago

@AnubisCode

You can use the following to pause.

character.state.timeScale = 0; // set to 1 to resume

TinyDobbins commented 6 years ago

@NeoHoffa thanks a lot!

AleBles commented 6 years ago

or spine.globalAutoUpdate = false;