1
0

Create_0.gml 341 B

12345678910111213141516171819
  1. self_check_destroy();
  2. image_speed = 0;
  3. animation_spd = 1;
  4. get_hit = function(_info)
  5. {
  6. shake_power = 6;
  7. var _attack_dir = point_direction(0, 0, _info.kbFactorX, _info.kbFactorY);
  8. if round(_attack_dir) == breakable_dir
  9. image_index++;
  10. }
  11. shake_offset = 0;
  12. shake_power = 0;
  13. shake_interval = 3;
  14. shake_timer = 0;
  15. origin_x = x;
  16. origin_y = y;