SlideShare a Scribd company logo
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 Questionnaire
fayerrs-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 Pay
cpay1
 
Trailer storyboard.
Trailer storyboard.Trailer storyboard.
Trailer storyboard.
cansu12
 
Promotional video diary
Promotional video diaryPromotional video diary
Promotional video diary
trewallacetre
 
Shot List
Shot ListShot List
Shot List
holliemorriss
 
Thriller music analysis
Thriller music analysisThriller music analysis
Thriller music analysis
Kirsty98
 
The binary tape script
The binary tape scriptThe binary tape script
The binary tape script
Chaz212
 
Explosion3 annotations
Explosion3 annotationsExplosion3 annotations
Explosion3 annotations
CameronMcRae901
 
Treatment group
Treatment groupTreatment group
Treatment group
Oliver Christensen
 
As media film opening script updated
As media film opening  script updatedAs media film opening  script updated
As media film opening script updated
penfolde
 

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 improved
Ben Atherton
 
Metalpocolypse final draft
Metalpocolypse final draftMetalpocolypse final draft
Metalpocolypse final draft
Ben 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 updated
Ben Atherton
 
Metalpocolypse 2nd draft
Metalpocolypse 2nd draftMetalpocolypse 2nd draft
Metalpocolypse 2nd draft
Ben 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 2015
Ben Atherton
 
ზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკიზაიონის ეროვნული პარკი
ზაიონის ეროვნული პარკი
Badri Gogia
 
Unit 73 Task 2
Unit 73 Task 2 Unit 73 Task 2
Unit 73 Task 2
Ben Atherton
 
ალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდეალმასები: წარმოშობიდან რეალიზაციამდე
ალმასები: წარმოშობიდან რეალიზაციამდე
Badri Gogia
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossary
Ben 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 application
vishant 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 Programming sounds into my 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 Games
cassie_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 Game
cassie_coyne
 
Programming Sound Into 2D Game
Programming Sound Into 2D GameProgramming Sound Into 2D Game
Programming Sound Into 2D Game
cassie_coyne
 
Iain game maker
Iain game makerIain game maker
Iain game maker
terry96
 
Iain game maker
Iain game makerIain game maker
Iain game maker
terry96
 
IG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSIG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONS
ElliotBlack
 
Edited annotationss
Edited annotationssEdited annotationss
Edited annotationss
ElliotBlack
 
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
 
Task 2 IG3
Task 2 IG3Task 2 IG3
Task 2 IG3
hajohnson90
 
Task 2 IG3
Task 2 IG3Task 2 IG3
Task 2 IG3
hajohnson90
 
IG3 task 2
IG3 task 2IG3 task 2
IG3 task 2
bowes96123
 
Game Maker images
Game Maker imagesGame Maker images
Game Maker images
Stuart_Preston
 
Reviwe
ReviweReviwe
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotation
amybrockbank
 
Production reflection - FMP
Production reflection - FMPProduction reflection - FMP
Production reflection - FMP
JoyLucyBuck
 
Game maker sound annotations
Game maker sound annotationsGame maker sound annotations
Game maker sound annotations
thomasmcd6
 
7. production reflection
7. production reflection7. production reflection
7. production reflection
rachel haw
 
Step by step Game Maker
Step by step Game MakerStep by step Game Maker
Step by step Game Maker
warburton9191
 
IG3 Task 2
IG3 Task 2IG3 Task 2
IG3 Task 2
LewisB2013
 
Sound game maker explanations
Sound game maker explanationsSound game maker explanations
Sound game maker explanations
eduriez
 

Similar to Programming sounds into my 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
 
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
 
Programming Sound Into 2D Game
Programming Sound Into 2D GameProgramming Sound Into 2D Game
Programming Sound Into 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

Vst produced sound effects
Vst produced sound effectsVst produced sound effects
Vst produced sound effects
Ben Atherton
 
Effects
EffectsEffects
Effects
Ben Atherton
 
Pitch and rate
Pitch and ratePitch and rate
Pitch and rate
Ben Atherton
 
Pitch and rate
Pitch and ratePitch and rate
Pitch and rate
Ben Atherton
 
Q card's
Q card'sQ card's
Q card's
Ben Atherton
 
Pitch script
Pitch scriptPitch script
Pitch script
Ben Atherton
 
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 Atherton
 
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
 
Ben Atherton Cv
Ben Atherton CvBen Atherton Cv
Ben Atherton Cv
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

Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 

Recently uploaded (20)

Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 

Programming sounds into my 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