mobile-games
它能做什么
这项技能可以帮你了解开发手机游戏会遇到的挑战,包括触屏操作如何运作、如何节省电量和防止过热,以及把游戏上架应用商店需要做哪些准备。
适用场景
- ✓在把游戏适配到手机上、让体验更好时。
- ✓在考虑玩家如何用触摸操作游戏时。
- ✓在准备把游戏发布到 App Store 或 Google Play 时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/mobile-games/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“给我讲讲手机游戏开发的基本原则。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能会分析手机的限制,比如触摸屏和电池续航,并给出游戏优化的最佳实践。它还会列出在应用商店发布游戏的基本要求。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Mobile Game Development
Platform constraints and optimization principles.
1. Platform Considerations
Key Constraints
| Constraint | Strategy |
|---|---|
| Touch input | Large hit areas, gestures |
| Battery | Limit CPU/GPU usage |
| Thermal | Throttle when hot |
| Screen size | Responsive UI |
| Interruptions | Pause on background |
2. Touch Input Principles
Touch vs Controller
| Touch | Desktop/Console |
|---|---|
| Imprecise | Precise |
| Occludes screen | No occlusion |
| Limited buttons | Many buttons |
| Gestures available | Buttons/sticks |
Best Practices
- Follow the platform accessibility target size (for example, iOS points and Android dp are different units)
- Visual feedback on touch
- Avoid precise timing requirements
- Support the orientations chosen for the product; test rotation and safe areas where enabled
3. Performance Targets
Thermal Management
| Action | Trigger |
|---|---|
| Reduce quality | Device warm |
| Limit FPS | Device hot |
| Pause effects | Critical temp |
Battery Optimization
- 30 FPS often sufficient
- Sleep when paused
- Minimize GPS/network
- Dark mode saves OLED battery
4. App Store Requirements
iOS (App Store)
| Requirement | Note |
|---|---|
| Privacy labels | Required |
| Account deletion | If account creation exists |
| Screenshots | Required submission sizes for supported devices |
Android (Google Play)
| Requirement | Note |
|---|---|
| Target API | Current Play target-level deadline for this application |
| 64-bit | Required |
| App bundles | Check mandatory format and exceptions for the submission |
5. Monetization Models
| Model | Best For |
|---|---|
| Premium | Quality games, loyal audience |
| Free + IAP | Casual, progression-based |
| Ads | Hyper-casual, high volume |
| Subscription | Content updates, multiplayer |
6. Anti-Patterns
| ❌ Don't | ✅ Do |
|---|---|
| Desktop controls on mobile | Design for touch |
| Ignore battery drain | Monitor thermals |
| Force landscape | Support player preference |
| Always-on network | Cache and sync |
Remember: Mobile is the most constrained platform. Respect battery and attention.
When to Use
Use when adapting gameplay to touch controls, mobile interruptions, battery and thermal constraints, or preparing a store submission.
Example
User request:
Use @mobile-games for this task: Mobile game development principles.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Verification
Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.
常见问题
为什么触控操作和电脑操作不一样?
触控操作的精确度较低,会遮挡部分屏幕,而且按键数量也更少。手机游戏设计时需要考虑这些因素,比如使用更大的触控区域,并提供视觉反馈。
游戏怎样省电?
减少处理器和图形渲染的负担,避免不必要的 GPS 或网络使用,并在不游玩时让游戏进入休眠状态。在 OLED 屏幕上,深色主题也有帮助。
手机游戏中的“反模式”是什么?
指那些在手机上效果不好的常见做法。例子包括直接把电脑操作方式搬到触屏上、忽视手机发烫的问题,或者强制游戏只能横屏运行而不给玩家选择。
详情
作者的原始描述
Mobile game development principles. Touch input, battery, performance, app stores.
热度
- GitHub 星标
- 48k
- 排名
- #4688
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。