Step_0.gml 305 B

12345678910111213141516171819202122
  1. if check_hitstop()
  2. exit;
  3. player_status_update();
  4. player_check_door();
  5. player_check_attacked();
  6. player_check_hazard();
  7. player_check_death();
  8. state();
  9. player_move_and_collide();
  10. /**/
  11. image_xscale = facing;
  12. if invincible_timer > 0
  13. {
  14. flash_duration = 1;
  15. flash_timer = abs(sin(current_time * 0.01));
  16. }