SlideShare a Scribd company logo
1 of 5
Luis Vazquez IG3 Assignment Task 2
Luis Vazquez IG3 Assignment Task 2
The first step I took to add a sound to a Game Maker project is to open the Resources > Create
Sound tab, which will bring up a window with an option to name the sound that I added to the
program, as well as an option to open a sound from a file to load into the project.
I then selected the option to load a sound into the project, which opens a windows explorer tab:
Luis Vazquez IG3 Assignment Task 2
Once I’ve selected the sound and named it (in this case I have loaded Retro Sound Effect 6 – Main
Menu Music and have named it Level_BG, as I intend to use it as the background music for the
game.
Luis Vazquez IG3 Assignment Task 2
Now to have the sound appear in game, I attach it to an ‘Event’ in the program logic. In this case, the
sound file is attached to an invisible object called b_sound in the create event, which causes the
music to play as soon as the object spawns in the game world, which is at the beginning of the game.
I want the background sound to play in a loop, as opposed to only occurring on one occasion at the
beginning of the game, so I set loop to ‘true’.
Luis Vazquez IG3 Assignment Task 2
Although I have chosen the background music to loop, I want it to have an end point, which in this
case is the ‘death’ of the player character when the game ends. To cause this to happen, I have
added a function to the explosion object that occurs when the player loses, which stops the
background music when it is created in the game space.

More Related Content

What's hot

Game audio 1 8 bit rpg
Game audio 1  8 bit rpgGame audio 1  8 bit rpg
Game audio 1 8 bit rpgNathan_West
 
Task 6 track 1 annotation
Task 6 track 1 annotationTask 6 track 1 annotation
Task 6 track 1 annotationGladeatorkid
 
Game audio 2 - Retro Mystery Intro
Game audio 2 - Retro Mystery IntroGame audio 2 - Retro Mystery Intro
Game audio 2 - Retro Mystery IntroNathan_West
 
Programing the sounds into my game
Programing the sounds into my gamePrograming the sounds into my game
Programing the sounds into my gamedavidhall1415
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotationamybrockbank
 
6. Production Reflection
6. Production Reflection6. Production Reflection
6. Production ReflectionSpencerFox5
 
Cd vst effects manipulation 5 annotation
Cd vst effects manipulation 5 annotationCd vst effects manipulation 5 annotation
Cd vst effects manipulation 5 annotationDeightonater
 
Ig1 task 2 analysis work sheet (2)
Ig1 task 2 analysis work sheet (2)Ig1 task 2 analysis work sheet (2)
Ig1 task 2 analysis work sheet (2)Luke Summers
 
Annotated screenshots game maker
Annotated screenshots game makerAnnotated screenshots game maker
Annotated screenshots game makercopelandadam
 
Sounds genarateing 2
Sounds genarateing 2Sounds genarateing 2
Sounds genarateing 2Mrrrjones
 
Soundtrack printscreens for annotation shootout in mall
Soundtrack printscreens for annotation shootout in mallSoundtrack printscreens for annotation shootout in mall
Soundtrack printscreens for annotation shootout in mallIrrealimagensuk
 

What's hot (20)

Game audio 1 8 bit rpg
Game audio 1  8 bit rpgGame audio 1  8 bit rpg
Game audio 1 8 bit rpg
 
Task 6 track 1 annotation
Task 6 track 1 annotationTask 6 track 1 annotation
Task 6 track 1 annotation
 
IG3 task 2
IG3 task 2IG3 task 2
IG3 task 2
 
Task 2 part 3
Task 2 part 3Task 2 part 3
Task 2 part 3
 
Game audio 2 - Retro Mystery Intro
Game audio 2 - Retro Mystery IntroGame audio 2 - Retro Mystery Intro
Game audio 2 - Retro Mystery Intro
 
Programing the sounds into my game
Programing the sounds into my gamePrograming the sounds into my game
Programing the sounds into my game
 
Programming sounds into my game annotation
Programming sounds into my game annotationProgramming sounds into my game annotation
Programming sounds into my game annotation
 
Grandpas Dream
Grandpas Dream Grandpas Dream
Grandpas Dream
 
Apps for Jazzers
Apps for JazzersApps for Jazzers
Apps for Jazzers
 
Wind
WindWind
Wind
 
6. Production Reflection
6. Production Reflection6. Production Reflection
6. Production Reflection
 
Cd vst effects manipulation 5 annotation
Cd vst effects manipulation 5 annotationCd vst effects manipulation 5 annotation
Cd vst effects manipulation 5 annotation
 
Ig1 task 2 analysis work sheet (2)
Ig1 task 2 analysis work sheet (2)Ig1 task 2 analysis work sheet (2)
Ig1 task 2 analysis work sheet (2)
 
Table sonic unleashed 2
Table   sonic unleashed 2Table   sonic unleashed 2
Table sonic unleashed 2
 
Annotated screenshots game maker
Annotated screenshots game makerAnnotated screenshots game maker
Annotated screenshots game maker
 
Corridor 2nd edit
Corridor 2nd editCorridor 2nd edit
Corridor 2nd edit
 
Sounds genarateing 2
Sounds genarateing 2Sounds genarateing 2
Sounds genarateing 2
 
Soundtrack printscreens for annotation shootout in mall
Soundtrack printscreens for annotation shootout in mallSoundtrack printscreens for annotation shootout in mall
Soundtrack printscreens for annotation shootout in mall
 
Last of us
Last of usLast of us
Last of us
 
Digital Resources
Digital ResourcesDigital Resources
Digital Resources
 

Viewers also liked

Drafts of my music magazine
Drafts of my music magazineDrafts of my music magazine
Drafts of my music magazinerebeccabailey1
 
Preperation Audience Research
Preperation Audience ResearchPreperation Audience Research
Preperation Audience Researchrebeccabailey1
 
College magazine evaluation
College magazine evaluationCollege magazine evaluation
College magazine evaluationrebeccabailey1
 
_ig5 assignment final major project 2014 to 2015
    _ig5 assignment final major project 2014 to 2015    _ig5 assignment final major project 2014 to 2015
_ig5 assignment final major project 2014 to 2015luisfvazquez1
 
Who would be the audience for your media product?
Who would be the audience for your media product? Who would be the audience for your media product?
Who would be the audience for your media product? rebeccabailey1
 
Environment modelling
Environment modellingEnvironment modelling
Environment modellingluisfvazquez1
 
Creative production brief types
Creative production brief typesCreative production brief types
Creative production brief typesluisfvazquez1
 
Drafts of my music magazine
Drafts of my music magazineDrafts of my music magazine
Drafts of my music magazinerebeccabailey1
 
Environment presentation
Environment presentationEnvironment presentation
Environment presentationluisfvazquez1
 
Environment construction
Environment constructionEnvironment construction
Environment constructionluisfvazquez1
 
Conventions of a Music Magazine
Conventions of a Music MagazineConventions of a Music Magazine
Conventions of a Music Magazinerebeccabailey1
 
Gta v research results and analysis
Gta v research results and analysisGta v research results and analysis
Gta v research results and analysisluisfvazquez1
 

Viewers also liked (17)

Drafts of my music magazine
Drafts of my music magazineDrafts of my music magazine
Drafts of my music magazine
 
Preperation Audience Research
Preperation Audience ResearchPreperation Audience Research
Preperation Audience Research
 
College magazine evaluation
College magazine evaluationCollege magazine evaluation
College magazine evaluation
 
_ig5 assignment final major project 2014 to 2015
    _ig5 assignment final major project 2014 to 2015    _ig5 assignment final major project 2014 to 2015
_ig5 assignment final major project 2014 to 2015
 
3d game engine
3d game engine3d game engine
3d game engine
 
Who would be the audience for your media product?
Who would be the audience for your media product? Who would be the audience for your media product?
Who would be the audience for your media product?
 
Question 1
Question 1Question 1
Question 1
 
Question 1
Question 1Question 1
Question 1
 
Environment modelling
Environment modellingEnvironment modelling
Environment modelling
 
Question 5
Question 5Question 5
Question 5
 
Creative production brief types
Creative production brief typesCreative production brief types
Creative production brief types
 
Drafts of my music magazine
Drafts of my music magazineDrafts of my music magazine
Drafts of my music magazine
 
Environment presentation
Environment presentationEnvironment presentation
Environment presentation
 
Production log
Production logProduction log
Production log
 
Environment construction
Environment constructionEnvironment construction
Environment construction
 
Conventions of a Music Magazine
Conventions of a Music MagazineConventions of a Music Magazine
Conventions of a Music Magazine
 
Gta v research results and analysis
Gta v research results and analysisGta v research results and analysis
Gta v research results and analysis
 

Similar to Ig3 task 2 annotation

IG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSIG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSElliotBlack
 
Edited annotationss
Edited annotationssEdited annotationss
Edited annotationssElliotBlack
 
Sound game maker explanations
Sound game maker explanationsSound game maker explanations
Sound game maker explanationseduriez
 

Similar to Ig3 task 2 annotation (8)

IG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONSIG3 PROGRAMMING ANNOTATIONS
IG3 PROGRAMMING ANNOTATIONS
 
Edited annotationss
Edited annotationssEdited annotationss
Edited annotationss
 
Sound game maker explanations
Sound game maker explanationsSound game maker explanations
Sound game maker explanations
 
Ig3 task 2
Ig3 task 2Ig3 task 2
Ig3 task 2
 
IG3 Task 2
IG3 Task 2IG3 Task 2
IG3 Task 2
 
Adam hughes ig3 annotations
Adam hughes ig3 annotationsAdam hughes ig3 annotations
Adam hughes ig3 annotations
 
Documentgame
DocumentgameDocumentgame
Documentgame
 
Game screenshots
Game screenshotsGame screenshots
Game screenshots
 

More from luisfvazquez1

Unit 67 3 d animation production log
Unit 67 3 d animation production logUnit 67 3 d animation production log
Unit 67 3 d animation production logluisfvazquez1
 
Creative brief example art project
Creative brief example   art projectCreative brief example   art project
Creative brief example art projectluisfvazquez1
 
Creative brief example study
Creative brief example   studyCreative brief example   study
Creative brief example studyluisfvazquez1
 
Creative brief example advertising
Creative brief example   advertisingCreative brief example   advertising
Creative brief example advertisingluisfvazquez1
 
Luis vazquez final major project production diary
Luis vazquez final major project production diaryLuis vazquez final major project production diary
Luis vazquez final major project production diaryluisfvazquez1
 
Ideas generation 3 d animation
Ideas generation   3 d animationIdeas generation   3 d animation
Ideas generation 3 d animationluisfvazquez1
 
Ideas generation 3 d animation
Ideas generation   3 d animationIdeas generation   3 d animation
Ideas generation 3 d animationluisfvazquez1
 
L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02luisfvazquez1
 
L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02luisfvazquez1
 

More from luisfvazquez1 (20)

Unit 67 3 d animation production log
Unit 67 3 d animation production logUnit 67 3 d animation production log
Unit 67 3 d animation production log
 
Creative brief example art project
Creative brief example   art projectCreative brief example   art project
Creative brief example art project
 
Creative brief example study
Creative brief example   studyCreative brief example   study
Creative brief example study
 
Creative brief example advertising
Creative brief example   advertisingCreative brief example   advertising
Creative brief example advertising
 
Luis vazquez final major project production diary
Luis vazquez final major project production diaryLuis vazquez final major project production diary
Luis vazquez final major project production diary
 
Production log
Production logProduction log
Production log
 
Schedule
ScheduleSchedule
Schedule
 
Schedule image
Schedule imageSchedule image
Schedule image
 
Ideas generation 3 d animation
Ideas generation   3 d animationIdeas generation   3 d animation
Ideas generation 3 d animation
 
Ideas generation 3 d animation
Ideas generation   3 d animationIdeas generation   3 d animation
Ideas generation 3 d animation
 
Schedule image
Schedule imageSchedule image
Schedule image
 
L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02
 
Schedule image
Schedule imageSchedule image
Schedule image
 
L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02L3 gd ha12_marionette_210215_02
L3 gd ha12_marionette_210215_02
 
Schedule image
Schedule imageSchedule image
Schedule image
 
Schedule image
Schedule imageSchedule image
Schedule image
 
Schedule image
Schedule imageSchedule image
Schedule image
 
Schedule image
Schedule imageSchedule image
Schedule image
 
Model exporting
Model exportingModel exporting
Model exporting
 
Project pitch
Project pitchProject pitch
Project pitch
 

Recently uploaded

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Ig3 task 2 annotation

  • 1. Luis Vazquez IG3 Assignment Task 2
  • 2. Luis Vazquez IG3 Assignment Task 2 The first step I took to add a sound to a Game Maker project is to open the Resources > Create Sound tab, which will bring up a window with an option to name the sound that I added to the program, as well as an option to open a sound from a file to load into the project. I then selected the option to load a sound into the project, which opens a windows explorer tab:
  • 3. Luis Vazquez IG3 Assignment Task 2 Once I’ve selected the sound and named it (in this case I have loaded Retro Sound Effect 6 – Main Menu Music and have named it Level_BG, as I intend to use it as the background music for the game.
  • 4. Luis Vazquez IG3 Assignment Task 2 Now to have the sound appear in game, I attach it to an ‘Event’ in the program logic. In this case, the sound file is attached to an invisible object called b_sound in the create event, which causes the music to play as soon as the object spawns in the game world, which is at the beginning of the game. I want the background sound to play in a loop, as opposed to only occurring on one occasion at the beginning of the game, so I set loop to ‘true’.
  • 5. Luis Vazquez IG3 Assignment Task 2 Although I have chosen the background music to loop, I want it to have an end point, which in this case is the ‘death’ of the player character when the game ends. To cause this to happen, I have added a function to the explosion object that occurs when the player loses, which stops the background music when it is created in the game space.