Jump to content

Phaser in Brackets: Pause update not working


Recommended Posts

I had another thread where I went back and forth with @samme about pauseupdate not working. After copying his/her code from CodePen into my file, I discovered that running his/her code from within Brackets also resulted in the pause update not working (not getting pointer data).

I then ran the code from my file directly in Chrome and Firefox and it didn't work there either (the code runs, no errors thrown, etc. but the pointerdata isn't updated on pause). 

What am I missing?  How can I get pointerdata on pause? 

 

 

Link to post
Share on other sites

I figured out to get the live data it has to be rendered in Phaser.CANVAS not AUTO/ WEBGL, and also that all my other problems were because of AUTO and not CANVAS mode.

 

I really wish more tutorials had explained what the differences are instead of saying "just put it in Auto mode and don't worry about it".....

 

Link to post
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.

Guest
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.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...