Skip to content

Fix ladder latch behaviour - #4

Open
AAMIRAU wants to merge 1 commit into
thoth-tech:mainfrom
AAMIRAU:fix/ladder-latch-default
Open

AAMIRAU wants to merge 1 commit into
thoth-tech:mainfrom
AAMIRAU:fix/ladder-latch-default

Conversation

@AAMIRAU

@AAMIRAU AAMIRAU commented Aug 26, 2026

Copy link
Copy Markdown

This PR updates the ladder behaviour in Below The Surface.

Previously, the player had to press an extra input before latching onto a ladder.

Changes made:

  • Player now automatically latches onto a ladder when making contact.
  • Prevented the ClimbState from being recreated while already climbing.
  • Added a short hold-DOWN timer.
  • A quick DOWN press still allows normal downward climbing.
  • Holding DOWN for around 500 ms unlatches the player and switches to JumpFallState.
  • The timer resets when DOWN is released.

Testing:

  • Auto-latching when jumping into a ladder.
  • Staying latched with no input.
  • Climbing upward.
  • Short DOWN press for normal downward movement.
  • Holding DOWN to unlatch and fall.

All tested behaviours worked as expected.

@kottochii

Copy link
Copy Markdown

Repository is not in use, please create PRs in https://github.com/thoth-tech/arcade-games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants