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