Jump to content

Pause updates?


StanJan
 Share

Recommended Posts

Hello,

Is it possible to pause all updates for sprites and the Phaser timer?
I found the "game.paused = true", but that didn't work.

For example the update in:

Reservoir.prototype = Object.create(Phaser.Sprite.prototype);
Reservoir.prototype.constructor = Reservoir;

Reservoir.prototype.update = function() {

Thanks a lot! :) 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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