Which Data Structure to use?

H

heanfry

Guest
So i am about to make an endless going highscore game.
And there will be random enemys that will come at a certain time every time.
from time to time the enemys being changed and getting harder.

Can someone explain me how i can make this happen?

Is a Data structure necessery?
 
D

dannyjenn

Guest
A data structure is probably not necessary.

By "enemies being changed and getting harder", do you mean you want the same enemies to appear but to be harder (e.g. get faster, get stronger, etc.)? Or do you mean that you want to gradually replace some enemies with entirely new enemies?

Regardless, the most important thing here would be to keep track of the score (or perhaps the amount of time the game has been running). Since weaker enemies are at the very beginning and they get stronger as the game goes on, you'll want to use your score or time variable to determine which new enemies to use or which new stats to use.
 
H

heanfry

Guest
You are totally right.
Thats what i have been trying from the beginning, since i thought of ds.
but Yes thats how i may have to get in working.
Can you add me from Steam? epiXxishere
 
Top