i searched in google for collisions in Java games without using Rectangles, because i don’t know if using Rectangles for collisions is the best(if it doesn’t affect the game performance, like a little lag in the objects before doing the collision) and i know there is a way to make collisions checking the x, y, width and height of the objects which will collide.