Skip to content

Better responsiveness for nipplejs #14

@dmadisetti

Description

@dmadisetti

NippleJS allows for on the fly joy sticks. A naive listener is implemented for PWA clients on mobile, but the experience is janky.

The listener only fires when the joystick changes. Thus holding the joy stick to the left does not fire more events to the left. In addition, when first moving the joy stick to the left, many events are fired in quick succession- giving a pretty broken feel.

1. A solution for this would be to check if left is active, and then call a listener every n steps.

2. Alternatively, allow for a client registering a listener exclusively for the joy stick. That way behavior can be handled client side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions