i've been thinking about some of the finer technical details of combat. i think projectiles can effectively be broken up into just hitboxes and hitscans. a sword slash or a slow moving bullet would feature their own moving colliders, but a hitscan would just perform a sweep that instantly calculates a hit.

of course, i want to keep the data that projectiles provide consistent, and it should probably remember things like the location of the hit on the enemy, the direction of the projectile, what different parts of the enemy it hit...

i'm thinking about how to write all of this in a way that can use classes to organize it tightly and still make sense. i need to genericize the problem and create some kind of base class, probably. good ideas for tomorrow as i get time again.

daily creative

work on something (gamedev, art, 3d modeling, music, ...) every day

joined 1,578 days ago

2024-04
2024-03
2024-02
2024-01
2023-12

Decade Jam

To help keep members of the Decade Jam on track with their projects!

joined 1,100 days ago