player variables uses getter and setter instead of function

This commit is contained in:
2023-02-23 08:11:42 +01:00
parent 08b306f827
commit 4e0ec4994f
6 changed files with 34 additions and 21 deletions

View File

@@ -86,8 +86,7 @@ animations = [{
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_38v5o"]
radius = 7.99997
height = 32.0
height = 50.0
[node name="player" type="CharacterBody2D"]
process_mode = 1
@@ -142,7 +141,8 @@ visible = false
position = Vector2(0, 38)
rotation = 1.57345
shape = SubResource("CapsuleShape2D_38v5o")
metadata/_edit_lock_ = true
[node name="console" parent="." instance=ExtResource("4_kw3hh")]
visible = false
[connection signal="animation_changed" from="animated_sprite_2d" to="." method="OnAnimationChanged"]