Distance counter and player switching implemented.

This commit is contained in:
Patrick_Pluto 2024-06-13 14:25:37 +02:00
parent d31d027b80
commit 047f64fef6
4 changed files with 44 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,7 @@
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf6qt"]
size = Vector2(20, 18)
[node name="CharacterBody2D" type="CharacterBody2D"]
[node name="player" type="CharacterBody2D"]
script = ExtResource("1_oik63")
[node name="Sprite2D" type="Sprite2D" parent="."]
@ -15,4 +15,5 @@ texture = ExtResource("1_cujcj")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_kf6qt")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="camera" type="Camera2D" parent="."]
enabled = false