YouTube doesn't want you know this subscribers secret
Get Free YouTube Subscribers, Views and Likes

Collision Detection - How to Make a 2D Game in Java #6

Follow
RyiSnow

In this video, we will implement collision detection so player character stops when he tries to walk through solid tiles.

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/folder...

Guidelines for using Blue Boy Adventure's code and assets:
https://docs.google.com/document/d/1q...

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

Timestamps:
0:00 Set tile collision status
1:54 Set player's solid area
7:28 Set up Collision Checker
10:28 Detect collision
25:40 Final result

#javagamedevelopment #java2D #javagametutorial #javagameprogramming

posted by Bulciagoq7