Hello! I’m relatively new to the Java scene, but I’ve studied most of the important stuff, how it works, etc. This is my first “Game”, as in with animations/sprites/what have you. I’m having a bit of trouble implementing my “kill mobs” style.
In brief, I have a “bullet” arraylist (of bullet objects, obviously), and a mob arraylist. In my “tick” method, I have iterators that are ticking and checking for collisions. The ticking works, but the collision doesn’t. Me and one of my friends have been puzzling over this the past day or 2, and we’re no closer to finding out what’s wrong. So, I thought of asking you guys for help!
Here’s the github link: https://github.com/RyanMB97/SideScroller.git and thanks in advance
P.S. The problem is in the “tick” method of “Game”.