hide shot joystick and rotation buttons when running on computer #85

Closed
opened 2026-08-21 22:05:23 +00:00 by metaheavens · 1 comment
Owner
No description provided.
Author
Owner

Done in 3f5e7ac, live at https://metaheavens.de/spaceship/

The movement stick, the fire stick and both pivot buttons are hidden together the first time a keyboard or a mouse is used - and only on a machine with no touchscreen.

Two guards, both deliberate. A touch device that also has a keyboard keeps everything, because a finger is still a way to play it. And a device wrongly reported as non-touch keeps its controls until the player has demonstrably used something else, so nobody is ever left with no way to steer or shoot.

Done in 3f5e7ac, live at https://metaheavens.de/spaceship/ The movement stick, the fire stick and both pivot buttons are hidden together the first time a keyboard or a mouse is used - and only on a machine with no touchscreen. Two guards, both deliberate. A touch device that **also** has a keyboard keeps everything, because a finger is still a way to play it. And a device wrongly reported as non-touch keeps its controls until the player has demonstrably used something else, so nobody is ever left with no way to steer or shoot.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
metaheavens/spaceship#85
No description provided.