Day 14 Update (Saving's nearly done!)


Very happy to report I've solved most of my current issues with saving. I've got entities properly keeping their follow targets and combat targets, and that was a big struggle point. I've also done some work to hopefully organize the loading of data much better, and so far it seems to be working as intended! I've also smoothed out the load screen for a bit of aesthetic delight, and got some other misc. fixes in!

But yeah, I've been working on this all day, and am quite tired, so I'm gonna drop the patch notes and get to bed. More updates on Saturday, April 1st! (And no this is not a joke)


Changelog:

  • fixed issue with npc follower ID's not being accessed properly
  • fixed issue with NPC's clearing their ally list needlessly on load 
  • made load screen pause game 
  • fixed SEVERAL issues with load screens not unpausing the game after completing loading cycle 
  • modified UI pause check system to account for file loading as well 
  • added rotation to saved NPC data 
  • reworked save objects to have priority indexes, which are used to sort loaded data and make sure components load in the correct order (fixes numerous null references and other crash-inducing issues) 
  • completely rewrote the highest-level loading routine to respect this index order and also double-check for spawned in objects after the highest-priority manager classes did their loading
  • fixed potential issue with NPC's targeting allies in chase and attack states 
  • fixed npc's not saving target & follow data 
  • added save data to DamageHistoryTracker
  • modified load screen to account for loading files & displaying progress percentage 
  • smoothed out load bar & progress % indicators 
  • fixed potential error/crash on main menu when scrolling with mouse

Known Issue:

- It would appear that the saving system just straight up isn't working properly in the web build. My guess is that it is related to the file location being all messed up. I'll be working on a solution to this in my next dev session.

Files

Build.zip Play in browser
Mar 29, 2023

Leave a comment

Log in with itch.io to leave a comment.