This commit is contained in:
2024-10-20 10:31:07 +02:00
parent fa51e53d7d
commit 0e9cdb9af5
12 changed files with 845 additions and 44 deletions

View File

@@ -1,8 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://bmt2uv41t2dte"]
[gd_scene load_steps=4 format=3 uid="uid://bmt2uv41t2dte"]
[ext_resource type="Script" path="res://script/Door.cs" id="1_xvwbq"]
[ext_resource type="Texture2D" uid="uid://d0g144qe1ly7v" path="res://model/Guy1.png" id="2_5xjot"]
[ext_resource type="Texture2D" uid="uid://cx1w76xqxqe11" path="res://icon.svg" id="2_f3iv6"]
[sub_resource type="CircleShape2D" id="CircleShape2D_aityf"]
radius = 32.0
@@ -16,9 +15,5 @@ image_mob = ExtResource("2_5xjot")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_aityf")
[node name="Icon" type="Sprite2D" parent="."]
scale = Vector2(0.265, 0.265)
texture = ExtResource("2_f3iv6")
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
[connection signal="body_exited" from="Area2D" to="." method="BodyExited"]