Common Computer Science References
At the end of this lesson, you will be able to:
add sound to your game on a GameBoy
preventing a sprite from moving off the screen
watch video below
this GitHub repo (https://github.com/Zal0/GBSoundDemo) has a GameBoy game you can use to make sounds and get the values you need for your game
add sound when you hit the "A" button
add logic, so the sound only plays once for each time you press and then release the "A" button
not like the D-pad, where it action happened each game tick
get it running in the web simulator on the PC GameBoy emulator
This is the settings for the sound we added in this lesson
Good video but we are running our code on GitHub CodeSpace, NOT a local PC.
Also DO NOT follow his instructions for building a game.gc file, use mine.