Hi
What is the best way of creating levels in a shoot em up? I was thinking about opening text files and having Blitz read them, ie.
;text file
Create_An_Enemy xposition, yposition, style_of_enemy
Wait_for_A_While 5000
I think it's fairly obvious what I mean - it would be similar to a very simple scripting language, but only for levels.
The only other way I can think of doing it is by having some sort of 'part_of_level%' variable, ie.
Which one of these options is better, or is there a different, even better way of doing it?
By the way, I don't want random enemy creation, so that's not a possibility...
Thanks.
What is the best way of creating levels in a shoot em up? I was thinking about opening text files and having Blitz read them, ie.
;text file
Create_An_Enemy xposition, yposition, style_of_enemy
Wait_for_A_While 5000
I think it's fairly obvious what I mean - it would be similar to a very simple scripting language, but only for levels.
The only other way I can think of doing it is by having some sort of 'part_of_level%' variable, ie.
Global part_of_level%, level_tmr# Function UpdateLevel() If level_tmr#<Millisecs() then level_tmr#=Millisecs()+3000 Endif Select part_of_level Case 1 CreateEnemy(....whatever....) Case 2 CreateEnemy(....whatever....) Case 3 etc.... End Select End Function
Which one of these options is better, or is there a different, even better way of doing it?
By the way, I don't want random enemy creation, so that's not a possibility...
Thanks.