Jump to content

Controlling game speed


BkoChan
 Share

Recommended Posts

I'm looking to add game speed buttons into my Phaser game (paused, x1, x2, and x5).

I'm not really sure how to achieve this at all! Is it possible to call the main update method from within the update method?!

 

After doing some Googling a lot of people suggest just calling my own update function multiple times from the Phaser update. I'm not really sure how that would work.

If I have a sprite with arcade physics I want Phaser to make sure that the physics are applied?!

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.

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

  • Recently Browsing   0 members

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