Step_0.gml 307 B

1234567891011121314151617181920212223
  1. /// @description go on
  2. switch (state)
  3. {
  4. // Init lifebar position at instance creation
  5. case 0:
  6. _bar_x = center_2width(x, sprite_width, _bar_w);
  7. _bar_y = y - 40;
  8. state = 1;
  9. break;
  10. case 1:
  11. //
  12. break;
  13. case 2:
  14. //
  15. break;
  16. default:
  17. //
  18. break;
  19. }