2d-games

Design 2D game systems for sprites, tilemaps, physics, and cameras.

3|2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/grasberg/sofia --skill 2d-games-grasberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 2d-games
Source: https://github.com/grasberg/sofia/tree/main/cmd/sofia/internal/onboard/antigravity-kit/.agent/skills/game-development/2d-games
Command: npx skills add https://github.com/grasberg/sofia --skill 2d-games-grasberg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Two-dimensional game development often lacks a cohesive, reusable framework for organizing sprites, tilemaps, physics, and camera systems.

Core Features & Use Cases

  • Sprite Systems: Atlas organization, animation, pivots, and layering for reliable visual composition.
  • Tilemap Design: Tile sizing, auto-tiling, collision shapes, and layered scenery.
  • 2D Physics: Collision shapes, physics timing, and integration guidance.
  • Camera Systems: Follow, look-ahead, multi-target, and room-based camera behavior for varied genres.
  • Genre Patterns & Anti-Patterns: Platformers and top-down patterns with common pitfalls and remedies.

Quick Start

Describe a complete 2D game system covering sprites, tilemaps, physics, and camera behavior.

Frequently Asked Questions about 2d-games

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize 2D game sprites and tilemaps for a platformer?

Design 2D tilemaps by standardizing tile sizing, applying auto-tiling rules, and defining collision shapes. Layered scenery organization prevents visual errors and ensures robust physical interactions in indie game development.

What is the best way to implement 2D game camera behavior for different genres?

Implement 2D game camera behavior using follow, look-ahead, multi-target, and room-based camera systems. These camera types adapt smoothly to varied gameplay patterns in both platformers and top-down games.

How does 2D physics integration work with custom collision shapes?

2D physics integration works by defining precise collision shapes and managing physics timing. Properly configured physical interactions prevent common gameplay pitfalls and ensure robust sprite movement.

What are common anti-patterns in 2D game development and how do I fix them?

Common 2D game development anti-patterns include poor sprite organization, inconsistent tile sizing, and misconfigured camera behavior. Applying established genre patterns and remedies resolves these structural pitfalls effectively.

Can I use these 2D game development principles for educational projects?

Yes, these 2D game development principles suit educational projects requiring clear organization. The framework enforces guidance on sprite workflows, physics shapes, and camera systems for solid fundamental architecture.