evildead9000
Member
Hello all!
Just wondering if anyone can provide a simple way to increase enemy behavior variables, as levels increase, to make them more difficult to defeat; as in speed, different more dangerous attacks, enabling special moves, etc. I'm currently working on a shooter, like Demon Attack, or Galaxian.
I currently have a level controller object which reads a script for each level. So if my level variable is 1 it will read a script called "scr_Level_1" to obtain data for what enemies appear.
All my enemies have an enemy parent and inherit enumerations for behavior. Everything is working well so far. I'm currently incrementing behavior as such: enemy_speed += enemy_level / 10 (as well as dividing by other higher/lower numbers). Other variables are incremented similarly.
However, I feel there are better ways to accomplish intensifying enemy behavior. There is an "unknown" factor as to how fast enemies will move after 100+ levels and it's not very predictable with the way I've implemented it. I'm working on a point chaser, so if I create 100 levels, they will loop. I can possibly clamp enemy speed, but I'm not sure how it will be with a few different types of enemy on screen, all at different levels of behavior. I don't want to make it very difficult too soon.
Can anyone suggest a better way to manage enemy AI so it is more predictable?
Thanks much. I hope I explained everything correctly.
Just wondering if anyone can provide a simple way to increase enemy behavior variables, as levels increase, to make them more difficult to defeat; as in speed, different more dangerous attacks, enabling special moves, etc. I'm currently working on a shooter, like Demon Attack, or Galaxian.
I currently have a level controller object which reads a script for each level. So if my level variable is 1 it will read a script called "scr_Level_1" to obtain data for what enemies appear.
All my enemies have an enemy parent and inherit enumerations for behavior. Everything is working well so far. I'm currently incrementing behavior as such: enemy_speed += enemy_level / 10 (as well as dividing by other higher/lower numbers). Other variables are incremented similarly.
However, I feel there are better ways to accomplish intensifying enemy behavior. There is an "unknown" factor as to how fast enemies will move after 100+ levels and it's not very predictable with the way I've implemented it. I'm working on a point chaser, so if I create 100 levels, they will loop. I can possibly clamp enemy speed, but I'm not sure how it will be with a few different types of enemy on screen, all at different levels of behavior. I don't want to make it very difficult too soon.
Can anyone suggest a better way to manage enemy AI so it is more predictable?
Thanks much. I hope I explained everything correctly.
Last edited: