Hi, I'm just starting out with Android and I've been playing around with graphics and gestures and stuff but now I'm trying to get col detection working but I'm having trouble.
I figured i'd start with basic bounding box collision detection using Rect.intersects(rect, rect).
Here's my method. GraphicObject is a class I defined that stores the bitmap, coordinates, speed etc.
I'm using a normal for loop to iterate through my ArrayList as I'm storing the position of each GraphicObject in
two other lists.
When I run the game it run's as it did before I implemented the collision detection, it seems to have no effect. I've made sure it's being called from the main loop (obviously ). I'm not really sure what the problem is, theres no compile-time or run-time errors or exceptions being thrown. It just doesn't work.
Any help is greatly appreciated