je sais pas trop mais bcp
This commit is contained in:
@@ -1,17 +1,24 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bmt2uv41t2dte"]
|
||||
[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"]
|
||||
|
||||
Reference in New Issue
Block a user