Log inGet started
World

Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit

README.md

ControlsGallery

The whole kit, fitted to any screen. Put it on any entity and, in play, it shows every control scheme as a card (label, the engine map it stands on, every action with its keyboard and pad prompt; Try it switches the live controls), every on-screen stick, touch button layout, gesture, prompt set and look, labelled, all reacting together to the keyboard, a pad or touch, split over pages (tabs or Prev / Next) when the screen is too small to show everything with labels of at least 11 points.

Two buttons sit on every page. Rebind controls opens the rebinding screen for the current scheme (its clicks come back through this component's onCallback; Escape or Done returns to the gallery). Walk around takes the panel down: the local player's body may walk (its ControlsMover is switched off while the panel is up, so the runner never wanders behind it), the touch controls show, and with walkMenu (default on) a ControlsMenu with the switcher, Controls button and prompt hints is added to this entity. A Gallery button, placed clear of the touch controls, brings the panel back and removes the menu.

In edit mode it shows the same gallery as a still preview without touching the live controls, so a scene carrying it opens straight onto the gallery. It switches the kit to scheme (default platformer) and hides the game's own touch overlay while the panel is up, restoring it on destroy. Local to each peer.