Jump to content

Pausing and Resuming main loop unintuitive


Flake
 Share

Recommended Posts

tl;dr Pause,  sleep, resume and wake make for a confusing api initially. Also a master pause (logic and audio) would be handy ( I might have missed this though.)

After a longish break of game dev I wanted to take a look at Phaser 3. Loving it so far, (Phaser has come such a long way) but I find the pausing/resuming the entire game(logic, animation, sounds) a little confusing. I'm making a master Pause/Play switch. After game.loop.pause() didn't have the desired effect I've switched to game.loop.sleep and awake(). But I'm unsure if this is the intended use for them.

Looking forward to the release of this bad boy, continue doing awesome work. Cheers

Screen Shot 2017-12-18 at 7.15.57 pm.png

Link to comment
Share on other sites

  • 8 months later...
 Share

  • Recently Browsing   0 members

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