Tuesday, August 22, 2023

Un-Rutted and Engaged

So, there's a bit of a pun in the title, as I've been rather in a rut of late, just a bit tired, not in the right headspace to really get anything worthwhile written in terms of code, but I have been working to get back into the right frame of mind through a bit of outdoor activity, spending some time relaxing and generally trying to get back into the right state - and today seemed to be the day where the conditions were met finally. I picked up the code pretty much exactly where I left it off and tweaked out the next bits of logic for creatures.

Possible encounters now get the right info from their lead creatures to determine if they have ranged attacks, what the actual range of those is, and if they're annoyed with something, they'll try to engage to either get into ranged attack range, or move right in for some hand to hand combat. I've got some extra text in the output showing what they want to do, which is below each one on the screen. In this image, you can see how the Goblin only tries to get in close enough to be able to shoot, while the two spiders clamber to get right into my face.

I'm not expecting time tomorrow afternoon (though, who knows) but I'll be looking forward to picking this up again to finally start to set up the combat system itself.

No comments:

Post a Comment

Character Inventory Updates

So, quick update. I've been chipping away at various bugs (Read; BUGS BUGS BUGS!!) and generally enjoying the process as it lets me not ...