Step_0.gml 229 B

1234567891011121314
  1. x = obj_boss.x;
  2. y = obj_boss.y;
  3. image_angle = obj_boss.image_angle;
  4. depth = obj_boss.depth - 1;
  5. if light
  6. {
  7. alp = lerp(alp, 1.2, 0.2);
  8. if alp > 1
  9. light = false;
  10. }
  11. else alp -= 0.08;
  12. alp = clamp(alp, 0, 1.2);
  13. image_alpha = alp;