itch.io is community of indie game creators and players

Devlogs

v2.2.0 Added registerSaveFunction

Lime.Chunks.2
A downloadable asset pack
  • Added registerSaveFunction() for new entities saving system

The chest contents are constantly changing and, specifically in my case, we can get them only by converting them into a string, and this can be done correctly only before saving, so I put the converted string into a new variable in the registerSaveFunction() function so that just before saving it was converted into a string and the new variable was registered for saving and this new variable will be saved and loaded in the future. And after loading we need to convert the string back to the contents of the chest, for this we put it into the registerLoadFunction() function, which I introduced in version 2.1

Update Recommendations:

Updated resources: 

  • object "oEntities"(Create event)
  • script "CHUNKS"(Be careful when replacing if you have entered your own data to save and load entity data. You will have to transfer them to each entity using the new format)

Files

  • Lime.Chunks.2.2023.10.30_2.2.0.yymps 1.7 MB
    Oct 30, 2023
Download Lime.Chunks.2
Leave a comment