Storing and Retrieving Data

I’m wondering how people here deal with storing and retrieving data, for things like characters attributes. I’d like something that I can edit with LibreOffice for character HP, animations, bitmap data and such; or some easy method of editing a game.

What about .csv for HP and other character values? It can be imported into LibreOffice as spreadsheet, and spreadsheet can be exported in this format. Also it is plain text format, and can be easily read at game side.

Thanks for the suggestion, though is there a library for reading CSV’s provided by Haxe/Openfl, or do I just need to parse it as I would a text file?

I think you read as text, but split on “\n” then “,”, but I haven’t looked at CSV in a while :wink:

There are something on haxelib -

1 Like