Skip to content

Allow scroll wheel to be used to change flying speed in creative mode and spectator mode #179

@stackotter

Description

@stackotter

Currently players can only fly at a single (pretty slow speed) in Delta Client. In vanilla you can use the scroll wheel to change your flying speed, which is what you should try to emulate if you work on this issue.

Scroll wheel input should already be available in PlayerInputSystem (from InputState), so you can add some input handling code to change PlayerAttributes.flyingSpeed.

This issue can only be completed once #178 is completed. At the moment, flying speed doesn't depend on PlayerAtributes.flyingSpeed.

You can access the scroll up/down inputs from InputState.newlyPressed in PlayerInputSystem (before the call to InputState.tick).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions