View Single Post
Old 03 June 2018, 22:02   #28
Shatterhand
Warhasneverbeensomuchfun

Shatterhand's Avatar
 
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 35
Posts: 2,957
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.04003 seconds with 11 queries