I you have 4 different bullet sprites and 1 enemy sprites, does it change the performance at all if you were to have individual "on collision" checks per each sprite INSTEAD of putting all 4 bullets in a family and have 1 collision check?
It doesn't have any change in effect I don't think. I've used both of the ways you described and I didn't see any change.
ry2009 - Thanks for the response.
Ashley - can you confirm this please? I just want to make sure before I rip apart my code.
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
If Ashley is out for the weekend, you could grab one of the samples to perform tests on.
It should perform exactly the same. You could even verify this by checking the collision checks per second count is the same in the new debugger.
Thank you!