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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
Comments
- …
More skills from this repository
3d-cloth-material
7.2kHelps your agent build realistic woven fabric in Three.js, with thread weave, soft sheen, natural folds, hems and seams.
3d-falling-leaves
7.2kHelps your agent add realistic falling leaves to a 3D scene, with leaves that tumble, drift with the wind and recycle as the camera moves.
3d-four-seasons
7.2kHelps your agent add spring, summer, fall and winter looks to a 3D scene, changing foliage, light, sky and snow without rebuilding it.
3d-high-poly-models
7.2kHelps your agent build detailed 3D models with smooth shapes and believable edges, then prepare lighter versions that run well on the web.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.