Files
Nockin_On_Hells_Door/scene/door.tscn
2024-10-19 17:51:07 +02:00

25 lines
924 B
Plaintext

[gd_scene load_steps=5 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
[node name="door" type="Node2D"]
script = ExtResource("1_xvwbq")
image_mob = ExtResource("2_5xjot")
[node name="Area2D" type="Area2D" parent="."]
[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"]