Posted: 13th Nov 2011 1:54
How can I know if a specific known sprite get collide with any unknown sprite without checking the collision between the known sprite and all sprite exists in the world using the command getspritecolision() and for next stamen
Posted: 13th Nov 2011 15:57
be careful with getspritecolision() it will slow your game down if you don't use it right. It is faster to see if the sprite exist and is active before checking colision.
So I would say before checking if a sprite has colision I do the following steps.

1st. check sprite exist and active.
The first step can be easy by making a bool statement for a active sprite. Usely there is alot of clones of sprite on the screen so make an array that checks all acive sprites for the current screen.

2nd. know check colision