跳到正文
Skillpedia
移动应用7.2k · #13360

build-mobile-threejs-games

它能做什么

这个技能帮助 AI 智能体为手机和平板构建并测试 3D 网页游戏。适合希望触屏控制和屏幕在竖屏与横屏下都能正常工作的游戏制作者。

适用场景

  • ✓你希望网页游戏在手机上能用触屏控制的时候。
  • ✓你需要游戏界面和按钮在竖屏和横屏下都能正常显示的时候。
  • ✓游戏在移动设备上运行缓慢、需要性能检查的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-mobile-threejs-games/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请让我的 3D 网页游戏在手机上易于操作,有大的触屏按钮和清晰的屏幕。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会为每种屏幕方向设置触屏移动、动作按钮和布局。然后,它会在手机尺寸的视图中测试游戏,并检查速度和电量消耗。

技术内容(原始 SKILL.md)

作者在 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.

常见问题

智能体会在手机上测试什么?

它会检查触控目标、多指输入、音频启动、从后台返回的情况以及减少动态效果的设置。它还会检查长时间游玩的情况。

旋转手机时,游戏会保持不变吗?

技能说明,屏幕方向变化不应重置游戏进度。智能体需要在屏幕旋转时保持当前的游戏状态。

这需要专门的手机应用吗?

不需要。它面向在手机网页浏览器中运行的游戏。

详情

作者的原始描述

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

热度

GitHub 星标
7.2k
排名
#13360
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能