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

Channel:
Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=nUHh_J2Acy8



Category:
Tutorial
Duration: 17:00
22,471 views
570


In this video, we will implement music and sound effect in our game. Also we will add a special item which increases the player 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 asset (images/maps/sound) that are used in this tutorial, here's the link:
https://drive.google.com/drive/folders/1OBRM8M3qCNAfJDCaldg62yFMiyFaKgYx?usp=sharing

*I'm releasing my art/music/sound effects to help your smooth learning with this series. If you wish to use them to create public content (profitable/non-profitable), please contact me via Twitter or email. Both links are in the About section of this channel. In any case, please don't re-distribute my asset (graphics/sound) and limit it to personal use.

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







Tags:
javagamedevelopment
javabuildgame
howtobuildgameinjava
java2dgame
javagametutorial
javagame
beginner