본문으로 건너뛰기
Skillpedia
일반 코딩33k · #8690

2d-games

하는 일

이 스킬은 AI 에이전트에게 2D 게임 제작의 핵심 원칙을 제공합니다. 애니메이션, 레벨 배치, 충돌, 카메라 동작을 다룹니다. 횡스크롤 게임이나 다른 2D 게임을 만드는 사람을 위한 것입니다.

사용하는 경우

  • ✓2D 캐릭터의 스프라이트 애니메이션을 설계해 달라고 요청할 때.
  • ✓타일로 레벨을 만들고 있고 레이어에 대한 조언이 필요할 때.
  • ✓충돌을 설정하거나 플레이어를 따라가는 카메라가 필요한 경우.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/game-development/2d-games/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/game-development/2d-games/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 2D 플랫포머에서 플레이어를 따라가는 카메라를 설정하도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 2D 게임의 각 부분에 대한 지침을 에이전트에게 제공합니다. 에이전트는 이 지침을 바탕으로 게임 코드를 작성하거나 검토할 때 실용적인 선택을 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

2D Game Development

Principles for 2D game systems.


1. Sprite Systems

Sprite Organization

Component Purpose
Atlas Combine textures, reduce draw calls
Animation Frame sequences
Pivot Rotation/scale origin
Layering Z-order control

Animation Principles

  • Frame rate: 8-24 FPS typical
  • Squash and stretch for impact
  • Anticipation before action
  • Follow-through after action

2. Tilemap Design

Tile Considerations

Factor Recommendation
Size 16x16, 32x32, 64x64
Auto-tiling Use for terrain
Collision Simplified shapes

Layers

Layer Content
Background Non-interactive scenery
Terrain Walkable ground
Props Interactive objects
Foreground Parallax overlay

3. 2D Physics

Collision Shapes

Shape Use Case
Box Rectangular objects
Circle Balls, rounded
Capsule Characters
Polygon Complex shapes

Physics Considerations

  • Pixel-perfect vs physics-based
  • Fixed timestep for consistency
  • Layers for filtering

4. Camera Systems

Camera Types

Type Use
Follow Track player
Look-ahead Anticipate movement
Multi-target Two-player
Room-based Metroidvania

Screen Shake

  • Short duration (50-200ms)
  • Diminishing intensity
  • Use sparingly

5. Genre Patterns

Platformer

  • Coyote time (leniency after edge)
  • Jump buffering
  • Variable jump height

Top-down

  • 8-directional or free movement
  • Aim-based or auto-aim
  • Consider rotation or not

6. Anti-Patterns

❌ Don't ✅ Do
Separate textures Use atlases
Complex collision shapes Simplified collision
Jittery camera Smooth following
Pixel-perfect on physics Choose one approach

Remember: 2D is about clarity. Every pixel should communicate.

자주 묻는 질문

이 스킬이 게임 전체를 만들어 주나요?

아니요. 원칙에 대한 지침을 제공하며, 프로젝트의 코드는 에이전트가 작성합니다.

어떤 게임 엔진을 사용하나요?

스킬은 일반적인 2D 원칙에 중점을 두므로, 사용하는 엔진이나 도구를 에이전트에게 알려 주세요.

애니메이션에 대해 무엇을 말하나요?

더 부드러운 움직임을 위해 프레임 속도, 스쿼시와 스트레치, 예비 동작과 후속 동작을 다룹니다.

상세 정보

작성자의 원본 설명

2D game development principles. Sprites, tilemaps, physics, camera.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8690
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬