Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Sound - How to Make a 2D Game in Java #9
Play lesson

How to Make a 2D Game in Java - Sound - How to Make a 2D Game in Java #9

5.0 (0)
8 learners

What you'll learn

This course includes

  • 26 hours of video
  • Certificate of completion
  • Access on mobile and TV

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

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere