In this video, we add sound effects using a simple wrapper class. This will allow us to easily load sound effects, and only ever load them once (thus reusing them if we've already loaded them). I hope this class is beneficial for your game.
This is part of a series where we create an adventure game in Python and Pygame.
Full Adventure Game in Pygame Playlist:
• Pygame - Adventure Game
Starting Code (Code from Previous Video):
https://github.com/AlexanderFarrell/a...
Completed Source Code:
https://github.com/AlexanderFarrell/a...
Download Sound Effects from Pixabay:
https://pixabay.com/sound-effects/
Image Credit & Downloads:
sword1.mp3:
https://pixabay.com/sound-effects/swo...
chop_tree.mp3 and mine_rock.mp3:
https://pixabay.com/sound-effects/cho...
pick_up.mp3:
https://pixabay.com/sound-effects/ite...
Timestamps:
00:00 - Introduction 👋
01:25 - Credit 🙂
01:57 - Get Started 🍃
02:07 - Reusable Sound Class 🔊
04:41 - Play Sound on Picking Up an Item 👜
05:11 - Test 1 🧪
05:20 - Chop & Mine Sound 🌴🪨
06:47 - Test 2 🧪
07:22 - Combat Sounds ⚔
09:20 - Test 3 🧪
09:43 - Bug Fixes from Last Video 🐛
11:32 - Test 4 🧪
11:44 - Conclusion and Thank you 🙂