Posted By
|
Message
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
4th February, 2009 at 11:11:27 -
Heya, I started by using OGG files but unless you put 'go to next frame' or 'go to previous frame', the sounds stop as you change frame (For instance, when you do 'jump to frame...'). What do I do? I've tried making it go to the previous frame, which then forwards it to the next frame again, but this makes the game unstable even if I put a delay in before it moves frames.
I've also used Direct Show, but this doesn't carry on across levels.
Can anybody suggest a way I can continue a song over to another frame? Thanks!
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
Cecilectomy noPE
Registered 19/03/2005
Points 305
|
4th February, 2009 at 11:24:57 -
if youre using direct show make the object global and you can save which song is being played and its current position as alterable variables and just load from that point at the start of any other frame.
n/a
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
4th February, 2009 at 13:34:36 -
Thanks- now all I have to do is to get the sound playing again, can't find the right things to put in to make the song play.
I want it to play a song called Ping_16 , it's an mp3 file, but I can't get it working. I've tried this. What do I have to do differently to get it to work?
"Appdrive$+Appdir$+Apppath$+Ping_16.mp3"
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
Cecilectomy noPE
Registered 19/03/2005
Points 305
|
4th February, 2009 at 14:09:38 -
dont combine 'appdrive$ + appdir$' with 'apppath$'
use either appdrive$ + appdir$ + "ping_16"
or
apppath$ + "ping_16"
they are equivalent.
n/a
|
3kliksphilip Addict
Registered 20/11/2007
Points 14900
|
4th February, 2009 at 17:27:18 -
Thanks! I can now get on with my game.
Don't aim for perfection- you'll miss the deadline
'~Tom~ says (16:41):
well why does the custom controls for the keyboard palyer even affect the menu controls at all whats thep oint jsutm ake it so for the keyboard palyer on the menu screens everything is always up down left right enter regardless of the controls they set'
-Mr Tom, 2010
|
Silveraura God's God
Registered 08/08/2002
Points 6747
|
4th February, 2009 at 21:30:27 -
If you're using MMF2, which I don't know if you are or not, but you can put music in as a Sample and it supports OGG's which will carry over the frame, and wont need to be played from external files.
http://www.facebook.com/truediamondgame
|
|
|