Hi,
I'm developping a game where several sprites move in the game world and they all can collide with each other.
I am wondering how much of a drag on the game it would be to use the intersect method to check for collision instead of masks.
If I use the masks, I would probably have to rebuild the main mask each frame so that the current sprite tests for collision with other sprites but not himself... So if I have 6 sprites.. this means 25 blits/frame on the main mask to build a mask where the current sprite is not there... Am seeing this problem correctly ?
Thanks !
I'm developping a game where several sprites move in the game world and they all can collide with each other.
I am wondering how much of a drag on the game it would be to use the intersect method to check for collision instead of masks.
If I use the masks, I would probably have to rebuild the main mask each frame so that the current sprite tests for collision with other sprites but not himself... So if I have 6 sprites.. this means 25 blits/frame on the main mask to build a mask where the current sprite is not there... Am seeing this problem correctly ?
Thanks !