capalmer1013 / 2d-survival

2 stars 3 forks source link

Add the other 4 squares for collision detection nearby objects #28

Closed capalmer1013 closed 2 years ago

capalmer1013 commented 2 years ago

Collision detection currently looks for the squares above, below, left, and right of objects. It should be expanded to include the 4 additional squares on the diagonals.