Install any skill in seconds. Free to start, no credit card required.
Get Started Free →2D game development principles. Sprites, atlases, tilemaps, physics, cameras, and genre patterns (platformer, top-down). Use for canvas/Phaser/Kaplay/Pixi 2D games or guest viewports inside hybrid web apps.
.claude/skills/sickn33-2d-games/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-16 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 31% | 0% |
| case-22 | ✓→✓ | = Same ✓ | 2% | 0% |
| case-23 | ✓→✓ | = Same ✓ | -12% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 14% | 0% |
> Principles for 2D game systems. Pair with game-development/web-games / game-development/engine-selection for framework choice.
| Setup | 2D systems live… | |-------|------------------| | Full-screen 2D game | Entire app (Phaser/Kaplay/Pixi/Canvas) | | Hybrid DOM + challenges | Only inside guest viewports; tear down when done |
| Component | Purpose | |-----------|---------| | Atlas | Combine textures, reduce draw calls | | Animation | Frame sequences (often 8-24 FPS) | | Pivot | Rotation/scale origin | | Layering | Z-order control |
| Factor | Recommendation | |--------|----------------| | Size | 16x16, 32x32, 64x64 | | Auto-tiling | Use for terrain | | Collision | Simplified shapes |
| Layer | Content | |-------|---------| | Background | Non-interactive scenery | | Terrain | Walkable ground | | Props | Interactive objects | | Foreground | Parallax overlay |
| Shape | Use Case | |-------|----------| | Box | Rectangular objects | | Circle | Balls, rounded | | Capsule | Characters | | Polygon | Complex shapes |
| Type | Use | |------|-----| | Follow | Track player | | Look-ahead | Anticipate movement | | Multi-target | Two-player | | Room-based | Metroidvania | | Static | Board games, modal skill-checks |
| ❌ Don't | ✅ Do | |----------|-------| | Separate textures | Use atlases | | Complex collision shapes | Simplified collision | | Jittery camera | Smooth following | | Pixel-perfect on physics | Choose one approach | | Orphaned RAF/listeners after a guest closes | Full teardown |
> Remember: 2D is about clarity. Every pixel should communicate.
Use for canvas/Phaser/Kaplay/Pixi 2D systems, or guest viewports inside hybrid web apps.
User request:
> Use @2d-games for this task: 2D game development principles.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | pass→pass | 25,146 | 27,666 | +10% | 1 | 1 | 0% | 4,685 | 6,144 | +31% | 0 | 0 | — |
case-22 | pass→pass | 12,774 | 9,293 | -27% | 1 | 1 | 0% | 2,124 | 2,157 | +2% | 0 | 0 | — |
case-23 | pass→pass | 12,830 | 6,704 | -48% | 1 | 1 | 0% | 2,078 | 1,826 | -12% | 0 | 0 | — |
case-01 | fail→fail | 43,679 | 51,939 | +19% | 1 | 1 | 0% | 7,942 | 5,398 | -32% | 0 | 0 | — |
case-02 | fail→fail | 50,684 | 23,750 | -53% | 1 | 1 | 0% | 8,013 | 4,614 | -42% | 0 | 0 | — |
case-03 | pass→pass | 24,237 | 22,327 | -8% | 1 | 1 | 0% | 3,593 | 4,100 | +14% | 0 | 0 | — |
case-04 | pass→pass | 25,088 | 22,217 | -11% | 1 | 1 | 0% | 3,973 | 4,483 | +13% | 0 | 0 | — |
case-06 | pass→pass | 18,525 | 16,660 | -10% | 1 | 1 | 0% | 3,198 | 3,451 | +8% | 0 | 0 | — |
case-07 | pass→pass | 11,871 | 4,595 | -61% | 1 | 1 | 0% | 1,833 | 1,447 | -21% | 0 | 0 | — |
case-08 | pass→pass | 6,912 | 3,539 | -49% | 1 | 1 | 0% | 1,156 | 1,345 | +16% | 0 | 0 | — |
case-09 | pass→pass | 13,515 | 6,071 | -55% | 1 | 1 | 0% | 2,277 | 1,699 | -25% | 0 | 0 | — |
case-10 | pass→pass | 10,968 | 6,573 | -40% | 1 | 1 | 0% | 1,750 | 1,755 | +0% | 0 | 0 | — |
case-11 | pass→pass | 6,366 | 1,600 | -75% | 1 | 1 | 0% | 1,011 | 1,020 | +1% | 0 | 0 | — |
case-12 | pass→pass | 11,837 | 7,005 | -41% | 1 | 1 | 0% | 1,709 | 1,846 | +8% | 0 | 0 | — |
case-13 | pass→pass | 12,981 | 3,167 | -76% | 1 | 1 | 0% | 2,028 | 1,259 | -38% | 0 | 0 | — |
case-14 | fail→fail | 15,707 | 14,042 | -11% | 1 | 1 | 0% | 2,432 | 2,732 | +12% | 0 | 0 | — |
case-15 | pass→pass | 11,674 | 4,032 | -65% | 1 | 1 | 0% | 1,639 | 1,406 | -14% | 0 | 0 | — |
case-16 | fail→pass | 13,056 | 7,534 | -42% | 1 | 1 | 0% | 2,189 | 1,965 | -10% | 0 | 0 | — |
case-17 | pass→pass | 10,528 | 7,897 | -25% | 1 | 1 | 0% | 1,849 | 1,969 | +6% | 0 | 0 | — |
case-18 | pass→pass | 6,878 | 5,508 | -20% | 1 | 1 | 0% | 1,145 | 1,706 | +49% | 0 | 0 | — |
case-19 | fail→fail | 5,178 | 3,289 | -36% | 1 | 1 | 0% | 876 | 1,277 | +46% | 0 | 0 | — |
case-20 | pass→pass | 16,512 | 15,568 | -6% | 1 | 1 | 0% | 2,755 | 3,517 | +28% | 0 | 0 | — |
case-21 | pass→pass | 11,131 | 3,748 | -66% | 1 | 1 | 0% | 1,755 | 1,358 | -23% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +4 percentage points is the difference between those two pass rates over the 23 comparable cases.
The publisher has shipped newer versions since this run, so these numbers describe v1, not the version currently listed.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.