Step_0.gml 252 B

12345678910111213141516
  1. if check_hitstop() || is_dead
  2. exit;
  3. image_index += animation_spd;
  4. enemy_ai();
  5. x = clamp(x, 200, 1920 - 200 - 64);
  6. if state != "IDLE"
  7. {
  8. global.camera.x_to = 0;
  9. global.camera.y_to = 0;
  10. global.camera.smooth = 0.01;
  11. global.camera.follow = noone;
  12. }