Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (keyboard_check(ord('R'))) { levelTimer = 1; }
- levelTimer += 1;
- clockTime = (levelTimer/30)
- /* WAVES : CODE CAN BE MESSY FROM HERE ON OUT */
- if (levelTimer >= 90 && levelTimer <= 150 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(50,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
- if (levelTimer >= 115 && levelTimer <= 175 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(100,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
- if (levelTimer >= 190 && levelTimer <= 250 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(446,10,oEnemy1); timerFunction.direction = 225; timerFunction.speed = 5; }
- if (levelTimer >=215 && levelTimer <= 275 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(396,10,oEnemy1); timerFunction.direction = 225; timerFunction.speed = 5; }
- if (levelTimer >= 290 && levelTimer <= 350 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(50,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
- if (levelTimer >= 315 && levelTimer <= 375 && levelTimer mod 10 = 0)
- { timerFunction = instance_create(100,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement