Sunday, July 16, 2023

Zones, Encounters and Creatures FInaally Working

This week has mainly been work-work-work like crazy, there's a lot going on, and that generally saps my strength and brains at the end of a day - but I've been slowly chipping away at getting this code done nicely - and right now, it's starting to look half-not-terrible finally.

The editor now has the functionality to define a zone nicely, create possible encounters, define what creatures can spawn in them - along with all the relevant creature information. The app now picks all that up in a way that makes sense, and it all seems to function correctly for the most part. There's a few glitches, but mainly things seem to work as expected where I've properly refactored the code at least to move off placeholders.

Basically, I get to start working on some logic again in the app for creatures to start behaving the way I'd think they should - wandering about, attacking the player and so on - and using the underlying creatures to understand what it can do. It's a great place to close up Sunday night with.

I do still need to update the world-builder interface to be able to paint the zones in somehow in a meaningful way, possibly also tweak the spawn-tiles in some way, so that creatures only spawn on defined tiles, but that's in the future right now and I'm okay with it.

No comments:

Post a Comment

New Abilities, Ability Functionality and Spells

It's been a few days since I posted, but I have been super busy working on iterative builds here to run through my own testing, and that...