I've been working a while now on a vertical shooter and it's time to try and figure out when and how to spawn enemies. My first thought was to store the data in an XML file which is read into the game on start. Then it hit me that this might be an unnecessary step since i can simple store all the data in a dictionary right? On top of all that, wouldn't external XML files be vulnerable to manipulation from the user?
So anyway, I need to spawn certain enemies at certain points during the game -- like when the camera reaches Y position 4200 while moving up. What would you're thoughts be on this? When it comes to saving the game, then i would understand XML/JSON, but for simply reading in game data...
Thanks!