Step_0.gml 436 B

1234567891011121314151617181920212223242526
  1. effect_create_above(ef_explosion, x + random_range(-5, 5), y + random_range(-5, 5), 1, c_yellow);
  2. image_angle += 3 + logn(1.5, bounce + 0.1);
  3. speed = 25 + bounce;
  4. /*
  5. if x < 0
  6. {
  7. bounce++;
  8. direction -= 2 * (direction - 180) + 180;
  9. }
  10. if x > 1920
  11. {
  12. bounce++;
  13. direction -= 2 * (direction) + 180;
  14. }
  15. if y < 0
  16. {
  17. bounce++;
  18. direction -= 2 * (direction - 90) + 180;
  19. }
  20. if y > 1080
  21. {
  22. bounce++;
  23. direction -= 2 * (direction - 270) + 180;
  24. }
  25. */