mobile-games
Scannednpx machina-cli add skill vudovn/antigravity-kit/mobile-games --openclawFiles (1)
SKILL.md
2.2 KB
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
- Minimum touch target: 44x44 points
- 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 | Current year's SDK |
| 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.
Source
git clone https://github.com/vudovn/antigravity-kit/blob/main/.agent/skills/game-development/mobile-games/SKILL.mdView on GitHub Overview
This skill defines platform constraints and optimization principles for mobile games. It covers touch input, battery and thermal management, responsive UI across screen sizes, interruptions, app store requirements, and monetization models.
How This Skill Works
The skill translates platform constraints into actionable design rules: optimize touch interactions with large hit targets and gestures, throttle CPU/GPU to stay cool, and pause on background. It also prescribes store compliance checks (privacy labels, 64-bit support, screenshots) and appropriate monetization models.
When to Use It
- Designing for touch-first mobile devices with limited battery and thermal headroom.
- Preparing a mobile game's UI for multiple screen sizes and orientations.
- Optimizing performance to keep FPS around 30 and conserve battery.
- Ensuring app store compliance during submission (privacy labels, screenshots, 64-bit, etc.).
- Choosing monetization models and avoiding common mobile anti-patterns.
Quick Start
- Step 1: Assess device constraints including touch targets, battery, thermal, screen sizes, and interruptions.
- Step 2: Implement touch UX and performance guards: target sizes, visual feedback, FPS cap, and background pause.
- Step 3: Validate store readiness: privacy labels, screenshots for all devices, 64-bit on Android, and current target SDK.
Best Practices
- Design for touch with large hit targets and gestures (minimum 44x44 points).
- Provide visual feedback on touch actions to confirm input.
- Avoid precise timing requirements that hinder responsive play.
- Support both portrait and landscape orientations for flexible gameplay.
- Pause on background interruptions and throttle resources when the device is hot to protect battery and performance.
Example Use Cases
- Puzzle game uses 44x44 tap targets and clear touch feedback for all actions.
- Racing game caps FPS and throttles quality when the device overheats.
- RPG supports both portrait and landscape, and offers dark mode to save OLED battery.
- Mobile game pauses automatically when sent to the background and resumes on return.
- Studio ensures iOS privacy labels, screenshots for all device sizes, and Android 64-bit support.
Frequently Asked Questions
Add this skill to your agents