devember 23rd — lethal aggression
Coding on the train to yule.
If an actor’s health is reduced below 0 it goes to limbo (and gets garbage collected). Also added a basic message console.
Next related
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.
Previous related
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.
devember 20th — curious and cowardly mobs
Autonomous mobs can roam the lands, and become curious or scared of the player. Perhaps even aggressive, in a near future?