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

FTR: Map: Stairs #344

Open
proof88 opened this issue Dec 29, 2024 · 0 comments
Open

FTR: Map: Stairs #344

proof88 opened this issue Dec 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Dec 29, 2024

Using '/' and '' map elemens to represent stairs.
A single such character will generate stairs having height of 1/3 or 1/4 of the height of a regular 1x1x1 map element (block).

The following improvements are also required to be done:

  • fast collision check because this feature might significantly increase the number of map elements to be checked against collision: CR/OPT: Fast Player Collision Check #150;
  • player physics change: player shall be pushed upwards upon side-colliding with any map element where the difference between the top edge Y coordinate of the map element and the bottom edge Y coordinate of the player object is less than a predefined threshold. This way players dont need to jump onto the stairs, will be automatically aligned on the stairs where applicable: FTR: Physics: Player Vertical Auto-Alignment upon Horizontal Collision #343.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant