So here's the dealio: I'm making a game that's a 2d topdown shooter, without boundaries. It's going to have multiple enemy types, with different movements, damage, shot intervals, etc. which I will define using types. Here's where I need help.
I have the types thing down. I need to incorporate an easy way to create waves, using a simple format, possibly using arrays, possibly using a separate .txt file.
format would be enemytype(basically an integer) followed by an integer representing the amount of time before spawning the next enemy.
I would love to use a separate file for this, just to make things prettier, but arrays would probably be simpler. I'd like it to be a single array if an array is used, but two would probably make it even simpler.
Having difficulty determining the best way to parse these two options. Could be simple for loops for the array option, but no real idea how to manage a separate text file.
Any thoughts?
-Stupinator