Step_0.gml 259 B

12345678910111213141516
  1. if light
  2. {
  3. alp = lerp(alp, 1.2, 0.2);
  4. if alp > 1
  5. light = false;
  6. }
  7. else alp -= 0.08;
  8. alp = clamp(alp, 0, 1.2);
  9. image_speed = speed / 5 + 1;
  10. if keyboard_check_pressed(ord("Q"))
  11. instance_create_depth(x, y, depth + 1, obj_judge);
  12. x = mouse_x;
  13. y = mouse_y;