Advertisement
Guest User

tfw this

a guest
Apr 19th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. if (keyboard_check(ord('R'))) { levelTimer = 1; }
  2.  
  3. levelTimer += 1;
  4.  
  5. clockTime = (levelTimer/30)
  6.  
  7. /* WAVES : CODE CAN BE MESSY FROM HERE ON OUT */
  8.  
  9. if (levelTimer >= 90 && levelTimer <= 150 && levelTimer mod 10 = 0)
  10. { timerFunction = instance_create(50,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
  11.  
  12. if (levelTimer >= 115 && levelTimer <= 175 && levelTimer mod 10 = 0)
  13. { timerFunction = instance_create(100,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
  14.  
  15. if (levelTimer >= 190 && levelTimer <= 250 && levelTimer mod 10 = 0)
  16. { timerFunction = instance_create(446,10,oEnemy1); timerFunction.direction = 225; timerFunction.speed = 5; }
  17.  
  18. if (levelTimer >=215 && levelTimer <= 275 && levelTimer mod 10 = 0)
  19. { timerFunction = instance_create(396,10,oEnemy1); timerFunction.direction = 225; timerFunction.speed = 5; }
  20.  
  21. if (levelTimer >= 290 && levelTimer <= 350 && levelTimer mod 10 = 0)
  22. { timerFunction = instance_create(50,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
  23.  
  24. if (levelTimer >= 315 && levelTimer <= 375 && levelTimer mod 10 = 0)
  25. { timerFunction = instance_create(100,10,oEnemy1); timerFunction.direction = 310; timerFunction.speed = 5; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement