Skip to content
Skillpedia
Mobile apps7.2k · #13360

build-mobile-threejs-games

What it does

This skill helps an AI agent build and test a 3D browser game for phones and tablets. It is for game makers who want touch controls and screens that work in both portrait and landscape.

When to use it

  • ✓When you want your browser game to work with touch controls on a phone.
  • ✓When you need the game screen and buttons to fit both portrait and landscape views.
  • ✓When your game runs slowly on mobile and needs performance checks.

Skill link

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-mobile-threejs-games/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-mobile-threejs-games/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Make my 3D browser game easy to play on a phone, with big touch buttons and a clear screen.”

5 new skills a week. 1 minute to read.

How it works

The agent sets up touch movement, action buttons and a layout for each screen direction. It then tests the game on phone-sized views and checks speed and battery use.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Build Mobile Three.js Games

Treat mobile as a primary control and performance surface.

Controls

Provide a clear movement control, reachable primary actions, target selection, cancel/reset paths, and non-drag alternatives for inventory. Keep controls out of unsafe areas, avoid overlapping action zones, and show feedback for held, unavailable, and queued actions.

Responsive HUD

Design for representative portrait and landscape viewports. Keep vital status, target data, inventory, tooltips, and dialogs legible without covering the playfield. Support orientation changes without resetting gameplay state.

Performance and QA

Use device-appropriate quality defaults and adaptive decorative effects. Test touch targets, multi-touch, long sessions, audio unlock, pause/background return, reduced motion, low-end quality, and actual mobile-size viewports in the repository-approved browser.

FAQ

What does the agent test on a phone?

It checks touch targets, multi-finger input, audio start, returning from the background and reduced motion settings. It also checks long play sessions.

Will the game stay the same when I rotate the phone?

The skill says orientation changes should not reset gameplay. The agent is asked to keep the current game state when the screen rotates.

Does this need a special phone app?

No. It is for games that run in a mobile web browser.

Details

Original description by the author

Build, tune, or test a Three.js game for mobile web. Use for touch movement, action controls, target selection, touch inventory, safe areas, portrait/landscape layouts, responsive HUD, battery/performance budgets, and real mobile browser QA.

repo: MengTo/Skills

Popularity

GitHub stars
7.2k
Ranking position
#13360
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills