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

2d-games

하는 일

이 도구는 2D 게임을 만드는 데 도움을 줍니다. 캐릭터를 움직이는 방법, 타일맵 사용, 카메라 설정, 물리 적용을 설명하며, 모두 브라우저나 앱에서 실행되는 게임을 위한 것입니다.

사용하는 경우

  • ✓특별한 점프 메커니즘이 있는 플랫폼 게임을 만들 때.
  • ✓자유로운 이동이 가능한 탑다운 게임을 개발할 때.
  • ✓더 큰 앱 안에 작은 2D 게임 영역을 추가할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/2d-games/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/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. Pair with game-development/web-games / game-development/engine-selection for framework choice.


Shell vs guest (web)

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

1. Sprite Systems

Component Purpose
Atlas Combine textures, reduce draw calls
Animation Frame sequences (often 8-24 FPS)
Pivot Rotation/scale origin
Layering Z-order control

Animation Principles

  • Squash and stretch for impact
  • Anticipation before action
  • Follow-through after action

2. Tilemap Design

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

3. 2D Physics

Shape Use Case
Box Rectangular objects
Circle Balls, rounded
Capsule Characters
Polygon Complex shapes
  • Choose a movement/collision model per mechanic; pixel-art rendering can coexist with physics
  • Fixed timestep for consistency
  • Layers for filtering

4. Camera Systems

Type Use
Follow Track player
Look-ahead Anticipate movement
Multi-target Two-player
Room-based Metroidvania
Static Board games, modal skill-checks

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
  • Decide whether rotation matters

6. Anti-Patterns

❌ Don't ✅ Do
Separate textures Use atlases
Complex collision shapes Simplified collision
Jittery camera Smooth following
Uncoordinated movement and physics Define one authority per body
Orphaned RAF/listeners after a guest closes Full teardown

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

When to Use

Use for canvas/Phaser/Kaplay/Pixi 2D systems, or guest viewports inside hybrid web apps.

Example

User request:

Add coyote time and jump buffering to our platformer while preserving the fixed physics timestep and testing corner collisions.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

「아틀라스」란 무엇인가요?

여러 개의 작은 이미지를 하나의 큰 이미지로 합친 것입니다. 게임이 더 빨리 로드되고 더 잘 실행되도록 합니다.

「타일맵」이란 무엇인가요?

작은 블록(타일)으로 만든 지도입니다. 옛날 게임처럼 배경을 효율적으로 만들 때 사용합니다.

「코요테 타임」이란 무엇인가요?

플레이어가 발판에서 살짝 벗어나도 점프할 수 있도록 게임이 주는 작은 '도움'입니다. 게임을 더 너그럽게 만들어 줍니다.

상세 정보

작성자의 원본 설명

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.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4682
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬