need help adding music

Subscribe to need help adding music 6 posts

avatar for Deathswinds Deathswinds 8 posts
Flag Post

how do you add music to a game?

 
avatar for Deathswinds Deathswinds 8 posts
Flag Post

anyone?

 
avatar for Wizko Wizko 545 posts
Flag Post

File > Import > Import to Library

Then select the frame you want music on, go to the properties bar and click the sound drop-down menu. You can select your sound from there.

Also, on a related note.. How do you stop music from one frame from overlapping to the next, anyone? :(

 
avatar for Fatal_Cow Fatal_Cow 11 posts
Flag Post

haha, now im having that problem too

 
avatar for arcaneCoder arcaneCoder 2354 posts
Flag Post

stopAllSounds() is the simplest way, but it will stop everything, as the name implies.

Starting and stopping by code is the preferable way, using sound.start() and sound.stop();

You can also stop a sound by adding a frame with a sound event set to ‘stop’ in the sync field, instead of ‘start’ or ‘event’ or ‘stream’.

 
avatar for Deathswinds Deathswinds 8 posts
Flag Post

thank you!
now as far as i know… all of the major bugs are fixed (for now, im sure ill manage to find others, thats just programming lol), i simply have to add more levels and my game will be finished :)
look for it in the next few weeks :D