Page 1 of 1

More on sprites collision detection

Posted: Wed Oct 27, 2004 12:29 pm
by Psychophanta
3 things:

- A function (or modification of an existing one) to detect whether a concrete given sprite is collided with ANY other or not; if yes, then return the sprite number of the collided sprite, else return 0.

- A function (or modification of an existing one) to detect whether a concrete given position in screen (x,y) is collided with ANY sprite or not; if yes, then return the sprite number of the collided sprite, else return 0.

- More speed for SpritePixelCollision()

Posted: Wed Oct 27, 2004 12:31 pm
by Dare2
That would be nice. :)

Posted: Wed Oct 27, 2004 1:07 pm
by freedimension
IDEA

Spritegroups: Sprites in Group 1 can collide with Sprites in other groups but not with Sprites in their own group.