Jump to content

Can't unpause


Recommended Posts

I've just upgraded my game from 1.1.3 I think it was to the latest version of Phaser, and I can't unpause the game, this is my pause game.


pauseGame: function (pointer) {        if(this.game.paused == true)        {            this.game.paused = false;            if(this.spellText != null)            {                this.spellText.destroy();            }        }        else        {            this.game.paused = true;            this.spellText = this.game.add.bitmapText(300, 200, 'Allgemeine', "PAUSED!!", 32);        }    },

It pauses fine, but it doesn't unpause, the game just stays in it's paused/frozen state, any ideas?


Link to comment
Share on other sites

because in the new phaser there was a bug that caused mouse down to unpause the game so that was removed.


A previous user has since looked into it with this code:>



I'm using a normal button to pause and unpause the game, but it seems when the game is paused the button stops working.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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