Merge branch 'main' of http://git.nanoyagi.com/NanoYagi/JumpRopeOldTech
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
debugman18 committed 2026-10-18 14:19:09 -05:00
commit baeb8c78ca
2 files changed
+32 -3

No files matched your search

+6
View File
@@ -1,5 +1,8 @@
extends Interactable
func set_open (is_open: bool) -> void:
$Sprite2D.play("open" if is_open else "closed")
func _on_interacted() -> void:
%OldComputer.open()
@@ -9,6 +12,9 @@ func _on_interacted() -> void:
if %Player2D.spawn_point != new_spawn_point:
%Player2D.spawn_point = new_spawn_point
%OldComputer.printline(">> Respawn point set to %s" % new_spawn_point)
for sarcophagus in get_tree().get_nodes_in_group("sarcophagi"):
sarcophagus.set_open(sarcophagus == self)
var wanted_disk = %OldComputer.get_next_disk_num()
+26 -3
View File
@@ -3,16 +3,39 @@
[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://d0cd1alr8k706" path="res://art/interact_button.png" id="3_6vea8"]
[ext_resource type="Texture2D" uid="uid://b7t1tef0syf74" path="res://art/sarco_open.png" id="3_r6lmd"]
[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]
[node name="Pharaoh" type="Node2D" unique_id=1201409437 groups=["sarcophagi"]]
script = ExtResource("1_mt7kg")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=834105031]
position = Vector2(0, -16)
texture = ExtResource("2_mt7kg")
sprite_frames = SubResource("SpriteFrames_xwxqv")
animation = &"closed"
autoplay = "closed"
frame_progress = 0.3689026
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]