Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / music when game is paused?

Author
Message
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 2nd May 2009 00:02
Hi everyone,
is there a way I can play music when the game is paused, I thought of adding
music=****.wav
to the setup level around the line

:state=1,escapekeypressed=1:pausegame,state=2

but I guess the music won't stop on resume, so anyway to solve this?
TY


~Level my Dragon~[/url]
Best Wishes..
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 2nd May 2009 01:58
Yeah, do what you are thinking, then do this. Add a script the the resume button to stop the sound when clicked, as well as resume game.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 2nd May 2009 02:22
Just play the level music on the resume button as well as what you're thinking of doing.


The one and only,


Login to post a reply

Server time is: 2024-11-25 00:38:12
Your offset time is: 2024-11-25 00:38:12