All-Stars Pose at Level End

This adds a new and optional animation for Characters called `PoseDoor`. When a character uses this animation, they stop at the entrance of the castle door to strike a pose like in All-Stars.
This commit is contained in:
KirbyKidJ
2025-09-25 17:47:11 -07:00
parent 40c2c04fcd
commit 2d4b6105b6
5 changed files with 24 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ func enter(_msg := {}) -> void:
player.get_node("CameraCenterJoint/RightWall").set_collision_layer_value(1, false)
func physics_update(delta: float) -> void:
if player.is_posing: return
player.input_direction = 1
player.can_run = false
player.normal_state.handle_movement(delta)