The Red Scarf: Claude Code, Tripo, Godot로 만드는 3D 게임

The Red Scarf: Claude Code, Tripo, Godot로 만드는 3D 게임

Claude Code, Tripo CLI, Godot MCP 서버로 Godot 4에서 플레이 가능한 3D 보스전을 만드는 방법을 알아보세요. AI 3D 에셋 생성과 GLB 가져오기부터 게임플레이 스크립트, 테스트, 최적화까지 다룹니다.

Louis Li
고급기타

시작은 빨간 목도리를 두른 소년과 인적 없는 1980년대 미국 소도시였습니다. 얼굴 없는 조각상이 건물을 뜯어 하늘로 끌어올립니다. 이 아이디어는 Godot에서 직접 플레이할 수 있는 3인칭 액션 데모가 되었습니다.

Claude는 기획, 스크립트 작성, 테스트를 도왔고, Tripo는 콘셉트 이미지, 모델, 리깅, 애니메이션을 제공했습니다. 저는 프로젝트를 지휘하고 Godot에서 조립된 게임을 검토했습니다.

이 튜토리얼은 AI를 활용한 3D 게임 개발의 전체 과정을 보여 줍니다. Claude로 기획하고 GDScript를 작성하며, Tripo CLI로 게임용 3D 에셋을 생성하고, Godot MCP를 통해 Claude가 Godot 프로젝트를 살펴보고 실행하며 디버깅하도록 합니다.

프로젝트 구성

  • 엔진: Godot 4.7.2, Forward+
  • AI 코딩 도우미: Claude Code
  • 이미지 생성: Tripo 이미지 생성
  • 3D 생성: Tripo P 시리즈 및 H 시리즈 모델
  • 프로젝트: The Red Scarf, 짧은 3인칭 보스전 데모
The Red Scarf: 직접 플레이할 수 있는 보스전.
The Red Scarf: 직접 플레이할 수 있는 보스전.

완성된 데모의 플레이 방식

소년은 중심가를 따라 마을에 들어옵니다. 광장에 도착하면 얼굴 없는 조각상이 충격파를 내보내고 건물을 자기 주위의 나선으로 끌어당깁니다.

플레이어는 점프, 공중 부양, 목도리 도약으로 떠 있는 상점을 올라갑니다. 빛나는 투사체를 패링하면 조각상의 보호막이 잠시 깨지며, 주변 물건을 던져 피해를 줍니다. 세 차례를 거치면 소년은 조각상에 도달해 봉인할 수 있습니다.

1. 도구와 프로젝트 설정하기

1.1 Claude Code에 프로젝트 기억 제공하기

Godot 프로젝트, 기획 문서, 콘셉트, Tripo 모델, 스크립트를 한곳에 보관했습니다. 루트의 CLAUDE.md에는 Claude Code가 여러 세션에 걸쳐 따라야 할 규칙을 기록했습니다.

핵심 내용은 다음과 같습니다.

  • 게임, 분위기, 시각적 방향을 설명합니다.
  • 일관된 스타일, 불필요한 기호나 글자 금지 등 에셋 규칙을 나열합니다.
  • 큰 변경 전에는 계획을 요구합니다.
  • 프롬프트 이력을 보관합니다.
  • 반복되는 함정과 프로젝트 관례를 발견할 때마다 기록합니다.

메시의 정점 순서, 모델 방향, 애니메이션 이름, 목도리 도약 목표 규칙 등 반복해서 쓰는 수정 사항도 같은 파일에 추가했습니다. 이후 세션에서 재사용할 수 있습니다.

1.2 3D 게임 에셋을 위해 Tripo CLI와 Claude Code 연결하기

명령줄에서 3D 게임 에셋을 생성하기 위해 Claude에게 Tripo CLI 설치와 설정을 요청했습니다. 덕분에 Tripo 에셋 파이프라인을 반복 실행하고 Godot 프로젝트 안에서 자동화하기가 쉬워졌습니다.

프로젝트 프롬프트

text
Help me install and configure Tripo CLI: npm install -g tripo-cli

1.3 Claude Code용 Godot MCP 서버 설정하기

Claude Code는 텍스트 기반 Godot 장면과 GDScript를 직접 수정할 수 있습니다. 모델 컨텍스트 프로토콜로 연결한 Godot MCP 서버를 사용하면 게임 실행, 스크린샷 촬영, 로그 확인, 입력 시뮬레이션도 가능해 실용적인 Godot 4 개발 도구가 됩니다.

Claude에게 현재 열린 장면과 노드 트리를 보고하도록 한 뒤, MCP 포트와 프로젝트를 제 설정과 비교해 연결을 확인했습니다.

작업 흐름 점검: Claude Code는 기획과 코드, Tripo CLI는 텍스트 기반 3D 에셋 생성, Godot MCP는 편집기와 실행 중 상태 점검을 담당합니다. 역할을 구분하면 실패 원인을 파악하기 쉽습니다.

프로젝트 프롬프트

text
Compare the Godot MCP servers that are available right now and pick the one that fits this
project best (Godot 4.7, Claude Code, editor control plus running and inspecting the game).
Explain your choice, then install it into the_red_scarf/ and configure it at project scope
(.mcp.json in the project root). Turn telemetry off.

2. 아이디어를 테스트 가능한 게임으로 줄이기

2.1 설계를 작성한 뒤 범위 줄이기

Claude의 첫 설계에는 마을, 이동, 보스 공격, 레벨 흐름이 포함되어 있었지만, 짧은 데모에는 단계와 목도리 능력이 너무 많았습니다.

프로젝트 프롬프트

text
I'm making a game demo with Claude, Tripo and Godot. Here's the idea:

The player is a boy in a bright red scarf, a gray hoodie, blue denim shorts and bright yellow
basketball sneakers. The scarf is a supernatural object: he can hover with it, move quickly
between platforms, grab objects and throw them, and use it as a whip.
The game starts on the main street of a mid-1980s American small town: one main road, houses
and shops on both sides (post office, gym, diner and so on). In the central plaza stands a
statue of a man in a suit whose face has been erased. It is a hostile supernatural object.
When the boy arrives, it releases a shockwave and slowly rises into the sky. The houses around
it are torn out of the ground and end up as floating platforms at different heights. The player
jumps between them, blocks the objects the statue hurls with telekinesis, fights back, and
finally reaches the statue and seals it with the scarf.

Write a short design doc in design/game_design.md: building types, the boss's attacks in two
phases, the boy's attacks, defense and movement moves, and the level flow.
Show me your plan first. Ask me if anything is unclear.

이 게임의 느낌을 유지하는 가장 작은 반복 구조로 줄였습니다.

프로젝트 프롬프트

text
Simplify the combat:
1. The boss has only one phase.
2. Remove the scarf shield and the scarf whip.
3. New loop: the player moves across floating buildings and can only break the statue's shield
   by parrying its attacks (right click / RT, like a fighting-game parry). Once the shield is
   down, the player throws objects at it to deal damage.

전투를 하나의 보스 단계로 축소했습니다. 패링으로 보호막을 깨고, 노출 시간 동안 물건을 던지며, 떠 있는 마을은 이동 도전으로 활용합니다. 남은 모든 동작은 이 구조에 기여해야 했습니다.

2.2 데이터로 마을 만들기

Claude는 타원형 마을을 매개변수 기반 SVG로 생성하는 Node 스크립트를 작성했습니다. 중심가, 상점 열두 곳, 주택가 도로, 공원, 주차장, 광장을 담았습니다.

같은 스크립트에서 Godot 블록아웃, 건물, 도로, 가로등, 나무에 사용할 JSON도 내보냈습니다. 이로써 콘셉트 아트와 플레이 가능한 레벨이 하나의 배치를 공유했습니다.

주차장 크기, 뒷마당 깊이, 상점 출입구 등 매개변수를 한 번에 하나씩 수정해 변경을 검토하기 쉽게 했습니다.

프로젝트 프롬프트

text
Here's the town I have in mind. The street grid is a grid inside an oval outline:
- The long axis of the oval is the widest street, Main St, lined with functional buildings
  like the post office and the gym.
- The other streets run perpendicular to Main St on both sides, lined with houses.
- The center of the oval is a round plaza; the statue stands on a concrete pedestal in the middle.
- Asphalt streets with lane markings. Raised concrete sidewalks in front of the shops, with
  American red ash street trees at regular intervals.

Design the town structure, fill in the details I didn't mention and improve the design.
Draw it as a top-down plan with a Node script (tools/townplan/gen_town_svg.mjs) that generates
an SVG from parameters kept at the top of the file.
배치의 원본으로 사용한 매개변수 기반 마을 평면도.
배치의 원본으로 사용한 매개변수 기반 마을 평면도.

2.3 시각적 방향 정하기

배치를 엄격한 참조로 삼아 위에서 내려다본 일러스트를 만들고, 도로, 필지, 건물 윤곽, 나무, 마을 외곽선을 유지했습니다.

첫 45도 시점은 지도를 기울인 것처럼 보였습니다. 로컬에서 참조 이미지를 회전한 뒤 다시 생성하니 설득력 있는 각도가 나왔습니다.

프로젝트 프롬프트

text
Strict layout reference: image[1]. Keep every road, block, building footprint, lot, park,
parking lot, tree and the oval outline exactly as in image[1]. North up. Add, remove, move or
resize nothing. Only restyle it as a finished top-down orthographic illustration of a quiet
mid-1980s American small town in autumn.

[...town contents: main street, roundabout and statue, twelve shops seen as flat roofs only,
all facing the main street, houses, parks, parking lots, red ash trees, a water tower...]

Style: stylized non-photorealistic game environment, simple hard-edged geometry, flat slightly
exaggerated colors, light weathering, no grime. Warm late-afternoon sun from the west.

No vehicles, people, text, lettering, flags, or national or religious symbols. The statue has no face.

최종 평면도와 조감도를 바탕으로 Claude가 에셋을 나열하고, Tripo 모델과 Godot에서 만들 물체를 구분했습니다. 면 수 등급을 적용해 콘셉트 약 서른 개와 모델 약 서른 개를 예산 안에 맞췄습니다.

프로젝트 프롬프트

text
The town concept art is done. Using the final plan (v6), list every asset we need, split into
"generate with Tripo" and "build in the engine". Then write a concept-image prompt for each
Tripo asset in design/asset_prompts.md.
- Shops on Main St should vary more, with clearly different heights, so the opening walk has
  an interesting skyline.
- Split scene assets into tiers (S / A / B / C) by importance and size, give each tier a model
  and a triangle budget (hard cap 10,000 per asset), and estimate the total for the scene.
마을의 시각적 스타일을 보여 주는 조감도 참조.
마을의 시각적 스타일을 보여 주는 조감도 참조.

3. 나머지를 만들기 전에 에셋 하나로 검증하기

3.1 대표 건물 하나 테스트하기

슈퍼마켓 하나로 파이프라인을 먼저 테스트하며 시각적 스타일, 모델링 참조로서의 적합성, 알맞은 Tripo 모델 시리즈를 확인했습니다.

  • 콘셉트 이미지가 마을의 시각적 방향에 맞는가?
  • 이미지가 깔끔한 모델링 참조를 제공하는가?
  • 어떤 Tripo 모델 시리즈가 적절한 형상을 만드는가?

첫 이미지에는 보이는 진열대, 미리 구워진 따뜻한 조명, 브랜드 제품 같은 자판기, 지나치게 큰 기초가 있었습니다.

공통 규칙을 갱신했습니다. 창문을 판자로 막고, 조명을 끄고, 중립적인 흰색 참조 조명을 사용하며, 기초를 벽과 같은 선에 맞추도록 했습니다.

프로젝트 프롬프트

text
Use image[1] only as a reference for color palette, materials and rendering style. Do not copy
its content or camera.

A single isolated one-story small-town supermarket from the mid-1980s: a wide, low box about
16 meters wide, 14 meters deep and 5 meters tall. The front is a long row of large plate-glass
windows with a pair of glass doors in the middle, under a flat red-and-white striped metal awning.
Above the awning, a tall flat sign panel runs the full width of the roofline, painted with bold
color bands and a simple shopping-cart pictogram, no letters. Pale yellow painted brick walls,
a flat roof with two boxy rooftop AC units. A plain red vending machine stands beside the doors.
All windows and glass doors are boarded up with weathered wooden planks, so no interior is
visible. All lights, signs and neon tubes are switched off. The building sits on a thin flat
concrete slab exactly the size of its footprint, flush with the walls on every side.

Three-quarter front view from slightly above, the whole building in frame, centered on a plain
light gray background, neutral white daylight with soft even lighting and no warm tint, no cast
shadows, no ground beyond the slab.

Style: simplified realism with hard-edged, clean forms, mid-1980s American, slightly saturated
comic-book colors, light weathering, no grime.

No text, no letters, no logos, no flags, no national or religious symbols, no people, no vehicles
첫 MART 콘셉트.
첫 MART 콘셉트.
수정한 MART 콘셉트.
수정한 MART 콘셉트.

3.2 규모를 늘리기 전에 모델 시리즈 비교하기

같은 슈퍼마켓 이미지와 통제된 면 수 제한으로 비교했을 때, P 시리즈는 단단한 모서리가 더 깔끔했고 H 시리즈는 삼각형이 더 고르며 표면이 부드러웠습니다.

이 게임에서는 다음과 같이 선택했습니다.

  • 깔끔한 하드 서피스가 유리한 건물, 차량, 소품에는 P1을 사용합니다.
  • 조각상과 떠 있는 지면 조각 같은 유기적 형태에는 H v3.1을 사용합니다.
  • 소년은 리깅을 위한 깔끔한 토폴로지가 필요하므로 P2를 사용합니다.

이는 이 게임을 위한 선택이며, 보편적인 모델 순위가 아닙니다.

Godot에서 H 시리즈와 P 시리즈 MART 모델 비교.
Godot에서 H 시리즈와 P 시리즈 MART 모델 비교.

프로젝트 프롬프트

text
The current models are all clean and fairly flat. For performance, would P1 suit the buildings
better than H3.1? Run a comparison: generate MART with P1 at 4000 faces and with H v3.1 at
6000 faces, import both into a test folder, and render them side by side from the storefront,
front, corner and top views (shaded and wireframe). Then tell me which one to use and why.

3.3 나머지 장면 에셋 생성하기

시제품이 검토를 통과한 뒤 나머지 에셋을 생성했습니다. 각각에 분류, 폴더, 모델 프리셋, 면 수 예산을 지정했습니다.

일괄 작업에는 세 가지 점검을 적용했습니다.

프로젝트 프롬프트

text
Generate concept images for all remaining scene assets the same way as MART, using the prompts
in design/asset_prompts.md and cpt/town_birdseye.png as the style reference.
Check balance first. Save each image under cpt/assets/<category>/.
Check every image against the checklist in asset_prompts.md (single object, clean background,
no text or symbols, matches the bird's-eye style, no thin fragile parts).
Retry failed tasks individually; never rerun the whole batch.
Record progress in design/batch_checkpoint.md so we can resume if we stop halfway.
When done, list what succeeded, what failed and what needs my review.
  • 모든 이미지가 단일 물체, 깨끗한 배경, 의도치 않은 글자 없음, 약한 부품 없음 조건을 충족하는지 확인합니다.
  • 실패한 작업만 개별적으로 다시 시도합니다.
  • 체크포인트 파일에 진행 상황을 기록합니다.

뒷벽에 구멍이 난 주유소, 빠진 급수탑, 흩어진 슈퍼마켓 형상처럼 실패한 항목만 개별 재생성했습니다.

프로젝트 프롬프트

text
node tools/tripo/tripo.mjs model cpt/assets/town/mart.png --preset tier_a --face-limit 4000 --out models/town/mart.glb
장면 에셋의 콘셉트 이미지.
장면 에셋의 콘셉트 이미지.

3.4 캐릭터 따로 제작하기

소년에는 콘셉트 아트, 모델링, 리그 검사, 리깅, 애니메이션 리타기팅이 필요했습니다. 불필요한 스킨 가중치를 피하고 잡기와 봉인 동작을 유지하려고 목도리는 따로 두었습니다.

프로젝트 프롬프트

text
A full-body cartoon-style boy in a standard T-pose, arms extended horizontally, legs straight. He wears a gray hoodie with the hood up. His face is shrouded in shadow, eyes hidden, with only his mouth and grayish-brown bangs visible. He has a long red scarf wrapped around his neck, with both hanging ends draped down behind his back, not in front. He wears dark blue denim shorts ending above the knee so his knees are exposed, with buttoned flap pockets on both the left and right sides. He wears oversized yellow sneakers and has relatively thin legs. Cartoon character design, clean 3D model.

무료 리그 검사를 먼저 실행했습니다. 애니메이션 목록에는 대기, 걷기, 달리기, 점프, 낙하, 던지기, 패링, 목도리 도약, 피격, 패배, 봉인, 승리가 포함되었습니다. 한 번에 다섯 개를 넘겨 리타기팅하면 실패해, 작은 작업 세 개로 나눈 뒤 Godot에서 합쳤습니다.

프로젝트 프롬프트

text
The boy model is ready at models/boy/boy_body.glb. Rig it and add the animations the demo
needs. Run the free rig check first. List the animations you plan to use, mapped to Tripo
presets, before generating anything.

일괄 작업 전에 캐릭터의 여러 시점을 직접 살펴보며 손이 좌우 반전되거나 머리카락이 선글라스로 오인된 부분이 없는지 확인했습니다.

모델링과 리깅 전 소년의 캐릭터 콘셉트.
모델링과 리깅 전 소년의 캐릭터 콘셉트.

3.5 가져오기와 품질 검사 표준화하기

지나치게 부드러워 보이는 벽에는 가져오기 단계에서 가중 법선과 하드 에지를 추가했습니다. 텍스처 제한은 에셋별로 달리했고, 소년, 목도리, 조각상, 나무는 예외로 두었습니다.

모델을 테스트 디렉터리에서 플레이 가능한 장면으로 옮기기 전에 크기, 방향, 벽, 지붕, 불필요한 기호를 검사했습니다. 실제 사용 에셋은 보고된 문제가 없어야 했습니다.

프로젝트 프롬프트

text
When I inspect the models, the normals are smoothed across every edge, so flat walls look soft
and cheap. I want something like Blender's Weighted Normal modifier.
Write a Godot import hook that recomputes weighted normals on import (area-weighted, edges
sharper than 30 degrees become hard edges, keep the normal map), plus a setup script that
attaches the hook to a list of GLBs and limits texture size (4K, or 2K for small assets) with
VRAM compression. Don't apply it to the boy, the scarf, the statue or trees.
Render before/after comparisons so I can judge the result.

4. 단계적으로 데모 만들기

4.1 게임플레이 블록아웃부터 시작하기

Godot 도구 스크립트가 마을 JSON을 읽어 충돌이 있는 색상 상자, 지면, 생성 위치, 부유 배치로 이루어진 플레이 가능한 블록아웃을 만들었습니다. 데이터가 바뀌면 인스펙터 컨트롤과 명령줄 스크립트로 다시 구성했습니다.

그다음 Swap In Models로 상자를 같은 위치의 Tripo 에셋으로 교체했습니다. 두 버전은 같은 배치 데이터를 사용했습니다.

상점은 올라갈 수 있는 나선을 형성하고 주택은 배경에 남았습니다. 보고서로 겹침, 머리 위 여유 공간, 지붕 간격, 발판 도달 가능성을 검사했습니다.

게임플레이 블록아웃.
게임플레이 블록아웃.
같은 배치에 Tripo 모델을 적용한 모습.
같은 배치에 Tripo 모델을 적용한 모습.

프로젝트 프롬프트

text
Build a gameplay-only blockout:
- Export the town plan as JSON (gen_town_svg.mjs --json) and write an @tool script
  (Scripts/town/town_builder.gd) that reads it and generates the ground, a colored box with
  collision for every shop and house (heights from the design doc), and the player spawn at
  the west entrance.
- Add inspector buttons: Build Town, Preview Tree, Reset To Ground, Swap In Models.
- Also add a command-line build script so you can rebuild the scene headless.
- Swap In Models replaces each box with res://Assets/Models/<model>.glb, scaled to the lot
  and rotated to face the street, keeping the position.
Show me screenshots from the street and from above.

4.2 이동과 절차적 목도리 추가하기

컨트롤러에는 지상, 공중, 공중 부양, 목도리 도약 상태를 두었습니다. 노출한 설정과 스모크 테스트로 각 동작을 조정하고 점검했습니다.

프로젝트 프롬프트

text
Start the player controller in the blockout scene. Use the rigged boy model directly, no capsule
placeholder.
- CharacterBody3D with states: ground, air, hover (hold jump midair, drains scarf energy), scarf leap.
- Third-person over-the-shoulder camera, keyboard + mouse and gamepad input maps.
- AnimationTree state machine built by a generator script (Scripts/tools/build_player_scene.gd),
  not by hand in the editor.
- All feel parameters exported so I can tune them in the inspector.
- An automated smoke test that spawns the player, runs, jumps, hovers and scarf leap, and saves
  screenshots.

모델로 만든 목 부분이 너무 뻣뻣해, 목을 감싼 부분과 꼬리를 모두 코드로 생성했습니다. 같은 꼬리가 늘어지고, 뻗고, 잡고, 조각상을 감고, 놓을 수 있어 별도 모델이나 애니메이션이 필요하지 않았습니다.

첫 목도리는 삼각형 정점 순서와 뒤집힌 법선 때문에 안팎이 뒤집혀 보였습니다. Claude가 메시를 수정하고 원인을 CLAUDE.md에 기록했습니다.

프로젝트 프롬프트

text
The neck scarf looks too stiff. Try generating it procedurally instead of using the Tripo model:
- ScarfWrap: three thick, soft knitted loops around the neck, rebuilt every frame from the neck,
  head and spine bones, pushed out by capsules on the head, neck, chest and upper arms, fuller at
  the back so it fills the gap between the hood and the shoulders, with a little spring lag.
- ScarfTail: a Verlet chain hanging from the knot at the back, with thickness, stiff enough not
  to stretch, colliding with body capsules. Reaching out to grab props, hanging from anchors and
  wrapping the statue all use the same tail (reach(point) / release()).
- Both share one wool material with the red knit texture and a soft sheen at grazing angles.
Keep the per-frame cost low and tell me the measured time.
Godot에서 절차적 목도리의 목 감싸기 검사.
Godot에서 절차적 목도리의 목 감싸기 검사.

4.3 목도리 도약에 명확한 방향감 주기

첫 목도리 도약은 갈고리처럼 흔들렸습니다. 선택한 착지점으로 가속하도록 바꾸고, 빨간 오라, 먼지, 궤적, 착지 파동으로 움직임을 읽기 쉽게 했습니다.

초기 차양 위 목표점은 소년을 건물로 통과시키거나 가두기도 했습니다. 착지와 비행 경로 검사를 추가했습니다. 유효한 목표는 다음 조건을 충족해야 했습니다.

  • 실제 지붕 가장자리에 있어야 합니다.
  • 위쪽에 충분한 여유 공간이 있어야 합니다.
  • 캐릭터가 설 공간이 있어야 합니다.
  • 목적지 건물을 통과하는 비행 경로가 아니어야 합니다.

보고서는 모든 건물을 열두 방향에서 검사했고, 유효하지 않은 갈고리 지점이 없어야 했습니다.

프로젝트 프롬프트

text
Change how the scarf leap feels. Right now it swings like Spider-Man. Instead, the boy knows wherehe's going and moves straight to the target. While moving, rotate his model so his feet point at the target, as if his feet were pulling his whole body toward it.
Drop the scarf from the scarf leapand sell the power with effects: a red aura when the scarf leapstarts, a puff of dust and a small energy pulse at the start point, a trail along a small arc,then the aura fades on landing with a small shockwave at the contact point.
The speed is not constant: a little slow at first, then accelerating hard, never slowing down until it arrives.
지붕 가장자리를 향하는 최종 목도리 도약.
지붕 가장자리를 향하는 최종 목도리 도약.

4.4 보스전 연결하기

전체 흐름은 주 메뉴, 도입부, 떠오르는 마을, 체크포인트, 체력 세 구간의 보스전, 결말로 구성했습니다.

조각상은 물건을 던지며, 그중 빛나는 물건은 패링할 수 있습니다. 패링하면 보호막이 약 7초 동안 열립니다. 이후 공격에는 부채꼴 일제 투척과 유성 같은 자동차를 추가했고, 가시성 검사로 건물을 관통하는 투척을 막았습니다.

프로젝트 프롬프트

text
Finish all playable content for a first complete version:
- A basic main menu, pause menu and ending screen with buttons.
- The intro: "The Oval Town" title card; when the player enters the plaza, the statue shakes,
  lifts off its pedestal, a "The Statue" title card, then a shockwave pushes the boy back along the ground. Buildings fly up into the spiral tree. One checkpoint at the end of this sequence.
- The boss fight: shield, parry window about 0.25 s, about 7 s exposed window, damage only from
  throws while exposed, 3 health segments, attacks unlocked by remaining health: single throw,
  fan volley (only the glowing one can be parried), car meteor shower.
- Sealing: when its health reaches 0, a scarf leap point appears on the statue; scarf leap to it and
  press the seal button repeatedly.
- A full-flow automated test that plays the whole game with a real parry, three rounds of throws,
  a death and restart, the seal and the ending, saving screenshots at each stage.
Show me the plan first, then build it.

체력이 0이 되면 조각상에 목도리 도약 목표점이 나타납니다. 플레이어가 봉인 버튼을 반복해서 누르면 고리가 차오르고, 멈추면 줄어듭니다.

조각상의 보호막이 활성화된 상태.
조각상의 보호막이 활성화된 상태.
패링에 성공하면 피해를 줄 수 있는 시간이 시작됩니다.
패링에 성공하면 피해를 줄 수 있는 시간이 시작됩니다.

5. 다듬기, 테스트, 내보내기

5.1 장면의 시각적 처리 추가하기

전투가 작동한 뒤 지면 세부 요소, 잔디, 나무, 조명, 후처리, 효과를 추가했습니다. 부드러운 가산 셰이더 하나로 오라, 고리, 투사체, 궤적의 모습을 통일했습니다.

프로젝트 프롬프트

text
Polish: add the final details to the rest of the town based on the concept art (streets, parks,lane markings and so on). If details are missing or unclear, generate reference images of parts of the town first.
Street layout and lane markings should be as plausible as possible; use Tripo to generate textures if needed. The road surfaces must never flicker.
Add NPR style procedural grass on the lawns.

플레이어 카메라에서 변경 사항을 확인하며 도로 깜박임, 막힌 출입문, 잘못 배치된 가로등을 점검했습니다.

프로젝트 프롬프트

text
Render with ACES tone mapping. Add post-processing: bloom, ambient occlusion, SSIL, depth of
field, film grain, motion blur, chromatic aberration, FXAA, and an FSR 2 option, all in an
Options menu. Bloom, AO, SSIL and DOF have Off / Low / Medium / High; FSR 2 has Off / Native AA /
Quality / Balanced / Performance; motion blur, chromatic aberration and film grain are toggles.
Also add VSync and resolution.
The film grain should closely emulate Super 8 film. Godot has no built-in film grain or motion
blur, so implement them as Compositor effects.
다듬기 전 중심가.
다듬기 전 중심가.
다듬기 후 중심가.
다듬기 후 중심가.

5.2 오디오와 인터페이스 피드백 추가하기

처음에는 합성 오디오를 사용한 뒤 대부분을 출처를 기재한 CC0 음악과 효과음으로 교체했습니다. 적절한 음원이 없는 곳에는 합성음을 남겼습니다.

프로젝트 프롬프트

text
Find CC0 music and sound effects to replace the synthesized ones. Music should be synthwave /
analog synth. Prefer less popular sources so the game feels unique. Where nothing fits, keep
the synthesized sound. Verify the license on every page and generate a credits file.

HUD는 플레이어가 각 동작을 실제로 사용할 때까지 상황에 맞는 조작법을 표시했습니다. 첫 빛나는 투척물에서는 시간을 잠깐 늦춰 패링을 가르쳤습니다.

프로젝트 프롬프트

text
Add interactive hints the first time each move is needed (move, jump, hover, dash, rush, Scarf Leap, grab, throw, parry), for a more explicit and intuitive guide to the controls. Each hint stays until the player actually does the move, then it is ticked off.
키보드와 게임패드의 첫 사용 조작 힌트.
키보드와 게임패드의 첫 사용 조작 힌트.

5.3 전체 회귀 검사 실행하기

내보내기 전에 Claude는 장면을 다시 구성하고 보고서를 실행했으며, 메뉴부터 결말까지 플레이했습니다. 실제 패링, 사망과 재시작, 봉인, 스크린샷도 포함했습니다.

프로젝트 프롬프트

text
Before we export, do a full pass:
1. Rerun every generator in order (build_blockout --float --swap, build_player_scene,
   build_game) and make sure the main scene is the main menu.
2. Run every report (tree_report, grapple_point_report, street_report, lamp_probe,
   audio_probe, skin_gap_report) and both automated tests. Everything must pass.
3. Play the game through MCP from the main menu to the ending, take screenshots at each stage
   and read the game log for errors and warnings.
Report: what passed, what failed, and anything I should check by hand.

전체 플레이를 통해 방향 오류, 누락된 효과, 이동이나 타이밍 변경 후 발생하는 체크포인트 초기화를 발견했습니다.

프로젝트 프롬프트

text
Generate an icon for the game: a wrapped red scarf, vector minimalist style, white background.
Use it as the game app's icon. On the main menu, add a version number based on the date
(like "build 261019.1") in the top right corner.

첫 Windows 빌드는 1.15 GB였고 대부분이 텍스처였습니다. 사용하지 않는 에셋과 오래된 모델을 제거하고 용량이 더 작은 법선 맵 압축을 적용하니 755.5 MB로 줄었습니다.

프로젝트 프롬프트

text
Export a Windows build of the game. Set up a Windows Desktop export preset for the_red_scarf (embed the PCK, the game icon, product name "The Red Scarf"). Check that the export templates for Godot 4.7.2 are installed; if not, tell me how to install them instead of guessing.
Exclude test scenes, test scripts and Assets/Models/_test/. Write a script that sets the build number and exports, run the exported exe once, and report the build size and any errors.

프로젝트 프롬프트

text
The game is over 1 GB. Can we reduce its storage size? First find out what takes the space.

https://cdn-blog.holymolly.ai/media/production/the-red-scarf-claude-code-tripo-godot-the-red-scarf-final-gameplay-and-windows-build-demonstration-video-0c0497c40997.mp4

다음 프로젝트에도 가져갈 것

반복해서 사용할 작업 흐름은 다음과 같습니다.

  1. 원하는 결과를 설명합니다.
  2. 작은 시제품 하나를 만듭니다.
  3. 실제 실행 환경에서 살펴봅니다.
  4. 반복되는 문제를 규칙이나 보고서로 바꿉니다.
  5. 그 후에 규모를 늘립니다.

마을 배치의 원본을 하나로 유지하고, 에셋 일괄 작업에 체크포인트를 두고, 목도리 도약에 기하 규칙을 적용하며, 보스전 전체를 테스트하는 같은 방식을 재사용할 것입니다.

비슷한 데모를 만든다면 캐릭터 하나, 경로 하나, 적 하나로 시작하세요. 일괄 제작 전 대표 에셋을 테스트하고, 반복되는 문제를 다시 실행할 수 있는 검사로 바꾸세요.

Tripo Studio

이 튜토리얼을 직접 실습해 보세요

Tripo Studio를 열고 이 튜토리얼에서 배운 워크플로를 직접 시도해 보세요.

이 튜토리얼이 도움이 되었나요?

콘텐츠 개선에 도움을 주세요.