Play it anywhere
The game is one web build, so the same chapters run on a Galaxy phone with a touch stick, on a television with a controller, in the Nintendo Switch browser, and inside an Android app on the Google Play Store. This page shows what this device can do right now and how to publish the Play build.
What this device can do
Live, from this browser. Plug a controller in and press a button on it โ a pad stays invisible to any web page until it is used.
On a Galaxy or any Android phone
- Open this site in Chrome Samsung Internet works too. Both support installing a web app as a real icon.
- Install it Use the Install on this device button above when it appears, or the browser menu โ Add to Home screen. It then launches full screen with no address bar, and the chapters keep working with no signal because the shell is cached.
- Turn the phone sideways and use the stick The on-screen crown stick appears by itself on a touch screen. How far you push it is how fast the cartoon hero walks, drives, carves the board, or climbs the mansion. FIREBALL, JUMP, SPIN and the pedals sit under the right thumb; the screen is kept awake while a run is going and buzzes when something lands.
- Or pair a controller Any Bluetooth pad works, including a Nintendo Switch Pro Controller or a pair of Joy-Cons. Android pairs it in Settings โ Connected devices, and the game picks it up on the first button press with the right button names for that pad.
On a Nintendo Switch
The Switch has a browser, and this game is built to fit it: the picture is letterboxed rather than cropped, the HUD is pulled in so a television does not eat it, the text is a size larger for couch distance, and every menu can be driven by the stick and one button โ there is no step that needs a mouse or a keyboard.
- Open the Switch browser System Settings โ Internet โ Internet Settings, pick your network, choose Change Settings โ DNS Settings โ Manual, and the connection test opens a browser window you can type an address into. Some networks with a sign-in page open the browser directly, which is the easier route when it is available.
- Go to this site and open the game Bookmarking is not available in that browser, so keep the address handy.
- Play with the Joy-Cons or the Pro Controller The left stick moves, and the game reads a single Joy-Con held sideways correctly โ its stick is rotated a quarter turn, and that is straightened out before it reaches the hero. Button names follow Nintendo's layout, so the on-screen hints say B and A the way the pad does.
- If the pad is not picked up, use the cursor The Switch browser gives you a pointer driven by the stick. The on-screen controller is switched on by default there, so the stick and every button can simply be clicked โ the game is playable either way.
On the Google Play Store
Google Play accepts this game as a Trusted Web Activity: a small Android app whose whole screen is this website, with no browser interface around it. There is no second copy of the game to maintain โ the app loads what is deployed here, so a fix shipped to the site is live in the app.
-
Build the Android project
Install Bubblewrap and point it at the manifest. It reads the icons, name, colours and
orientation from
/manifest.webmanifest, so the app matches the site automatically.npm install -g @bubblewrap/cli bubblewrap init --manifest https://example.com/manifest.webmanifest bubblewrap build
Or upload the same URL at pwabuilder.com, which produces the signed bundle in the browser without installing anything. The Download twa-manifest.json button above gives Bubblewrap a ready-made config for this site. -
Create the Play Console listing
A one-time Google Play developer registration is required. Upload the
.aabfrom the previous step, then fill in the store listing: screenshots, a short description, the content rating questionnaire, and the privacy policy URL. Play requires a target API level that Bubblewrap already sets for you. -
Copy the app's signing fingerprint
In the Play Console: Release โ Setup โ App signing. Copy the
SHA-256 certificate fingerprint โ it looks like
AB:CD:โฆ:EF. With Play App Signing, Google re-signs your upload, so this is the fingerprint that has to be trusted, not the one from your own keystore. -
Tell this site to trust that app
Set two environment variables on the Netlify site and redeploy. The site then serves the
Digital Asset Links file Chrome checks, and the app opens with no address bar. Until they
are set, the app still runs โ it just shows a browser bar at the top.
Variable Value ANDROID_PACKAGE_NAMEThe application id from the Play listing, e.g. app.netlify.dragonmouthANDROID_CERT_SHA256The SHA-256 fingerprint from the step above. List several separated by commas to trust both an upload key and the Play signing key. -
Check it
The status below reads this site's own
/.well-known/assetlinks.json. Google's verifier reads the same URL.
Digital Asset Links status
The Roku television build is a separate native channel and lives on the Roku page. Everything on this page โ phone, controller, Switch browser, Play Store โ runs the same web build as the browser game.