24 lines
1020 B
Plaintext
24 lines
1020 B
Plaintext
[gd_scene format=3 uid="uid://dr8h8xij3qw2h"]
|
|
|
|
[ext_resource type="Script" uid="uid://bh588bpddschq" path="res://pharaoh.gd" id="1_mt7kg"]
|
|
[ext_resource type="Texture2D" uid="uid://bfqc03jxmymdy" path="res://art/Pharaoh.png" id="2_mt7kg"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
|
size = Vector2(26, 32)
|
|
|
|
[node name="Pharaoh" type="Node2D" unique_id=1201409437]
|
|
script = ExtResource("1_mt7kg")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
|
texture = ExtResource("2_mt7kg")
|
|
|
|
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
|
position = Vector2(0, -8)
|
|
shape = SubResource("RectangleShape2D_eumkw")
|
|
|
|
[connection signal="interacted" from="." to="." method="_on_interacted"]
|
|
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
|
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|