Learning Java: Part 27: Image/Shape Collisions/Intersections

preview_player
Показать описание

In this tutorial I will be changing the RectangleImage class to support the usage of the "intersects" and "intersection" methods. This will allow us to detect collisions between images in our application. In the real world, this can be used for games and other things that may require the interaction between objects on contact.

Thanks for watching!

Discuss this video and download the source:
Рекомендации по теме
Комментарии
Автор

When I started watching these tutorials and noticed that the publish date was early 2012 I was a little bit afraid the series would be short and outdated by now - but I am very glad you are still doing these, and doing them so awesomely; thank you.

MarcelPiskac
Автор

awesome tutorials, am quite impressed by the wall artistic picture

mattdathew
Автор

Hello, do you know why my graphics only disappear when I cast my Image img to ImageIcon icon? It is in your code line #53 and 54. Thanks

moisgobg
Автор

thank u so much please continue these tutorials

mortezafayyaz
Автор

Brandon what University do you study computer science @?

brandonjbrown
Автор

Get GIMP.. If gimp is too hard also try Paint.NET :)

Crazzehh
welcome to shbcf.ru