Summary
Keywords
Full Transcript
In this video, we will implement music and sound effects in our game. Also, we will add a special item that increases the player's speed. Caution: This is a tutorial for Java 2D beginners so it's pretty verbose! (and the pacing is a bit slow...) If you want to use my assets (images/maps/sound) that are used in this tutorial, here's the link: https://drive.google.com/drive/folders/1OBRM8M3qCNAfJDCaldg62yFMiyFaKgYx?usp=sharing Guidelines for using Blue Boy Adventure's code and assets: https://docs.google.com/document/d/1qcafOofpXYd_QPr95qbgfb1GYxXKgSZb/ If you have any questions, feel free to leave a comment. Thanks for watching. Timestamps: 0:00 Add a power up item 4:08 Import sound files 5:25 Create Sound class 10:30 Implement Play/Stop methods in GamePanel 13:08 Play music 14:34 Play sound effect 15:44 Final result #java2d #topdown2d #javagame #javamusic
