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

rpg

하는 일

캐릭터가 성장하고, 장비를 모으고, 퀘스트를 받는 롤플레잉 게임을 만드는 과정을 안내합니다. RPG, JRPG, 액션 RPG를 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓능력치가 성장하고 장비가 중요한 RPG를 만들 때.
  • ✓인벤토리, 장비 슬롯, 퀘스트 상태 시스템이 필요할 때.
  • ✓공정하게 느껴지는 레벨업 곡선과 피해 공식이 필요할 때.

스킬 링크

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

AI에게 요청하는 예시

“RPG를 만들고 있어요. 캐릭터 레벨, 장비가 있는 간단한 인벤토리, 진행 상황을 추적하는 퀘스트를 설정해 주시겠어요?”

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

작동 방식

에이전트는 능력치와 레벨업 곡선을 정의하고, 인벤토리와 장비 모델을 추가하며, 퀘스트 상태 기계를 만듭니다. 대화와 전투를 같은 데이터에 연결하고 진행 상황을 저장합니다.

기술 내용 (원본 SKILL.md)

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

RPG

A playbook for role-playing games — stats and progression, inventory/equipment, quests, dialogue, and combat. This is a compositional skill: it ties data-driven content, dialogue, and saving together. It does not re-teach those primitives; it defines the systems that make growth and choice feel meaningful, and points to the skills that implement each.

These systems also apply to custom/proprietary engines. Keep the project's engine and bind the concepts below to its documented data, events, UI, and save interfaces. Inspect local source/SDK examples before choosing APIs; the router's custom-engine fallback guides that mapping. Godot/Unity bindings below are examples, not prerequisites.

When to use

  • Use when building an RPG/JRPG/action-RPG: the player has stats that grow, an inventory, quests, dialogue, and persistent progress.
  • Use when designing a leveling curve, a damage formula, an inventory/equipment model, or a quest state machine.

When not to use: permadeath dungeon runs with no persistent character → roguelike. Pure conversation/branching story → visual-novel. Open-world needs/crafting/base-building → survival-crafting. For the dialogue engine itself, use dialogue-systems.

Core loop

Explore → encounter (fight / talk / solve) → earn rewards (XP, loot, story) → grow (level up, gear up, unlock) → take on harder content. The fantasy is getting stronger and shaping who your character is; every system should feed that growth-and-choice loop.

Must-have systems

  1. Stats + leveling — base attributes, derived combat stats, XP curve, level-up gains.
  2. Inventory + equipment — data-defined items, stacking, slots, stat modifiers.
  3. Combat — turn-based or action; damage formula, status effects, win/loss.
  4. Quests — objectives, state machine (available→active→complete→turned-in), rewards.
  5. Dialogue — branching lines, conditions on game state, choices that matter.
  6. Save/load — persist character, inventory, quest progress, world flags, with versioning.
  7. Economy + progression gating — gold/shops; gate power behind level/quest/region.
  8. UI — HUD, inventory, quest log, dialogue box, character sheet.

Design knobs

Knob Effect Notes
XP curve shape pacing of power Fast early, slow late (see refs).
Stat→derived scaling build diversity One attribute shouldn't dominate.
Damage formula tactical feel Subtractive vs. ratio mitigation (refs).
Random variance / crit swinginess ±10% and ~1.5× crit are safe defaults.
Drop rates / economy reward cadence Avoid trivializing shops with loot.
Power gating difficulty gating Level/region/quest locks.
Reversible modifiers buff/gear correctness Layer mods; never edit base stats.
Choice consequence role-play weight Quest/dialogue flags should branch outcomes.

Patterns

1. Derived stats from base attributes (recompute, never store as truth)

# Pseudocode. Base attributes are the only "truth"; combat stats are derived each time.
def derive(base, mods):
    s = apply_modifiers(base, mods)          # base + flat adds + percent, then clamp
    return {
        "max_hp":  20 + s["VIT"] * 8,
        "attack":  s["STR"] * 2,
        "defense": s["VIT"] + s["AGI"] * 0.5,
    }
# Equipping pushes a modifier; unequipping pops it. HP/attack recompute automatically.

2. XP curve + level-up

# Pseudocode. Quadratic curve: fast early levels, long late ones.
def xp_to_next(level, base=100): return base * level * level

def gain_xp(actor, amount):
    actor.xp += amount
    while actor.xp >= xp_to_next(actor.level):
        actor.xp -= xp_to_next(actor.level)
        actor.level += 1
        actor.base["STR"] += 2; actor.base["VIT"] += 2   # grant gains / skill points
        on_level_up(actor)                                # heal, unlock, notify

3. Quest objective update driven by game events

# Pseudocode. Game events advance matching objectives; completion grants rewards.
def on_event(kind, data):
    for q in active_quests:
        if q.state != "active": continue
        for obj in q.objectives:
            if obj.event == kind and matches(obj, data) and not obj.done:
                obj.count = min(obj.count + 1, obj.needed)
                if obj.count >= obj.needed: obj.done = True
        if all(o.done for o in q.objectives):
            q.state =
자주 묻는 질문

직접 만든 게임 엔진에도 쓸 수 있나요?

네. 이 개념은 커스텀 엔진의 데이터, 이벤트, UI에 맞게 옮길 수 있다고 스킬은 설명합니다.

대화도 다루나요?

네. 대화 엔진은 RPG 스킬이 가리키는 대화 시스템 스킬에서 다룹니다.

영구 사망 판에도 쓸 수 있나요?

아니요. 남는 캐릭터가 없는 영구 사망 던전 판은 로그라이크 스킬이 더 잘 맞습니다.

상세 정보

작성자의 원본 설명

Build an RPG: stats and leveling, inventory and equipment, quests, branching dialogue, save/load, and combat. Use for an RPG/JRPG, or designing stat, inventory, quest, or combat systems.

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

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬