Tutorial polish

This commit is contained in:
Debugman committed 2026-10-18 02:37:32 -05:00
1 parent 954fd873bd
commit 4de204a122
11 files changed
+167 -29

No files matched your search

+4 -3
View File
@@ -26,7 +26,7 @@ func _ready() -> void:
spawn_point = position
DisplayServer.window_set_title("JUMPS EQUALS JUMPS")
give_objective("sarc", 0, "Open the Sarcophagus")
%Dialogue.show_text("Hello world!").dismiss_after(2)
#%Dialogue.show_text("Hello world!").dismiss_after(2)
func refresh_dash(new_dashes):
if new_dashes:
@@ -134,6 +134,9 @@ func _process(delta: float) -> void:
$Jetpack/DoubleJumpSound.play()
if jumps == 0:
$Jetpack/JumpIndicator.hide()
if Input.is_action_just_released("jump"):
velocity.y = -(0.001 * JUMP_VELOCITY)
if Input.is_action_pressed("jump") and is_on_wall_only():
print("WALL HANGING")
@@ -153,9 +156,7 @@ func _process(delta: float) -> void:
$Sprite2D/HatSprite.flip_h = false
if Input.is_action_pressed("dash_down") and is_on_floor():
print("Crouching")
$Sprite2D.play("crouch")
print("MODULATE: " + str($Parallax2D/Sprite2D.modulate))
$Parallax2D/Sprite2D.modulate = Color.CYAN
for hidden_object in get_tree().get_nodes_in_group("Hidden"):