Mobile games skill

Mobile game development principles.

by davila7·MIT license·★ 32,299 Stars on the repo·GitHub ↗

Use now

Files of Mobile games

davila7/main1 file shown
SKILL.md
Show the full text109 lines

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.

1---
2name: mobile-games
3description: Mobile game development principles. Touch input, battery, performance, app stores.
4allowed-tools: Read, Write, Edit, Glob, Grep
5---
6 
7# Mobile Game Development
8 
9> Platform constraints and optimization principles.
10 
11---
12 
13## 1. Platform Considerations
14 
15### Key Constraints
16 
17| Constraint | Strategy |
18|------------|----------|
19| **Touch input** | Large hit areas, gestures |
20| **Battery** | Limit CPU/GPU usage |
21| **Thermal** | Throttle when hot |
22| **Screen size** | Responsive UI |
23| **Interruptions** | Pause on background |
24 
25---
26 
27## 2. Touch Input Principles
28 
29### Touch vs Controller
30 
31| Touch | Desktop/Console |
32|-------|-----------------|
33| Imprecise | Precise |
34| Occludes screen | No occlusion |
35| Limited buttons | Many buttons |
36| Gestures available | Buttons/sticks |
37 
38### Best Practices
39 
40- Minimum touch target: 44x44 points
41- Visual feedback on touch
42- Avoid precise timing requirements
43- Support both portrait and landscape
44 
45---
46 
47## 3. Performance Targets
48 
49### Thermal Management
50 
51| Action | Trigger |
52|--------|---------|
53| Reduce quality | Device warm |
54| Limit FPS | Device hot |
55| Pause effects | Critical temp |
56 
57### Battery Optimization
58 
59- 30 FPS often sufficient
60- Sleep when paused
61- Minimize GPS/network
62- Dark mode saves OLED battery
63 
64---
65 
66## 4. App Store Requirements
67 
68### iOS (App Store)
69 
70| Requirement | Note |
71|-------------|------|
72| Privacy labels | Required |
73| Account deletion | If account creation exists |
74| Screenshots | For all device sizes |
75 
76### Android (Google Play)
77 
78| Requirement | Note |
79|-------------|------|
80| Target API | Current year's SDK |
81| 64-bit | Required |
82| App bundles | Recommended |
83 
84---
85 
86## 5. Monetization Models
87 
88| Model | Best For |
89|-------|----------|
90| **Premium** | Quality games, loyal audience |
91| **Free + IAP** | Casual, progression-based |
92| **Ads** | Hyper-casual, high volume |
93| **Subscription** | Content updates, multiplayer |
94 
95---
96 
97## 6. Anti-Patterns
98 
99| ❌ Don't | ✅ Do |
100|----------|-------|
101| Desktop controls on mobile | Design for touch |
102| Ignore battery drain | Monitor thermals |
103| Force landscape | Support player preference |
104| Always-on network | Cache and sync |
105 
106---
107 
108> **Remember:** Mobile is the most constrained platform. Respect battery and attention.
109 

Discussion