X Tutup
Skip to content

Added a pixel threshold for snapping to a platform while jumping through#19

Open
Canite wants to merge 2 commits intobecomingplural:mainfrom
Canite:main
Open

Added a pixel threshold for snapping to a platform while jumping through#19
Canite wants to merge 2 commits intobecomingplural:mainfrom
Canite:main

Conversation

@Canite
Copy link

@Canite Canite commented Mar 15, 2024

When jumping through a 1-way platform from the bottom, the collision code will "snap" the player to be on top of the platform if the collision happens while the player is inside the tile (8 pixels high). With this change, you can control the pixel overlap before the player will snap up to land on the platform.

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

X Tutup