Game Development Community


#1
08/13/2013 (4:34 am)
T2D uses TAML as its persistence system. You can save any object to file using TAML. Simon shows an example of this here and here. Essentially, you use a ScriptObject to store the data. You then call TamlWrite to save it to file. It defaults to saving in XML format, but you can also choose JSON or binary. A couple of other T2D users have been working on implementations that will add database support, so that will soon be another alternative.
#2
08/13/2013 (2:47 pm)
That is really easier than I expected. Thanks.
#3
08/13/2013 (3:05 pm)
Happy to help. If you want some protection for the end result, use binary. It's not human readable, which makes it less possible for your average user to edit.