More on sprites collision detection

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

More on sprites collision detection

Post 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()
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

That would be nice. :)
@}--`--,-- A rose by any other name ..
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

IDEA

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