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
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi,
I want to allow the player to export & import his current savegame, but then the player can easily adjust the JSON file and change for instance the coins earned so far.
Is there a way to encode the exported JSON file?
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
What you could do is produce a hash of the values in the JSON file and when it reloads recalculate it and see if the hash still matches. If one of the values is changed without the hash being updated it then won't load.
Hey,
thanks for that hint. That sound like a good idea to do that.
I will try to work something out