The Red Scarf: 3D-гра з Claude Code, Tripo та Godot

The Red Scarf: 3D-гра з Claude Code, Tripo та Godot

Дізнайтеся, як створити ігровий 3D-бій із босом у Godot 4 з Claude Code, Tripo CLI та сервером Godot MCP: від ШІ-ресурсів та імпорту GLB до скриптів, тестування й оптимізації.

Louis Li
ПросунутийІнше

Усе почалося з хлопчика в червоному шарфі та покинутого американського містечка 1980-х років. Безлика статуя вириває будівлі із землі й піднімає їх у небо. Ідея перетворилася на ігрову екшен-демоверсію від третьої особи у Godot.

Claude допомагав планувати, писати скрипти й тестувати; Tripo створював концепт-зображення, моделі, скелетну оснастку й анімацію. Я керував проєктом і перевіряв зібрану гру в Godot.

Цей посібник показує повний процес розробки 3D-гри за допомогою ШІ: Claude допомагає планувати й писати GDScript, Tripo CLI генерує готові для гри 3D-ресурси, а Godot MCP дає Claude змогу перевіряти, запускати й налагоджувати проєкт Godot.

Налаштування проєкту

  • Рушій: Godot 4.7.2, Forward+
  • ШІ-помічник із програмування: Claude Code
  • Генерація зображень: генерація зображень Tripo
  • Генерація 3D: моделі серій Tripo P та H
  • Проєкт: The Red Scarf, коротка демоверсія бою з босом від третьої особи
The Red Scarf: ігровий бій із босом.
The Red Scarf: ігровий бій із босом.

Як грається готова демоверсія

Хлопчик заходить у місто вулицею Main Street. На площі безлика статуя випускає ударну хвилю й закручує будівлі спіраллю навколо себе.

Гравець піднімається плавучими магазинами за допомогою стрибків, зависання та ривків шарфом. Парирування сяйного снаряда ненадовго руйнує щит статуї; кидання навколишніх предметів завдає їй шкоди. Після трьох раундів хлопчик може дістатися статуї й запечатати її.

1. Налаштуйте інструменти та проєкт

1.1 Створіть пам’ять проєкту для Claude Code

Я зберігав проєкт Godot, проєктні документи, концепти, моделі Tripo та скрипти разом. У кореневому файлі CLAUDE.md були записані правила, яких Claude Code має дотримуватися між сеансами.

Він охоплював основне:

  • Описати гру, її настрій та візуальний напрям.
  • Перелічити вимоги до ресурсів: узгоджений стиль, відсутність зайвих символів і тексту.
  • Вимагати план перед великими змінами.
  • Зберігати історію запитів.
  • Записувати повторювані проблеми й домовленості проєкту в міру їх виявлення.

До того самого файлу я додавав рішення повторюваних проблем: порядок обходу вершин сітки, орієнтацію моделей, назви анімацій і правила вибору цілей для ривка шарфом. Наступні сеанси могли використовувати їх знову.

1.2 Підключіть Tripo CLI до Claude Code для створення 3D-ресурсів гри

Щоб генерувати 3D-ресурси з командного рядка, я попросив Claude встановити й налаштувати Tripo CLI. Це зробило процес роботи з ресурсами Tripo відтворюваним і спростило автоматизацію всередині проєкту Godot.

Запит проєкту

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

1.3 Налаштуйте сервер Godot MCP для Claude Code

Claude Code міг безпосередньо редагувати текстові сцени Godot і GDScript. Сервер Godot MCP, підключений через Model Context Protocol, давав йому змогу запускати гру, робити знімки екрана, перевіряти журнали та імітувати введення, перетворюючи помічника на практичний інструмент розробки у 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 написав Node-скрипт для генерації параметризованого SVG овального міста: Main Street, дванадцять магазинів, житлові вулиці, парки, стоянки та площа.

Той самий скрипт експортував JSON для блокінгу Godot, будівель, доріг, ліхтарів і дерев. Тому концепт-арт та ігровий рівень використовували одне планування.

Я змінював по одному параметру — наприклад, розмір стоянки, глибину задніх дворів або входи до магазинів, — щоб кожну зміну було легко перевірити.

Запит проєкту

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 для хлопчика, оскільки для скелетної оснастки персонажу була потрібна чиста топологія.

Це був вибір для конкретної гри, а не універсальний рейтинг моделей.

Порівняння моделей MART серій H і P у Godot.
Порівняння моделей MART серій H і P у Godot.

Запит проєкту

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 Поєднайте елементи бою з босом

Проходження охоплювало головне меню, вступ, підйом міста, контрольну точку, бій із босом із трьома сегментами здоров’я та кінцівку.

Статуя кидала предмети, зокрема сяйний, який можна було парирувати. Парирування відкривало її щит приблизно на сім секунд. Пізніше з’являлися віяловий залп і машина-метеор, а перевірки видимості забороняли кидки крізь будівлі.

Запит проєкту

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.

За нульового здоров’я на статуї з’являлася ціль для ривка шарфом. Гравець багаторазово натискав кнопку запечатування, заповнюючи кільце; якщо зупинитися, воно зменшувалося.

Щит статуї активний.
Щит статуї активний.
Успішне парирування відкриває вікно завдання шкоди.
Успішне парирування відкриває вікно завдання шкоди.

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.
Main Street до доопрацювання.
Main Street до доопрацювання.
Main Street після доопрацювання.
Main Street після доопрацювання.

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 та випробуйте робочий процес із цього посібника.

Чи був цей урок корисним?

Допоможіть нам покращити цей матеріал.