billyb2 / game

GNU Affero General Public License v3.0
2 stars 0 forks source link

Add custom hitboxes #30

Closed billyb2 closed 3 years ago

billyb2 commented 3 years ago

Currently, hitboxes are just bounding boxes around the sprites. This works fie for now, but later we'll probably wan't to have tight fitting hitboxes around sprites. The thing is, the more complicated the hitbox, the higher the CPU usage.

billyb2 commented 3 years ago

To be honest, the player's hitboxes are already rectangular enough to where this is a non issue