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 / FPS Creator play sound before game complete. !!!HELP!!!

Author
Message
Jack Delivery
9
Years of Service
User Offline
Joined: 27th Aug 2014
Location:
Posted: 27th Aug 2014 13:54
Hi guys!
I have a problem that I very much needed and solve it as soon as possible.
I need that when a player steps on a certain place and starts a sound that will have about 20 seconds to shut down as soon as the sound of the game shuts down and throws the screen game completed.
Can you please advise something? And I'm sorry for my English I can not speek english
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 29th Aug 2014 17:57
HI Jack Delivery and welcome
It's very easy to do. First grab a copy of the "Syntax" list
from here..http://forum.thegamecreators.com/?m=forum_view&t=180924&b=23 Helps a lot! Also look thru
the "Official Community Guide" in your Doc's folder for further help.
What you want to do is use a timer after your sound starts playing, "etimerstart" next you would use "etimergreater=20000"
the timer is in millisec's so 20sec's would be "20000"
When the timer expirers use the action "win" to end the level/game.
Try to make the script yourself, you might be surprised how easy it is. Come back if you need more help.
best

My games never have bugs. They just develop random features..

Login to post a reply

Server time is: 2024-04-19 09:25:12
Your offset time is: 2024-04-19 09:25:12