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

platformer

하는 일

가로 스크롤 플랫포머를 만들고 점프 감각을 조정하는 과정을 안내합니다. 마리오풍이나 셀레스트풍 2D 게임을 만드는 게임 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓표면 사이를 뛰어 넘는 것이 핵심인 가로 스크롤 플랫포머를 만들고 있을 때.
  • ✓점프가 둥둥 뜨거나, 반응하지 않거나, 불공정하게 느껴져 조정이 필요할 때.
  • ✓벽 슬라이드, 벽 점프, 위험 요소, 체크포인트가 필요할 때.

스킬 링크

https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/genres/platformer/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“제 플랫포머의 점프가 굼뜨고, 플레이어가 발판을 자주 놓칩니다. 코요테 타임, 점프 버퍼링, 가변 점프 높이를 추가해 주시겠어요?”

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

작동 방식

에이전트는 달리기와 점프 조작을 조정한 뒤, 발판에서 떨어진 직후에도 점프할 수 있도록 코요테 타임을 추가합니다. 또 너무 일찍 누른 점프도 착지 때 실행되도록 점프 버퍼링을 더합니다. 가변 점프 높이와 모서리 보정도 추가합니다.

기술 내용 (원본 SKILL.md)

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

Platformer

A playbook for 2D platformers — the run/jump controller "feel", level structure, hazards, and goals. This is a compositional skill: it wires an engine movement skill, a tilemap skill, and design skills into a working game. It does not re-teach physics or tilemaps; it tells you what to build and how to make jumping feel good.

When to use

  • Use when building a side-scrolling or single-screen platformer, a "Mario-like" / "Celeste-like", or any game whose core verb is jump between surfaces.
  • Use when a jump feels floaty, unresponsive, or "unfair" and you need feel fixes (coyote time, jump buffering, variable height, corner correction).

When not to use: top-down movement with no gravity → use the engine movement skill directly. 3D first-person traversal → fps-shooter. Grid/turn movement → roguelike. For the raw kinematic body API, use godot-2d-movement (or your engine's controller skill).

Core loop

Observe a gap/hazard → commit to a jump or move → land safely (or die) → reach the next checkpoint/goal. A platformer lives or dies on the moment-to-moment feel of that single jump, repeated thousands of times. Tighten the controller first; everything else is content.

Must-have systems

  1. Run/jump controller — horizontal accel/decel, gravity, jump, with the feel aids below.
  2. Solid + one-way collision — ground, walls, and "jump-through" platforms.
  3. Level geometry — a tilemap or hand-placed colliders; the playable space.
  4. Hazards + death/respawn — spikes, pits, enemies; reset to the last checkpoint.
  5. Checkpoints / level goal — progress markers and a win condition (flag, door, exit).
  6. Camera — follows the player with a deadzone and look-ahead, clamped to level bounds.
  7. Juice — landing dust, squash/stretch, hit-stop, sound. Cheap, huge feel payoff.

Design knobs (make the jump feel right)

Tune these by outcome (height in tiles, time to apex in seconds), not by raw numbers.

Knob Effect Sane starting point
Max jump height reach 3–4 tiles
Time to apex "weight"/snappiness 0.30–0.40 s
Fall gravity multiplier snappy, non-floaty fall 1.5–2.0× rise gravity
Coyote time jump just after leaving a ledge 0.08–0.12 s (~5–7 frames @60)
Jump buffer press just before landing still jumps 0.10–0.15 s
Variable jump cut tap = short hop, hold = full cut upward velocity ×0.4–0.5 on release
Apex hang brief float at the top for air control reduce gravity ×0.5 near `
Ground accel / friction responsiveness vs. ice reach top speed in 0.05–0.1 s
Corner correction nudge past a ledge clipped by 1–2 px nudge up to ~4 px sideways
Wall slide / wall jump controlled descent and kick-off wall grace, kick/steering lock, air-jump refresh policy; see refs §9

Derive gravity and jump velocity from the feel values rather than guessing — see Pattern 1.

Patterns

1. Solve jump physics from height + time (not magic numbers)

# Pseudocode. Pick the FEEL you want, then derive the physics. y-axis points DOWN.
# From kinematics: h = (g * t^2) / 2  and  v0 = g * t.
JUMP_HEIGHT   = 3.5 * TILE      # how high, in world units
TIME_TO_APEX  = 0.35            # seconds to reach the top

gravity       = (2 * JUMP_HEIGHT) / (TIME_TO_APEX ** 2)   # rising gravity
jump_velocity = -(2 * JUMP_HEIGHT) / TIME_TO_APEX         # negative = upward
fall_gravity  = gravity * 1.8   # heavier on the way down → less floaty

2. Coyote time + jump buffer + variable height (the feel core)

For wall or air jumps, replace this simple jump resolver with the unified resolver in refs §9; keep variable-height and gravity integration only once per tick.

# Pseudocode in the per-frame update. dt = seconds since last frame.
# Timers count DOWN; refresh coyote while grounded, buffer on a fresh press.
if on_floor:
    coyote_timer = COYOTE_TIME           # 0.1
if jump_pressed_this_frame:
    buffer_timer = JUMP_BUFFER           # 0.12
coyote_timer -= dt
buffer_timer -= dt

# A jump is allowed if we pressed recently AND were grounded recently.
if buffer_timer > 0 and coyote_timer > 0:
    velocity.y   = jump_velocity
    buffer_timer = 0
    coyote_timer = 0                     # consume both so we can't double-jump

# Variable height: releasing jump early while still rising cuts the arc short.
if jump_released_this_frame and 
자주 묻는 질문

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

플레이어가 발판에서 달려 나간 직후에도 점프할 수 있게 해 주는 짧은 유예 시간입니다.

점프 버퍼링이란 무엇인가요?

착지 직전에 누른 점프 입력을 기억해, 착지하는 순간 점프가 실행되게 합니다.

탑다운 게임도 다루나요?

중력이 없는 탑다운 이동은 엔진 이동 스킬이 더 잘 다룹니다.

상세 정보

작성자의 원본 설명

Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, wall slide and wall jump, plus tiled levels and hazards. Use for a platformer or Mario/Celeste-like, or tuning jump feel.

repo: gamedev-skills/awesome-gamedev-agent-skills

인기도

GitHub 스타
6.6k
순위
#13809
라이선스
Apache-2.0
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬