devember 25th — brain and body
Actor behaviour needs to be more modular, and not hardcoded into the sprite node classes. Let’s try to refactor everything using an Entity–Component architecture instead. This will take a while and break everything.
Next related
devember 26th — rearchitecturing
Everything ripped apart and moved around towards the new architecture. Still more work to be done before anything works again, but hopefully it will be worth it.
Previous related
devember 23rd — lethal aggression
Coding on the train to yule.
devember 22nd — eightway movement
Movement has been extended from four to eight directions. Everything feels much smoother that way. WASD is still bound to N-W-S-E. Maybe rotate WASD to NW-SW-SE-NE and extend with QEZX for W-N-S-E?
devember 21st — actors are xenophobes
An actor that tries to step into a tile where an actor of a different class resides, will attack instead of moving. Actors will remember the last aggressor and (autonomous actors) will try hunt them down.