Files
JumpRopeOldTech/pharaoh.tscn
T
debugman18 fe5d4dd4ba
ci/woodpecker/push/woodpecker Pipeline was successful
Controller detection
2026-10-18 14:44:37 -05:00

61 lines
2.1 KiB
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://b2nldodte5p6s" path="res://art/sarco_closed.png" id="2_mt7kg"]
[ext_resource type="Texture2D" uid="uid://b7t1tef0syf74" path="res://art/sarco_open.png" id="3_r6lmd"]
[ext_resource type="Texture2D" uid="uid://dgdkh6ug00c1i" path="res://art/controls/a_button.png" id="4_p22wv"]
[ext_resource type="Texture2D" uid="uid://bq82wmjgkgyr6" path="res://art/controls/e_key.png" id="5_j5wn3"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xwxqv"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_mt7kg")
}],
"loop": 1,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_r6lmd")
}],
"loop": 1,
"name": &"open",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
size = Vector2(26, 32)
[node name="Pharaoh" type="Node2D" unique_id=1201409437 groups=["sarcophagi"]]
script = ExtResource("1_mt7kg")
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=834105031]
position = Vector2(0, -16)
sprite_frames = SubResource("SpriteFrames_xwxqv")
animation = &"closed"
autoplay = "closed"
frame_progress = 0.3689026
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
shape = SubResource("RectangleShape2D_eumkw")
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1864817335]
visible = false
position = Vector2(0, -24)
scale = Vector2(0.8, 0.8)
texture = ExtResource("4_p22wv")
[node name="KeyPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1070463653]
visible = false
position = Vector2(0, -24)
scale = Vector2(0.8, 0.8)
texture = ExtResource("5_j5wn3")
[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"]