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

Ledge climbing / vaulting #7

Open
idanarye opened this issue Apr 2, 2023 · 0 comments
Open

Ledge climbing / vaulting #7

idanarye opened this issue Apr 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@idanarye
Copy link
Owner

idanarye commented Apr 2, 2023

We need a mechanism for scaling obstacles. Ledge grabbing is when you grab the ledge in the air, and vaulting is when you start from ground level, but I think the mechanism should be similar.

I'd like a design where the control system is fully responsible for both grabbing the ledge and pulling the character over it. From Tnua's API side both these actions will all require explicit invocation, but the control system is free to make it automatic for the player.

All of this state (grabbing, climbing, whether or not it's from the ground), of course, should be exposed in TnuaPlatformerAnimatingOutput.

In 3D, we should also support moving sideways.

And I wonder if wall-sliding and walljumping can use the same mechanism, but I have a feeling this will require #6.

@idanarye idanarye added the enhancement New feature or request label Apr 2, 2023
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
None yet
Development

No branches or pull requests

1 participant