- Home /
What Is The Best Way To Store Game Info That Mustn't Changed Manually and/or Out Of Game
Hi guys,
I'm trying to make a turret defense game and now i need to store enemy wave informations depending on levels, amount of enemies each wave etc. I first thought using XML but, as you know it's easy to change XML out of game. So what's teh best way to store important game info with ensuring of users can't change it easily?
Thanks in advance!
Answer by Cherno · Jun 06, 2015 at 12:19 PM
You can serialize your data and no one will be able to read or change it, it has to be deserialized from withing your program to the exact same class it was before serializing, so it's pretty safe. Here is a short tutorial.
I need to adjust X$$anonymous$$L file outside of game then use it. Otherwise it would take too much time.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to read data from a constantly updating xml server? 1 Answer
Manipulate EditorApplication.currentScene in a generic script 1 Answer
Parsing an XML file periodically 2 Answers