valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Task 11 sound in game maker files
1. Sound in Unit 70 GameMaker Project
For the GameMakerProjectwe created,soundswere incorporatedintothe game itself,astoadd
the properfeel agame shouldgive.
To start off,we had to pickthe correct and correspondingsoundsthatwouldfitforthe pieceswe
intendedthemfor,andassuch I chose a selectfew sounds,renamingthemfortheirpurposesand
placingtheminmy GameMakerfile- asshownbelow.
Withthese sounds,Ithenopened
GameMakerand my projectitself within
the GM software,and selectedthe filesthatIwantedtouse.Once done,I thenimportedtheminto
the systemthroughthe GM’s SoundUploading.
Once done,theyshowupas a menutool inthe GM mainmenu.
Once that issue wassorted,Inext,insteadof incorporating
themintoan invisible objectasso manyothershad done,
scriptedthemdirectlyintothe game itself,thereforeshowing
complexity,butalsodiversityfromothers’ solutions,in
installingsoundintothe game.
The soundsI placedintothe scriptwere usedas an
executable piece of coding,whichwouldactivate as
2. soonas the game started.Withthe executable code beingable tohappen instantaneouslyonce the
game starts, itprovidesaseamlesstransitionfrom- if youdo- deathtorevival withthe music
restartingitself justasseamless.
Thisis the finalisedcodingforthe backgroundnoisesthatwere insertedintothe game.Thoughthis
isonlythe music thatwas placedintothe
game,the principal ismuchthe same,with
each enemyandplayercharacterthat has
soundeffectstiedwiththem;below are the
correspodingpiecesof codingwithinthe
characters andtheireffectsthemselves.
On the leftisthe soundthat ishwne the playerishitwitha standard shot,and tothe rightisthe
soundof the enemyobjectbeingfired.
Thissimple principal followsthroughwith eachsoundincorporatedintoeveryobject,eachline of
codinglookingsimilar,if notnearidentical tothisone.
Each piece of codingmeansthat the soundwill playonce the enemyfiresabullet,and ,forexample,
if that bulletmisses,the soundiscontinueduntil itreachesthe endof the Room, of whichwill
destroyandrecycle saidobject. If saidobjecthitsthe player,the player’snoisewillcancel outthe
object’sone.Thismeansthatmultiple objectscanbe firedfrommultiple sourceswithout
overlappingnoises.