Page 1 of 1

SoundFinish event

PostPosted: Wed Jan 09, 2008 12:07 pm
by Kalladdolf
how about a sound finish event for GE?
you might wanna use it if you had a background music and want to have a music introduction before.
when the music introduction ends, the music would then play in a loop.
if it's possible without SoundFinish, how?

Re: SoundFinish event

PostPosted: Wed Jan 09, 2008 4:40 pm
by Bee-Ant
Use timer...
First, you must know how long your introduction music length...
When your introduction music played,CreateTimer as long as it's length.
Then...bla bla bla(you can continue this)

Re: SoundFinish event

PostPosted: Wed Jan 09, 2008 5:11 pm
by Kalladdolf
that wouldn't work, unfortunately, because the sound should stop when the game is paused, then start all over again or...
you get the picture :(

Re: SoundFinish event

PostPosted: Wed Jan 09, 2008 5:29 pm
by Bee-Ant
==Kalladdolf== wrote:...when the game paused...

You didnt say that before :x

Re: SoundFinish event

PostPosted: Wed Jan 09, 2008 5:58 pm
by Kalladdolf
sorry :roll:

maybe I haven't explained it properly:

you start the game.
while you play, music plays----------------------> music finished, another music starts and it plays forever ----------------------->
-------------------------------------------------------------------------------------------------------------------------------------------------->
...

Re: SoundFinish event

PostPosted: Wed Jan 09, 2008 6:14 pm
by Bee-Ant
StartGame>
PlayMusic>Music1(1min) loop 1,CreateTimer(60000ms)
Music1 ended,Timer will works...Timer>Play Music2 loop 0
SOoooooooooooooooooooooooooo simple

Re: SoundFinish event

PostPosted: Fri Jan 25, 2008 11:43 pm
by Sgt. Sparky
Bee-Ant wrote:StartGame>
PlayMusic>Music1(1min) loop 1,CreateTimer(60000ms)
Music1 ended,Timer will works...Timer>Play Music2 loop 0
SOoooooooooooooooooooooooooo simple


I have done somthing like this before to get the music to change if I was in a different area.

But: A sound finish event would just be awsome because then you would not have to use built in GE pausing functions.