How to save/load a game?

Hi all,

I checked all the examples, and even search this forum to find some information on how to save game and load game, and I got nothing. I thought this would be one of the most basic feature that is absent in Armory.
Anybody have some example? I am about to give up and write my own save/load logic with HAXE…

/Milo

Sadly I think there is no pre-made solution yet. There is a storage example on saving/loading data, could maybe get used as a basis. If you get further on this any shared progress is welcome. :slight_smile:

@Milo have a try with this :
1/ you can read your saved game data as explained here in a Json format Read external data

2/ and you can store data like explained here Armory as Web Application - Data Management?.

Hi Lubos,

Got it. One question though…where is the saved data file? I checked the source code, the default file name should be "default.kha", but I couldn’t find it in the project folder.

/Milo

Hi Didier,

Thank you for the suggestion, I will have a look on them.

/Milo