Dev Diary, Number 2
Spent today setting up some structure. I've established separate files for
targets, structures, and scenarios.
For targets, I've added a module ("Targets"), and then another module for shared
actions of all targets ("Actions), which each target class can then include.
This includes things like investigating, saying something (which I'm calling
barking), moving, and the like. The Actions module will eventually likely
include all the target AI, but I'm working on the simplier parts first.
I took a similar approach with the structures and scenarios modules. Each
include some shared methods or values, and then dedicated classes for each of
the unique bits.
Unfortunately, much of this reorganization was, likely, a procrastination trap.
The other notable thing I finished today was implementing message display tied
to the sprites. For now, I'm using simple grey squares, and when appropriate, a
message will appear slightly "north-east" of it.
I did also draw a headshot of the Groundskeeper, and I'll use it to help build
the game UI.