Skip to content

Fix combined ladder movement in BelowTheSurface - #256

Open
SEBINSHASAMEERSHA wants to merge 1 commit into
thoth-tech:mainfrom
SEBINSHASAMEERSHA:fix-below-the-surface-ladder-movement
Open

Fix combined ladder movement in BelowTheSurface#256
SEBINSHASAMEERSHA wants to merge 1 commit into
thoth-tech:mainfrom
SEBINSHASAMEERSHA:fix-below-the-surface-ladder-movement

Conversation

@SEBINSHASAMEERSHA

Copy link
Copy Markdown

Summary

  • allow horizontal and vertical ladder input to be processed independently
  • fix diagonal ladder movement where horizontal input previously prevented vertical movement
  • simplify climb movement state handling

Cause

The ClimbState input logic used a single if/else-if chain for left, right, up, and down movement. This meant horizontal input took priority and prevented vertical movement from being processed when both were held.

Testing

  • reviewed the updated input logic and confirmed horizontal and vertical axes are now handled independently
  • git diff --check completed successfully
  • full runtime testing is currently blocked by pre-existing BelowTheSurface build errors involving center_point(sprite) with the current SplashKit SDK

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.

1 participant