GameMaker: Studio

GameMaker: Studio

View Stats:
Wolfe Nov 6, 2015 @ 8:01pm
How to add background music?
I need to know!
< >
Showing 1-10 of 10 comments
Laby Nov 7, 2015 @ 11:06pm 
Originally posted by Andrew667 TCH:
I need to know!
if you want to i can give you the scripts
mob Nov 8, 2015 @ 11:12am 
1) Create an object
2) Create a "create" event
3) Put down code and put, "sound_play(music)" changing music to the song name.
4) Put the object in the room.

Done.
Last edited by mob; Nov 8, 2015 @ 11:12am
Laby Nov 9, 2015 @ 6:08am 
Originally posted by Bluey:
1) Create an object
2) Create a "create" event
3) Put down code and put, "sound_play(music)" changing music to the song name.
4) Put the object in the room.

Done.
You dont want it to play it always.
mob Nov 9, 2015 @ 11:35am 
Originally posted by LuigiHarrisMario:
Originally posted by Bluey:
1) Create an object
2) Create a "create" event
3) Put down code and put, "sound_play(music)" changing music to the song name.
4) Put the object in the room.

Done.
You dont want it to play it always.
Well then you'll have to do more coding, which is pretty easy.
Laby Nov 10, 2015 @ 6:05am 
Originally posted by Bluey:
Originally posted by LuigiHarrisMario:
You dont want it to play it always.
Well then you'll have to do more coding, which is pretty easy.
True, an simple If and Else works just fine.
mob Nov 10, 2015 @ 11:57am 
Originally posted by LuigiHarrisMario:
Originally posted by Bluey:
Well then you'll have to do more coding, which is pretty easy.
True, an simple If and Else works just fine.
Yep.
Dingle Dorff May 8, 2017 @ 8:13pm 
I'm having a problem where every time I enter a room, then go back to the main menu and the song stacks on top of the first. First time making a game, and I don't code. Mind giving me the script?
Laby May 9, 2017 @ 5:55am 
Originally posted by That Funky Brass Monkey:
I'm having a problem where every time I enter a room, then go back to the main menu and the song stacks on top of the first. First time making a game, and I don't code. Mind giving me the script?
Don't hjack threads
Originally posted by That Funky Brass Monkey:
I'm having a problem where every time I enter a room, then go back to the main menu and the song stacks on top of the first. First time making a game, and I don't code. Mind giving me the script?
use 'sound_stop(songname);' in room creation code of the menu room.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Nov 6, 2015 @ 8:01pm
Posts: 10