Function DoLevel1() CreationTimer:+1 If CreationTimer > CreateMarker+20 CreateCounter:+1 'Increase Counter to know which enemies to make CreateMarker:+20 'Increase Marker by 10 If CreateCounter => 10 and CreateCounter < 22 TEnemy.Create(32*(3+CreateSubCounter)+16,32*2,3,0,1) CreateSubCounter:+1 EndIf If CreateCounter =60 CreateSubCounter = 0 If CreateCounter => 60 and CreateCounter < 72 TEnemy.Create(32*(3+CreateSubCounter)+16,32*3,4,0,1) CreateSubCounter:+1 EndIf If CreateCounter > 90 CreateSubCounter = 0 If CreateCounter => 90 and CreateCounter < 96 TEnemy.Create(544-(32*(6+CreateSubCounter))+16,32,3,2,1) CreateSubCounter:+1 EndIf If CreateCounter > 122 Then CreatePhase = 5 End If End Function
That is Count sensetive, but its NOT time sensetive, meaning its important the numbers are integers and not floats. This creates the enemies and it also does use the creationtimer INT to determine when to create each batch so therefore would I need to delta-time it and if so how?????