Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platformer: Y-coordinate should be above first brick #471

Open
SimonN opened this issue Oct 18, 2023 · 0 comments
Open

Platformer: Y-coordinate should be above first brick #471

SimonN opened this issue Oct 18, 2023 · 0 comments

Comments

@SimonN
Copy link
Owner

SimonN commented Oct 18, 2023

Lix 0.10.16

  1. Assign a platformer to a walker on even ground.
  2. Advance a few physics updates, until the brick physically exists as a yellow rectangle on top of the ground.
  3. Optionally, advance a few more physics updates, but at most until the sprite at the bottom of this post.
  4. Assign basher to the platformer.
  5. Observe how the basher clears the brick because the basher is still on the ground level (from step 1).

Expected instead: The basher doesn't clear the brick. The platformer should immediately warp on top of its brick, regardless of (if and how many) physics updates we stepped forward in step 3. The platformer's feet should never be buried inside its own terrain.

(To warp the platformer onto its brick as early as possible) will align platformer physics with builder physics in this regard (of never having its feed buried inside its own terrain).

If you assign jumper to the platformer while the platformer's feet are buried in its own brick, the jumper will immediately stop and stand on the brick. This is odd. We want the jumper to jump through the air.

platformer-still-not-on-brick

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

No branches or pull requests

1 participant