Object Interaction - How to Make a 2D Game in Java #8

Channel:
Subscribers:
27,900
Published on ● Video Link: https://www.youtube.com/watch?v=srvDSypsJL0



Category:
Tutorial
Duration: 23:49
20,786 views
502


In this video, we will implement object collision and make them interactive so player can pick them up or expect some reactions.

If you have any questions, feel free to leave a comment.

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.

Thanks for watching.

Timestamps:
0:00 Preparation
4:12 Check object collision
10:08 Intersects method
13:08 Call check object method
14:15 First result
15:29 Get object index
17:34 Pickup object
22:12 Final result

#javagamedevelopment #java2d #javagametutorial







Tags:
#javatopdown2d #buildgameinjava #java2dgame #java2dtilegame