Most simple way to detect collisions

Thank you - Looking now

I recently did some testing with complexity n^2 … meaning each enemy is checked against each bullet.
Enemies and bullets are simple sprites using the default CloseNormal.png
Enemies and bullets were created with positions.
setPosition(rand_0_1() * 1000, rand_0_1()* 1000); //random in area of 1000*1000

results are followed

Tested the results many times. With the same conclusion.

I hope this helps.

1 Like