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

[FEATURE SUGGESTION] Virtual joysticks #1344

Open
xeolabs opened this issue Jan 20, 2024 · 0 comments
Open

[FEATURE SUGGESTION] Virtual joysticks #1344

xeolabs opened this issue Jan 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@xeolabs
Copy link
Member

xeolabs commented Jan 20, 2024

Make an example page that uses nipplejs to implement virtual joysticks for camera navigation.

A really good example of UX would be Minecraft, with one joystick to control movement in the horizontal plane, and a second to control direction in which user is looking. A third set of buttons could control speed and altitude.

When the example page is made, we could then make a plugin that implements this control.

A use case for this control would be to make navigation easier on tablets. It would also make it easier to control the creation of measurements from touch input, where it would make it easier for apps to differentiate between touch input that controls the camera VS touch input that controls measurements. Having both these things controlled by canvas touch gestures could get a bit too complicated.

When we have joysticks, then we could just disable camera control with canvas gestures altogether, and make UX much easier.

Resources

https://codepen.io/ogames/pen/rNmYpdo

@xeolabs xeolabs added the good first issue Good for newcomers label Feb 27, 2024
@xeolabs xeolabs changed the title [FEATURE] Virtual joystick plugin [FEATURE] Virtual joysticks Feb 28, 2024
@paireks paireks added the enhancement New feature or request label Apr 20, 2024
@xeolabs xeolabs changed the title [FEATURE] Virtual joysticks [FEATURE SUGGESTION] Virtual joysticks Apr 20, 2024
@paireks paireks self-assigned this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants