Upload
bencom1
View
19
Download
0
Tags:
Embed Size (px)
Citation preview
Programming sounds into my game
Player Projectile
First I have to open GameMaker. Go to sounds, right click and press Create sound.
This then opens the sound properties window. Then I have to click load sound.
This then opens my documents where I can select a sound. Then click open.
i
I then clicked on objects on the side tab bar and right clicked on player projectile and this opens the object properties window.
Then click on movement and sound code under action which opens the event window. I input the code audio_play_sound (arcade_gun,1,false);.
Enemy projectile
First I have to open GameMaker. Go to sounds, right click and press Create sound.
This then opens the sound properties window. Then I have to click load sound.
This then opens my documents where I can select a sound. Then click open.
I then clicked on objects on the side tab bar and right clicked on enemy projectile and this opens the object properties window.
Then click on move toward player code under action which opens the event window. I input the code audio_play_sound (gunshot,1,false);.
Background Music
First I have to open GameMaker. Go to sounds, right click and press Create sound.
This then opens the sound properties window. Then I have to click load sound.
This then opens my documents where I can select a sound. Then click open.
I then went to the objects tab and selected system. This opened the object properties window where I clicked on play music.