rock.gd 155 B

1234567
  1. extends CharacterBody2D
  2. @rpc("call_local")
  3. func exploded(by_who: int) -> void:
  4. $"../../Score".increase_score(by_who)
  5. $"AnimationPlayer".play("explode")