SlideShare a Scribd company logo
1 of 5
BenAtherton
Programming sounds into my game
To programme sounds into my game first I went into game maker and right click on the
sounds folder and clicked create sound
Doing this opens a window in which I name my sound the first sound I will be making is the
jump sound so I named it accordingly
I then clicked the folder next to the name and went and found my jump sound
BenAtherton
I then double clicked the jump sound and went back to the main sound window I decided to
keep the audio uncompressed as this is better for performance and the game is only small
so the extra size shouldn’t matter too much I then pressed ok and the sound was added into
my sound library
Next to add this into the game I had to go into my player object and went to the press space
event this as this is where the player jumps I then added in the play sound option from the
side panel under main 1 and it gives me the below menu
For this menu all I need to do is select the jump sound that I had just added and because
this is a sound that should only play once and then stop I chose for the loop to be on false so
BenAtherton
once it’s played it won’t play again unless space is pressed I then pressed okay and went in
game to test if my sound worked I pressed space and the sound played as my character
jumped meaning that it worked
Next I added in the sound for where the player kills an enemy to do this I added the sound
in the same way I did before and this time went into the enemy code and went onto the
collision with player event and added in the sound exactly the same as before making it not
loop as the enemy should only make a death sound once
Next I wanted to add in music so I added the music sound in the same way as previously
however I needed to make a new object for this as this needs to be persistent within the
game so I created a new object called systemand added a create event that played the
sound and this time I put the sound on loop as this is music so I don’t want it to just abruptly
end while someone is playing the game
I then went into the room for my game and added in the system in the corner this means
BenAtherton
that as long as this object exists within the room the sound will play and because there is no
way for the object to be destroyed the music will always play as long as the player has been
within this room
Next I moved on to doing the menu sounds I started with the sound for when the play game
button was pressed so I added the sound as shown previously and then went into the object
for the play game text and added playing the sound onto the event that takes you to the
next room
So now when the button is pressed it will play a sound and send you to the next room
BenAtherton
Finally I added in the menu music I added this onto the play game object as this object was
always going to be persistent within the menu to do this I added a create event and put to
play the menu sound onto the create event and put it on loop so that it constantly plays the
music I then added a piece of sound to stop this sound when the button is pressed so that
two pieces of music weren’t playing as the same time as sounds will carry over through
rooms unless you tell them otherwise
After that all my sounds had been added into my game I played the game to test if they all
worked and they did so I knew there was no need to go back and change anything and the
task had been completed

More Related Content

What's hot

Audience Questionnaire
Audience QuestionnaireAudience Questionnaire
Audience Questionnairefayerrs-x
 
Production reflection (powerpoint 2007)
Production reflection (powerpoint 2007)Production reflection (powerpoint 2007)
Production reflection (powerpoint 2007)sean cawood
 
A Tell Tale Heart Charlotte Pay
A Tell Tale Heart Charlotte PayA Tell Tale Heart Charlotte Pay
A Tell Tale Heart Charlotte Paycpay1
 
Trailer storyboard.
Trailer storyboard.Trailer storyboard.
Trailer storyboard.cansu12
 
Promotional video diary
Promotional video diaryPromotional video diary
Promotional video diarytrewallacetre
 
Thriller music analysis
Thriller music analysisThriller music analysis
Thriller music analysisKirsty98
 
The binary tape script
The binary tape scriptThe binary tape script
The binary tape scriptChaz212
 
As media film opening script updated
As media film opening  script updatedAs media film opening  script updated
As media film opening script updatedpenfolde
 

What's hot (11)

Audience Questionnaire
Audience QuestionnaireAudience Questionnaire
Audience Questionnaire
 
Production reflection (powerpoint 2007)
Production reflection (powerpoint 2007)Production reflection (powerpoint 2007)
Production reflection (powerpoint 2007)
 
A Tell Tale Heart Charlotte Pay
A Tell Tale Heart Charlotte PayA Tell Tale Heart Charlotte Pay
A Tell Tale Heart Charlotte Pay
 
Trailer storyboard.
Trailer storyboard.Trailer storyboard.
Trailer storyboard.
 
Promotional video diary
Promotional video diaryPromotional video diary
Promotional video diary
 
Shot List
Shot ListShot List
Shot List
 
Thriller music analysis
Thriller music analysisThriller music analysis
Thriller music analysis
 
The binary tape script
The binary tape scriptThe binary tape script
The binary tape script
 
Explosion3 annotations
Explosion3 annotationsExplosion3 annotations
Explosion3 annotations
 
Treatment group
Treatment groupTreatment group
Treatment group
 
As media film opening script updated
As media film opening  script updatedAs media film opening  script updated
As media film opening script updated
 

Viewers also liked

Sound recording glossary improved
Sound recording glossary improvedSound recording glossary improved
Sound recording glossary improvedBen Atherton
 
Metalpocolypse final draft
Metalpocolypse final draftMetalpocolypse final draft
Metalpocolypse final draftBen Atherton
 
Group presentation bce kd ba mh updated
Group presentation bce kd ba mh updatedGroup presentation bce kd ba mh updated
Group presentation bce kd ba mh updatedBen Atherton
 
Metalpocolypse 2nd draft
Metalpocolypse 2nd draftMetalpocolypse 2nd draft
Metalpocolypse 2nd draftBen Atherton
 
_ ig2 game audio cut sequence production_2014 to 2015
    _ ig2 game audio cut sequence production_2014 to 2015    _ ig2 game audio cut sequence production_2014 to 2015
_ ig2 game audio cut sequence production_2014 to 2015Ben Atherton
 
ზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკიზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკიBadri Gogia
 
ალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდეალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდეBadri Gogia
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossaryBen Atherton
 
Design of octagon shape microstrip patch antenna for multiband application
Design of octagon shape microstrip patch antenna for multiband applicationDesign of octagon shape microstrip patch antenna for multiband application
Design of octagon shape microstrip patch antenna for multiband applicationvishant choudhary
 
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο ΚορωπίουΕνδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου2gymkoroarxaia
 
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...vishant choudhary
 

Viewers also liked (12)

Sound recording glossary improved
Sound recording glossary improvedSound recording glossary improved
Sound recording glossary improved
 
Metalpocolypse final draft
Metalpocolypse final draftMetalpocolypse final draft
Metalpocolypse final draft
 
Group presentation bce kd ba mh updated
Group presentation bce kd ba mh updatedGroup presentation bce kd ba mh updated
Group presentation bce kd ba mh updated
 
Metalpocolypse 2nd draft
Metalpocolypse 2nd draftMetalpocolypse 2nd draft
Metalpocolypse 2nd draft
 
_ ig2 game audio cut sequence production_2014 to 2015
    _ ig2 game audio cut sequence production_2014 to 2015    _ ig2 game audio cut sequence production_2014 to 2015
_ ig2 game audio cut sequence production_2014 to 2015
 
ზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკიზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკი
 
Unit 73 Task 2
Unit 73 Task 2 Unit 73 Task 2
Unit 73 Task 2
 
ალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდეალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდე
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossary
 
Design of octagon shape microstrip patch antenna for multiband application
Design of octagon shape microstrip patch antenna for multiband applicationDesign of octagon shape microstrip patch antenna for multiband application
Design of octagon shape microstrip patch antenna for multiband application
 
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο ΚορωπίουΕνδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου
Ενδυμασία των Αρχαίων Ελλήνων - Εργασίες Α' Γυμνασίου - 2ο Γυμνάσιο Κορωπίου
 
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...
Design, Fabrication and Testing of Octagon Shape of Microstrip Patch Antenna ...
 

Similar to Program sounds into game maker game

Evidence of Programming Sounds into 2D Games
Evidence of Programming Sounds into 2D GamesEvidence of Programming Sounds into 2D Games
Evidence of Programming Sounds into 2D Gamescassie_coyne
 
Programming Sound Into 2D Game
Programming Sound Into 2D GameProgramming Sound Into 2D Game
Programming Sound Into 2D Gamecassie_coyne
 
Evidence of Programming Sound into a 2D Game
Evidence of Programming Sound into a 2D GameEvidence of Programming Sound into a 2D Game
Evidence of Programming Sound into a 2D Gamecassie_coyne
 
Iain game maker
Iain game makerIain game maker
Iain game makerterry96
 
Iain game maker
Iain game makerIain game maker
Iain game makerterry96
 
IG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSIG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSElliotBlack
 
Edited annotationss
Edited annotationssEdited annotationss
Edited annotationssElliotBlack
 
Unit 73- Criteria 4: Programming Sounds Into a Video Game.
Unit 73- Criteria 4: Programming Sounds Into a Video Game.Unit 73- Criteria 4: Programming Sounds Into a Video Game.
Unit 73- Criteria 4: Programming Sounds Into a Video Game.ConnahTilley
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotationamybrockbank
 
Production reflection - FMP
Production reflection - FMPProduction reflection - FMP
Production reflection - FMPJoyLucyBuck
 
Game maker sound annotations
Game maker sound annotationsGame maker sound annotations
Game maker sound annotationsthomasmcd6
 
7. production reflection
7. production reflection7. production reflection
7. production reflectionrachel haw
 
Step by step Game Maker
Step by step Game MakerStep by step Game Maker
Step by step Game Makerwarburton9191
 
Sound game maker explanations
Sound game maker explanationsSound game maker explanations
Sound game maker explanationseduriez
 

Similar to Program sounds into game maker game (20)

Evidence of Programming Sounds into 2D Games
Evidence of Programming Sounds into 2D GamesEvidence of Programming Sounds into 2D Games
Evidence of Programming Sounds into 2D Games
 
Programming Sound Into 2D Game
Programming Sound Into 2D GameProgramming Sound Into 2D Game
Programming Sound Into 2D Game
 
Evidence of Programming Sound into a 2D Game
Evidence of Programming Sound into a 2D GameEvidence of Programming Sound into a 2D Game
Evidence of Programming Sound into a 2D Game
 
Iain game maker
Iain game makerIain game maker
Iain game maker
 
Iain game maker
Iain game makerIain game maker
Iain game maker
 
IG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSIG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONS
 
Edited annotationss
Edited annotationssEdited annotationss
Edited annotationss
 
Unit 73- Criteria 4: Programming Sounds Into a Video Game.
Unit 73- Criteria 4: Programming Sounds Into a Video Game.Unit 73- Criteria 4: Programming Sounds Into a Video Game.
Unit 73- Criteria 4: Programming Sounds Into a Video Game.
 
Task 2 IG3
Task 2 IG3Task 2 IG3
Task 2 IG3
 
Task 2 IG3
Task 2 IG3Task 2 IG3
Task 2 IG3
 
IG3 task 2
IG3 task 2IG3 task 2
IG3 task 2
 
Game Maker images
Game Maker imagesGame Maker images
Game Maker images
 
Reviwe
ReviweReviwe
Reviwe
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotation
 
Production reflection - FMP
Production reflection - FMPProduction reflection - FMP
Production reflection - FMP
 
Game maker sound annotations
Game maker sound annotationsGame maker sound annotations
Game maker sound annotations
 
7. production reflection
7. production reflection7. production reflection
7. production reflection
 
Step by step Game Maker
Step by step Game MakerStep by step Game Maker
Step by step Game Maker
 
IG3 Task 2
IG3 Task 2IG3 Task 2
IG3 Task 2
 
Sound game maker explanations
Sound game maker explanationsSound game maker explanations
Sound game maker explanations
 

More from Ben Atherton

More from Ben Atherton (9)

Vst produced sound effects
Vst produced sound effectsVst produced sound effects
Vst produced sound effects
 
Effects
EffectsEffects
Effects
 
Pitch and rate
Pitch and ratePitch and rate
Pitch and rate
 
Pitch and rate
Pitch and ratePitch and rate
Pitch and rate
 
Q card's
Q card'sQ card's
Q card's
 
Pitch script
Pitch scriptPitch script
Pitch script
 
Ben A Task 7- Volume and pan
Ben A Task 7- Volume and panBen A Task 7- Volume and pan
Ben A Task 7- Volume and pan
 
Ben A Task 7- Sound sequencing
Ben A Task 7- Sound sequencingBen A Task 7- Sound sequencing
Ben A Task 7- Sound sequencing
 
Ben Atherton Cv
Ben Atherton CvBen Atherton Cv
Ben Atherton Cv
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Program sounds into game maker game

  • 1. BenAtherton Programming sounds into my game To programme sounds into my game first I went into game maker and right click on the sounds folder and clicked create sound Doing this opens a window in which I name my sound the first sound I will be making is the jump sound so I named it accordingly I then clicked the folder next to the name and went and found my jump sound
  • 2. BenAtherton I then double clicked the jump sound and went back to the main sound window I decided to keep the audio uncompressed as this is better for performance and the game is only small so the extra size shouldn’t matter too much I then pressed ok and the sound was added into my sound library Next to add this into the game I had to go into my player object and went to the press space event this as this is where the player jumps I then added in the play sound option from the side panel under main 1 and it gives me the below menu For this menu all I need to do is select the jump sound that I had just added and because this is a sound that should only play once and then stop I chose for the loop to be on false so
  • 3. BenAtherton once it’s played it won’t play again unless space is pressed I then pressed okay and went in game to test if my sound worked I pressed space and the sound played as my character jumped meaning that it worked Next I added in the sound for where the player kills an enemy to do this I added the sound in the same way I did before and this time went into the enemy code and went onto the collision with player event and added in the sound exactly the same as before making it not loop as the enemy should only make a death sound once Next I wanted to add in music so I added the music sound in the same way as previously however I needed to make a new object for this as this needs to be persistent within the game so I created a new object called systemand added a create event that played the sound and this time I put the sound on loop as this is music so I don’t want it to just abruptly end while someone is playing the game I then went into the room for my game and added in the system in the corner this means
  • 4. BenAtherton that as long as this object exists within the room the sound will play and because there is no way for the object to be destroyed the music will always play as long as the player has been within this room Next I moved on to doing the menu sounds I started with the sound for when the play game button was pressed so I added the sound as shown previously and then went into the object for the play game text and added playing the sound onto the event that takes you to the next room So now when the button is pressed it will play a sound and send you to the next room
  • 5. BenAtherton Finally I added in the menu music I added this onto the play game object as this object was always going to be persistent within the menu to do this I added a create event and put to play the menu sound onto the create event and put it on loop so that it constantly plays the music I then added a piece of sound to stop this sound when the button is pressed so that two pieces of music weren’t playing as the same time as sounds will carry over through rooms unless you tell them otherwise After that all my sounds had been added into my game I played the game to test if they all worked and they did so I knew there was no need to go back and change anything and the task had been completed