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!

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.