[edit] Gah. I meant CollideRect! Must stop posting at 1am!
Hello.
First, sorry I can't post any code as its all kind of mashed up in the rest of my game code, so I'll just ask a quick question.
Basically I'm using CollideRect on my game front-end to handle option clicks. In the game I'm using CollideImage to check for mouse clicks on game graphics.
The trouble is, when I return to the front-end and begin using CollideRect again, it is adding to the collision layer the image I was using previously (a hexagonal shape).
I've written a little routine to take a 'screenshot' of my collision layer, created with CollideRect. You can see from the shot below that it is actually stamping down elongated hexagons. This is wrong. CollideRect should *always* draw rectangles, right?!

This is what the collision layer looks like, using the exact same code. Only difference is that CollideImage has *not* been used previously.
Hello.
First, sorry I can't post any code as its all kind of mashed up in the rest of my game code, so I'll just ask a quick question.
Basically I'm using CollideRect on my game front-end to handle option clicks. In the game I'm using CollideImage to check for mouse clicks on game graphics.
The trouble is, when I return to the front-end and begin using CollideRect again, it is adding to the collision layer the image I was using previously (a hexagonal shape).
I've written a little routine to take a 'screenshot' of my collision layer, created with CollideRect. You can see from the shot below that it is actually stamping down elongated hexagons. This is wrong. CollideRect should *always* draw rectangles, right?!

This is what the collision layer looks like, using the exact same code. Only difference is that CollideImage has *not* been used previously.