Skip to content

Locomotion synchronization #6

@MeFisto94

Description

@MeFisto94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions