Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Is it possible to read a text file into a hash table, and if so, what format is used? I tried saving a hash table but the format it came out in wasn't human readable in a text editor (although the key names were, the values were not).
Develop games in your browser. Powerful, performant & highly capable.
IIRC the hash table saves out values after running them through a hashing algorithm so they are not human readable. What are you trying to accomplish so maybe we can give you some alternatives. Judging by what you asked for I would say the .ini object is a good start for you.
Well, I'm trying to have a hash table that has set values by me on load. An array is not suitable for the task I'll be using it for. I can do that using the actions in the engine, but that's a bit annoying as the number of keys grow. However, it seems I'll have to do it that way
you could definitely use the ini object and then build the hash table from the data read from there.
You'll have to save and load "manually", that is, going one by one using events.