Overload icon indicating copy to clipboard operation
Overload copied to clipboard

LUA Save System

Open Nytician opened this issue 3 years ago • 3 comments

Problem this feature should fix Allows non C++ users to create full games rather than demos/arcade experiences. An essential requirement to allow LUA users the ability to save player data variables.

Expected solution If possible allow a simple LUA filesystem manager or the ability to 'require' custom LUA libraries which include this functionality.

Nytician avatar Oct 14 '20 20:10 Nytician

Yes this pls

SolarcGit avatar Jun 13 '23 12:06 SolarcGit

One way to kind of cheese it is (I think this should work) based on what youve done in the game as in what bosses you killed or whatever data what items you have what places youve been too etc. You could generate a code and everytime you open the game theres an input code button and you just pop that bad boy in and youre back where you were yesterday easy as that but a little tedious

SolarcGit avatar Jun 13 '23 12:06 SolarcGit

This is actually an interesting idea. Maybe it could be implemented in a way that the user can create a asset that works as a "database" and LUA could access that asset in reference like unity has done with scriptabel components, but in this case it does save data so that if a player kills a boss or collects an item a certain value is saved in this database like asset component

Adrian-Nonn avatar Jun 14 '23 20:06 Adrian-Nonn