View Single Post
Old 03 June 2018, 21:02   #28
Shatterhand
Warhasneverbeensomuchfun
 
Shatterhand's Avatar
 
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
Quote:
IF BulletX[N] = Ship Then Hit
You are considering collisions on 1 pixel boundaries, and that's not how it works on games. If you are going to have a hitbox it's 4 checks, not one.

And then you are considering I am testing all bullets against one single "ship", not several ones.
Shatterhand is offline  
 
Page generated in 0.04634 seconds with 11 queries