Join Nostr
2024-11-26 15:46:01 UTC

Chris Ammerman on Nostr: I stayed up too late last night working on the player motion and attack mechanics in ...

I stayed up too late last night working on the player motion and attack mechanics in my #IndieDev #gamedev project.

I made a mess of things a while back when I decided I was tired of my Player class being a "god object", and started to modularize things. It took a lot of work but gravity, motion, jumping, attacking, etc., are all modular now and reusable for NPCs.