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

Locomotion synchronization #6

Open
MeFisto94 opened this issue Dec 20, 2023 · 0 comments
Open

Locomotion synchronization #6

MeFisto94 opened this issue Dec 20, 2023 · 0 comments

Comments

@MeFisto94
Copy link
Member

There is a lot of locomotion / state machine that we need to synchronize / derive from NPC states. It may not be worth it to try to synchronize them perfectly (e.g. the keyframe inside the walk animation that we are currently), but we should at least start and stop animations accordingly.

This can be done as simple as: When the NPC moves forward, play the walking animation. That way, we can derive it without requiring actual packets.

For things such as swimming and ladders, additional packets may be required. Jumping is already stubbed via the PlayerActionTracker, just implemented falsely, as it listens to key-presses instead of the actual jumping.

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

No branches or pull requests

1 participant