SDL2 Audio | Adding Sound Effects | Space Shooter Part 12
Handmade Games
In this video I quickly review how I added background music and sound effects to the space shooter game. We have unique sounds for the lasers and explosions, and a cool bg seamless track that adds some much-needed atmosphere to the game.
I've added a lot of comments to the code with explanations and links to SDL2 documentation to help you better understand how to use the Audio sub system. I think you'll agree that it isn't that difficult!
As promised, here are some useful links:
Pixabay - https://pixabay.com/sound-effects/search/game/ SDL2 and Sound Tutorial - https://www.parallelrealities.co.uk/tutorials/shooter/shooter10.php
Parallel Realities in particular has great SDL2 tutorials. As you can tell, I got the idea to create a space shooter game from them!
#gamedev #sdl2 #learntocode #codenewbie #odinlang ... https://www.youtube.com/watch?v=PGPVENJa9VE
101390076 Bytes