Hi,
I believe there is a bug in GetSpriteCollision which reports a collision on two rectangles at the wrong point.
I have two sprites 32 x 32 pixels in size.
Sprite1 : X = 96, Y = 256, W = 32, H = 32
Sprite2: X = 128, Y = 256, W = 32, H = 32
Get Sprite Collision Reports a hit.
I think what is happening is that the check take the X and adds the width of sprite (96 + 32) = 128
However the bounding rectangle of the sprite actually occupies 96 -> 127 Pixels as the origin pixel counts at point 0. As a result I get false positive hits when two rectangles are next to each other (physically) but not actually touching.
[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]