davila7/claude-code-templates / cli-tool/components/skills/creative-design/game-development
game-development
VerifiedUse when building, fixing or tuning any video game. Invoke it before writing or changing game code (game loop, movement, physics, input, enemies, levels), in any engine (Godot, Unity, Unreal, Phaser, PixiJS, Three.js, Babylon.js, raw Canvas/WebGL) or platform (web, mobile, PC/console, VR/AR). Covers the game loop, fixed timestep, input mapping, frame budgets, AI, collision and game feel, and points to reference guides for 2D, 3D, game design, multiplayer, art and audio.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.8 KB |
| references/2d-games.md | markdown | 2.0 KB |
| references/3d-games.md | markdown | 2.4 KB |
| references/game-art.md | markdown | 4.8 KB |
| references/game-audio.md | markdown | 5.1 KB |
| references/game-design.md | markdown | 2.6 KB |
| references/mobile-games.md | markdown | 2.3 KB |
| references/multiplayer.md | markdown | 2.6 KB |
| references/pc-games.md | markdown | 2.9 KB |
| references/vr-ar.md | markdown | 2.3 KB |
| references/web-games.md | markdown | 3.1 KB |
references/mobile-games.md
View on 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 and save on background (calls, notifications, app switch) |
---
## 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
- Minimum touch target: 44x44 pt (Apple HIG), 48x48 dp (Android Material)
- Keep controls out of notches and home-indicator areas (safe areas)
- Visual feedback on touch
- Avoid precise timing requirements
- Support both portrait and landscape
---
## 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 | For all device sizes |
### Android (Google Play)
| Requirement | Note |
|-------------|------|
| Target API | Within one year of the latest Android release (see Play's target API policy) |
| 64-bit | Required |
| App bundles | Recommended |
---
## 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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |