Jump to content

Pause and Resume Music Loop & Game Feedback


Arlefreak
 Share

Recommended Posts

I have been playing with Phaser and i have this, I'm new to java script and i don't know if the things I'm doing are the right ways to do them, so any feedback to improve my code would be nice :) 

 

Also 

 

When I resume the music using (pause the music pressing P, i will add a button later).

music.resume();  

the music starts over again, am I doing something wrong ? 

 

When I finish I would maybe do a post about my experience starting with Phaser so others could learn from my mistakes.

 

 

Link to comment
Share on other sites

Music pause and resume should resume from the point it paused and not restart, but to be honest I've only tested this fully with Web Audio, so if it has fallen back to the Audio tag method it's possible that isn't resuming correctly (in which case I need to fix it, so please file a bug :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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