2d-games

Define 2D game development guidelines for sprites, tilemaps, physics, and camera systems.

1|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/barbosakjn/finance-app --skill 2d-games-barbosakjn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 2d-games
Source: https://github.com/barbosakjn/finance-app/tree/main/.agent/workflows/.agent/skills/game-development/2d-games
Command: npx skills add https://github.com/barbosakjn/finance-app --skill 2d-games-barbosakjn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured set of 2D game development principles to guide teams in designing sprites, tilemaps, physics, and camera systems.

Core Features & Use Cases

  • Sprite organization: Atlas, Animation, Pivot, Layering
  • Animation principles: Frame rate, squash and stretch, anticipation, follow-through
  • Tilemap design: Tile sizes, auto-tiling, collision, layers (Background, Terrain, Props, Foreground)
  • 2D physics: Collision shapes, physics considerations, fixed timestep, layer filtering
  • Camera systems: camera types, look-ahead, multi-target, room-based, screen shake guidelines
  • Genre patterns & anti-patterns: Platformer and Top-down patterns; common pitfalls

Quick Start

Consult this guide at project start to establish 2D asset structure, physics rules, and camera conventions.

Frequently Asked Questions about 2d-games

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

FAQPage Schema
What are the best practices for 2D game development covering sprites and physics?▼

Best practices for 2D game development involve structured guidelines for sprite organization, tilemap layering, collision shapes, and fixed timestep physics to ensure consistent gameplay and asset management.

How do I organize 2D game assets like sprites and tilemaps for a team project?▼

To organize 2D game assets, you should establish a clear asset structure using sprite atlases, pivot points, and distinct tilemap layers such as Background, Terrain, Props, and Foreground at project start.

How does a 2D camera system with look-ahead and screen shake work?▼

A 2D camera system works by applying specific behavior guidelines for camera types, including look-ahead bias, multi-target tracking, room-based transitions, and structured screen shake to enhance game feel.

What 2D physics rules should I set up for collision shapes and tilemaps?▼

2D physics rules require defining collision shapes, implementing a fixed timestep for stable interactions, and applying layer filtering to manage collisions between different tilemap and sprite layers.

What are common anti-patterns and pitfalls in 2D platformer and top-down game design?▼

Common anti-patterns in 2D platformer and top-down game design include improper tilemap collision setups, unmanaged sprite layering, and camera behaviors that lack proper look-ahead or screen shake constraints.

Can these 2D game design principles apply to both indie and studio teams?▼

Yes, these 2D game design principles apply to both indie and studio teams, offering practical examples and structured guidance for prototyping and designing 2D games across various development scales.