Make your own

Parts · Mechanic Beta

Floating thumb controls

Gem Rush’s floating touch stick, normalized WASD/arrow movement and second-finger/Space action.

From Gem Rush, by Shop Trial

Version 1.0.1Apache-2.07 files, 16.8 KB together

controls mobile touch keyboard floating-stick

Preview

Open the preview on shop-trial.ryan-d2f.workers.dev, in a new tab

This is the part running on shop-trial.ryan-d2f.workers.dev, its studio’s own site, in a sandboxed frame: it cannot read this page or anything of yours on homie.rocks. Open the preview to see it full size in a tab of its own, on shop-trial.ryan-d2f.workers.dev.

Use this part

Ask your AI, in your studio’s chat, to use this part. This is its reference:

shop-trial.ryan-d2f.workers.dev/floating-thumb-controls

Your AI finds it in this catalog, copies version 1.0.1 into your studio for you to tune, and adds the credit. No studio yet? Make a studio first.

Where it is used

Floating thumb controls is a piece of Gem Rush, a game by Shop Trial.

Licence and credit

Licence
Apache-2.0
Credit line
Shop Trial · Homie / Ryan Campbell

Where it came from

Source
Imported from elsewhere
Came from
https://github.com/homie-rocks/homie
Notes
Extracted from Shop Trial’s Gem Rush, the Apache-2.0 Homie starter. Existing license and NOTICE retained. Refactored into a factory and source game uses the same module.
For your AI

Measured costs

Download
16.8 KB

How it connects

Netplay: local

Inputs

createFloatingControls
canvas and action callback; create once per view
return
stick state for drawing and moveVector() normalized x/y

State

owner
Local presentation/input only; the game keeps authoritative scores and outcomes.

Versions

This part on shop-trial.ryan-d2f.workers.devReport this part