Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Adding sound effects and background music to a game in GameMaker
1. Programming soundsinto my game
Player Projectile
FirstI have to openGameMaker.Go to sounds,rightclickand pressCreate sound.
Thisthenopensthe soundpropertieswindow.ThenIhave toclickloadsound.
2. Thisthenopensmydocumentswhere Ican selecta sound.Thenclickopen.
i
I thenclickedonobjectsonthe side tab bar and rightclickedonplayerprojectileandthisopensthe
objectpropertieswindow.
3. Thenclickon movementandsound code underactionwhichopens the eventwindow.Iinputthe
code audio_play_sound(arcade_gun,1,false);.
Enemy projectile
FirstI have to openGameMaker.Go to sounds,rightclickand pressCreate sound.
5. I thenclickedonobjectsonthe side tab bar and rightclickedonenemyprojectile andthisopensthe
objectpropertieswindow.
Thenclickon move towardplayercode underactionwhichopensthe eventwindow.Iinputthe
code audio_play_sound(gunshot,1,false);.
6. Background Music
FirstI have to openGameMaker.Go to sounds,rightclickand pressCreate sound.
Thisthenopensthe soundpropertieswindow.ThenIhave toclickloadsound.
7. Thisthenopensmydocumentswhere Ican selecta sound.Thenclickopen.
I thenwentto the objectstaband selectedsystem.Thisopenedthe objectpropertieswindow
where Iclickedonplaymusic.
8. Thenclickon playmusiccode underaction whichopensthe eventwindow.Iinputthe code
audio_play_sound(music,1,true);.
To stop the backgroundmusicrepeatingIclickedontothe stepeventtheninactionsclickedon
destroyed. ThenIaddedthe code audio_stop_all.