← PlaybookFertiges Spiel · Top-down-Shooter · schwer

PIT NINE

Ein Schrottsammler in einer Schrottplatz-Arena: zwei Wellen Roboterhunde, dann der Foreman. Schieße nacheinander seine Kanonen, den Raketenwerfer und die Panzerung ab und triff dann den Kern. Gebaut von Claude Code mit dem Playbook-Prompt; wir haben ihm nie gesagt, wie etwas zu reparieren ist.

Spielen

Bewegen mit WASD, mit der Maus zielen, Leertaste zum Rollen.

Das Spiel startet als Greybox. Drücke den gelben Button darunter oder im Spiel M, um die Tripo-Modelle zu laden; sind die Modelle an, gibt L allem den Look von Tripos Mecha Pop.

Ein Spiel, drei Looks

Die Greybox, Tripos Standardtextur und eine Textur im Stil Mecha Pop, alle aus denselben Modellen. Abgebrochene Teile bleiben abgebrochen, wenn du wechselst.

Greybox · Phase 2

Greybox · Phase 2

Boxen und Zylinder. Der Boss ist schon eine Gruppe benannter Teile, die sich jeweils um ihr eigenes Scharnier drehen.

Tripo-Modelle · Phase 5

Tripo-Modelle · Phase 5

Der Foreman ist ein in Teile zerlegtes Tripo-Modell; Kanonen, Raketenwerfer und Panzerung fallen ab, wenn du darauf schießt.

Mecha Pop · ein Button

Mecha Pop · ein Button

Jedes Asset bekam eine zweite Textur im Stil Mecha Pop von Tripo. Das Spiel tauscht die Dateien an Ort und Stelle aus.

So verlief der Lauf, Phase für Phase

10 Runden, etwa 3 Stunden Agentenzeit, 47 $ Agentenkosten und 1.130 Tripo-Credits. Die längste Runde war der Modelleinbau: 75 Minuten und mehr als 120 Tool-Aufrufe.

  1. Der Agent schrieb eine Teiletabelle für den Boss (was jedes Teil tut, wo es angelenkt ist, welcher Angriff beim Abbrechen wegfällt), dann eine Greybox mit dem Stil-Schalter von Anfang an, 19 Mechanik-Prüfungen und zwei Bots.

    • Nur der Hero ist eine Figur mit Bones; Hunde und Boss bestehen aus Teilen
    • Wir starben trotzdem nach 20 s, weil wir stillstanden: Die Bots bewegen sich ab dem ersten Frame. Welle 1 wurde ein sanftes Tutorial
    • Er fand fünf eigene Bugs, darunter vertauschte linke und rechte Kanonen im Design
    Design, dann eine Greybox
  2. Pro Asset: Bild, Smart Mesh P2.0, Textur, dann eine Textur im Stil Mecha Pop. Segment zerlegte den Hund und den Foreman in 106 und 111 Stücke; sie von Hand zusammenzuführen, senkte das nur um etwa ein Zehntel.

    • 8 Assets × 2 Looks = 16 GLB-Dateien
    • 1.130 Credits, etwa 50 Minuten
    Teile und Stile in Tripo
  3. Jedes Stück kam als tripo_part_N an. Der Agent gruppierte den Hund danach, welchen Platzhalter jedes Stück überlappt; beim Foreman scheiterte das, also sortierte er die Stücke anhand beschrifteter Renderings und zerschnitt ein Stück, das ein Schienbein und einen Fuß enthielt.

    • Rund 100 Texturen pro Modell zu einer zusammengepackt; der Foreman wird mit 10 Aufrufen gezeichnet
    • Texturen 213 → 105 MB, 37 MB auf Smartphones
    • Nachgefragt, bevor 6 Gameplay-Werte geändert wurden
    Modelle einbauen: 100 unbenannte Stücke
  4. Die Statusfarben der Greybox ließen die texturierten Modelle blass leuchten, Treffer wirkten schwach, und die Beine folgten der Maus. Wir beschrieben, was wir sahen; der Agent beschränkte Farben auf kleine Flächen, ergänzte Treffer-Feedback und teilte den Körper: Die Beine folgen dem Lauf, die Wirbelsäule dreht sich zum Ziel.

    • Hunde in 91 % → 17 % der Zeit eingefärbt; Beine 25° → 7° neben der Laufrichtung
    • Funken, Treffermarker und synthetisierte Sounds; er fing seine eigene Hitbox-Regression ab
    • Ein statischer Build mit 24 MB auf tripo.page; Mechanik 19/19 in beiden Looks
    Playtest, dann veröffentlichen

Über die sechs Phasen hinaus

Das Tutorial teilt nie ein Modell und gibt ihm auch keinen zweiten Look. Hier zerfällt der Boss Stück für Stück, die Hunde haben kein Skelett, und jedes Asset hat zwei Stile. Wähle ein Thema.

Segment

Ein Modell in Teile zerlegen

Segment schneidet ein generiertes Modell in Stücke, und jedes Stück wird in der GLB zu einem eigenen Mesh. So verliert der Foreman eine Kanone, wenn du sie abschießt.

Credits, das erste gratis
40
pro Modell
~1 min
Stücke aus Balanced
68–111
  • Drei Stufen: Simple (3–6 Teile), Balanced (6–15) und Detailed. Die Zahlen sind nominal: Balanced lieferte hier 68, 106 und 111 Stücke.
  • Segment braucht ein Mesh im Modus Triangle und ein Modell ohne Rig. Zerlege, bevor du ein Rig anlegst.
  • Die Topologie springt jedes Mal auf Quad und 5.000 zurück, wenn du von einem Bild kommst, also stelle bei jedem Modell erneut Triangle ein.
  • Teile überstehen das Texturieren: Der Test-Mech kam als 68 Meshes mit 68 kleinen Texturen heraus, zusammen etwa 1 MB.
  • Maschinen, die pro Teil in einer Farbe und mit Lücken zwischen den Teilen gezeichnet sind, werden am nächsten an den gewünschten Teilen getrennt.
Die Vorschau gruppiert die Maschine in etwa neun Regionen.
Die Vorschau gruppiert die Maschine in etwa neun Regionen.
Balanced lieferte tatsächlich 68 Stücke zurück, jedes mit dem Namen tripo_part_N.
Balanced lieferte tatsächlich 68 Stücke zurück, jedes mit dem Namen tripo_part_N.
Sag es deinem Agenten
Markiere jedes Asset als Figur, Prop oder Maschine aus Teilen. Verlange bei Maschinen eine einheitliche Farbe pro Teil mit Lücken zwischen den Teilen.

Zusammenführen und gruppieren

Grob zusammenführen, den Rest macht der Code

In Studio kannst du Stücke von Hand zusammenführen. Nach ein paar Dutzend Klicks wurde der Rest im Code gruppiert, je nachdem, wo jedes Stück sitzt.

Stücke des Foreman nach dem Zusammenführen
111 → 103
Draw Calls für den Foreman
10
Draw Calls pro Hund
6
  • Um mehrere Stücke auszuwählen, klicke sie mit Cmd in der 3D-Ansicht an (Strg unter Windows). Ein Klick in die Liste funktioniert nicht, und Shift hebt die Auswahl auf.
  • Merge funktioniert auch bei texturierten Modellen, und zusammengeführte Stücke bleiben in der GLB zusammengeführt.
  • Die Hunde wurden danach gruppiert, wie stark sich jedes Stück mit seinem grauen Platzhalter überlappt. Die Proportionen des Foreman wichen zu stark ab, also renderte der Agent beschriftete Ansichten, teilte ihn in große Blöcke und ordnete Schrauben dem nächsten Block zu.
  • Ein Stück enthielt das vordere linke Schienbein und den hinteren linken Fuß; der Agent schnitt es in zwei. Schrauben von der Rückseite hingen an der Panzerung fest und wurden davon gelöst.
  • Jedes Teil kam mit eigenen kleinen Texturen, etwa 100 pro Modell. Der Agent packte sie pro Modell in einen Atlas.
  • Der Deckel des Raketenwerfers war kein eigenes Stück, daher wurde seine Öffnungsanimation gestrichen, statt sie vorzutäuschen.
Der Hund wird wieder zu seinen sechs Teilen zusammengeführt.
Der Hund wird wieder zu seinen sechs Teilen zusammengeführt.
Ein ausgewähltes Teil bekommt in Studio ein Gizmo zum Verschieben, Drehen und Skalieren.
Ein ausgewähltes Teil bekommt in Studio ein Gizmo zum Verschieben, Drehen und Skalieren.
Sag es deinem Agenten
Liste jedes tripo_part_N mit Position und Größe auf, gruppiere sie zu den Teilen aus dem Design-Dokument und zeige mir ein beschriftetes Rendering, bevor du sie verdrahtest.

Teile im Spiel

Scharniere, Trefferzonen, Abbrechen

Jedes Teil dreht sich um ein Scharnier aus dem Design-Dokument, hat eine eigene Trefferzone und eigene HP und nimmt einen Angriff weg, wenn es abbricht.

der Panzerung in der Trefferzone
22% → 48%
wo die Kanonenmündung wirklich sitzt
3.0 → 2.1 m
Werte, bei denen er nachfragte
6
  • Die Trefferzonen wurden zuerst an graue Boxen angepasst. Am Modell wuchs die Panzerungszone von 22 % auf 48 % der Platte, und die Mündung wanderte von 3,0 auf 2,1 m.
  • Nachdem seine eigene Änderung den Rammangriff unerreichbar gemacht hatte (3,6 m Stopp-Radius), fragte der Agent erneut nach, bevor er den Rammangriff auf 4,2 m verlegte.
  • Die Kanonen kamen in den umgekehrten Farben des Konzeptbilds heraus, deshalb werden sie nach Position benannt, nicht nach Farbe.
  • Wackelte ein getroffenes Teil, verschob sich der Pivot, den der Treffertest nutzte; der Kern rutschte in den Körper, und der Kampf dauerte statt 60 s plötzlich 107–158 s. Jetzt wackelt nur noch das sichtbare Mesh.
  • Kanonen, Raketen und Hunde zeigten in ihren Dateien nach −X und wurden so gedreht, dass sie nach +Z zeigen.
Der Foreman im Spiel: Kanonen, Raketenwerfer und Panzerung sind getrennte Teile.
Der Foreman im Spiel: Kanonen, Raketenwerfer und Panzerung sind getrennte Teile.
Sag es deinem Agenten
Passe jede Trefferzone an das echte Modell an und zeige mir die Zahlen davor und danach. Animiere nur das sichtbare Mesh, nie den Pivot, den der Treffertest nutzt.

Vierbeiniges Rig

Warum die Hunde kein Skelett haben

Tripo kann ein vierbeiniges Modell im Web riggen, aber es kam nur eine voreingestellte Bewegung mit, und die scheiterte. Die Hunde wurden zu sechs Teilen, die der Code bewegt.

Bones aus Rig → Other
15
voreingestellte Bewegung: Walk
1
Credits ausgegeben, nichts Brauchbares
40
  • Rig → Other baute in unter zwei Minuten für 20 Credits ein vierbeiniges Skelett.
  • Der erste Walk-Export hatte keine Animation; der zweite Versuch lieferte „An error occurred while running task“.
  • Text to Motion (20 Credits) erzeugte eine Bewegung für Humanoide, die sich nicht auf den Hund anwenden ließ.
  • Tripos API kann mehr Körpertypen riggen als die Webseite heute, auch vierbeinige.
  • Im Spiel besteht jeder Hund aus einem Körper, einem Kopf und vier Beinen; der Code schwingt die Beine, und der Kopf glüht rot beim Anlauf und orange beim Sprung.
Rig → Other gibt dem Hund ein Skelett mit 15 Bones; ein Bone am Hinterbein sitzt im falschen Winkel.
Rig → Other gibt dem Hund ein Skelett mit 15 Bones; ein Bone am Hinterbein sitzt im falschen Winkel.
Walk, die einzige Voreinstellung, scheiterte zweimal. Text to Motion erzeugte nur eine Bewegung für Humanoide.
Walk, die einzige Voreinstellung, scheiterte zweimal. Text to Motion erzeugte nur eine Bewegung für Humanoide.
Sag es deinem Agenten
Alles, was kein humanoider Körper ist, bekommt kein Skelett: Zerlege es in Teile und bewege die Teile im Code.

Stiltexturen

Ein zweiter Look aus demselben Mesh

Wenn du dasselbe Modell mit einem Stil-Preset erneut texturierst, entsteht eine zweite Version mit derselben Form. Ein Button schaltet alle 16 Dateien um.

Credits für eine Textur mit Stil
+5
Assets × Looks = 16 GLBs
8 × 2
Texturspeicher
213 → 105 MB
  • Eine 2K-Textur kostet 10 Credits, mit Stil 15. Das Panel steht standardmäßig auf 8K bei 30.
  • Der Stil wird für die nächste Textur gespeichert. Um wieder keinen zu verwenden, klicke den ausgewählten Stil erneut an.
  • Exportiere zuerst den Standard-Look, texturiere dann erneut mit dem Stil und exportiere das. Ein geriggter Charakter braucht vor dem zweiten Export erneut seine Animationen.
  • Nur der aktuelle Look wird geladen, und Texturen werden verkleinert: Aus 213 MB wurden 105, auf dem Smartphone 37 MB.
  • Abgebrochene Teile bleiben abgebrochen, wenn du mitten im Kampf den Look wechselst.
  • Magic Brush unter Edit malt einen Teil einer Textur neu (5 Credits pro Vorschau). In diesem Spiel nicht verwendet.
Texturstile: Mecha Pop, classic, Wood oder lade ein eigenes Stilbild hoch.
Texturstile: Mecha Pop, classic, Wood oder lade ein eigenes Stilbild hoch.
Derselbe Kampf in Mecha Pop.
Derselbe Kampf in Mecha Pop.
Sag es deinem Agenten
Gib jedem Asset einen zweiten Stil aus Tripos Presets. Lade nur den Look, der gerade verwendet wird, und lass abgebrochene Teile abgebrochen, wenn der Look wechselt.

Text to Motion

Eine Bewegung, die die Bibliothek nicht hat

Die Ausweichrolle war nicht in der Bibliothek, also wurde sie als ein Satz in Text to Motion geschrieben.

Credits pro generierter Bewegung
20
Zeichen davon werden zum Clip-Namen
64
Bewegungen in einer Kette mit Multi-stage
5
  • Beginne die Beschreibung mit dem Namen der Bewegung und einem Doppelpunkt: „roll: a small character dives forward into a quick shoulder roll…“.
  • Studio gab der Karte einen eigenen Titel, Shoulder Roll and Crouch. In der GLB heißt der Clip nach den ersten 64 Zeichen der Beschreibung, deshalb steht der Name am Anfang.
  • Generierte Bewegungen bleiben als Karten erhalten; sie erneut anzuwenden, zum Beispiel nach einer neuen Textur, kostet nichts.
  • Multi-stage Motion verkettet bis zu fünf Bewegungen zu einem Clip. Hier nicht getestet; ein Kandidat für Combos.
Die Rolle, in einer Zeile beschrieben. Sie kostet 20 Credits.
Die Rolle, in einer Zeile beschrieben. Sie kostet 20 Credits.
Sag es deinem Agenten
Schreibe für jede Bewegung, die nicht in der Bibliothek ist, eine Zeile für Text to Motion, die mit dem Namen der Bewegung und einem Doppelpunkt beginnt.

Laufen und Zielen

Die Beine laufen in eine Richtung, die Waffe zielt in eine andere

In einem Twin-Stick-Shooter rennst du in eine Richtung und schießt in eine andere. Der Agent teilte den Körper: Die Beine folgen dem Lauf, der Oberkörper dreht sich zum Ziel.

Beine neben der Laufrichtung
25° → 7°
m/s Fußrutschen
2.5 → 0.72
mm Arm im Körper
33.7 → 4.0
  • Der Oberkörper dreht sich über drei Wirbelsäulen-Bones zum Zielpunkt.
  • Wer beim Rennen nach hinten zielt, spielt den Lauf rückwärts ab; wer seitlich rennt, verdreht die Hüfte.
  • run läuft 1,57× schneller, um zu 3,82 m/s zu passen, und seine Hüfte, im Clip 0,94 m nach vorn versetzt, wurde neu zentriert.
  • Der Agent maß Bild für Bild, wie tief die Arme in den Körper eintauchten.
In eine Richtung rennen, in eine andere schießen.
In eine Richtung rennen, in eine andere schießen.
Sag es deinem Agenten
Teile die Figur: Die Beine spielen den Lauf in Bewegungsrichtung ab, die Wirbelsäule dreht den Oberkörper zum Ziel. Miss Fußrutschen und Arm-Clipping.

Treffer-Feedback

Feedback und Sound, alles im Code

Graue Boxen brauchen wenig, um sich getroffen anzufühlen; texturierte Modelle viel mehr. Funken, Trefferanzeigen und jeder Sound wurden im Code ergänzt, ganz ohne Audiodateien.

Bildschirmänderung bei Hundetreffer, 0–255
4.6 → 13.6
dasselbe bei Boss-Treffer
9.9 → 22.4
Audiodateien
0
  • Ein Blitz und Funken am Treffer; das getroffene Teil wackelt und leuchtet kurz orange; ein Kreuz auf dem Bildschirm, bei einem Kill oder abgebrochenen Teil größer und rot; die Boss-Leiste pulsiert.
  • Jeder Sound wird im Code synthetisiert: ein metallisches Klirren, ein höherer Ton am Kern, ein dumpfer Aufprall bei Hunden, geblockte Schüsse, die Waffe und Explosionen. Ein Sound-Button schaltet sie aus.
  • Der Agent maß die Veränderung in Pixeln rund um den Trefferpunkt davor und danach, statt zu raten.
Treffer-Feedback: Funken, eine Trefferanzeige, das getroffene Teil wackelt.
Treffer-Feedback: Funken, eine Trefferanzeige, das getroffene Teil wackelt.
Sag es deinem Agenten
Miss, wie stark sich der Bildschirm rund um einen Treffer verändert, und ergänze dann Funken, eine Trefferanzeige und im Code synthetisierte Sounds. Stimme das gesamte Feedback neu ab, nachdem die Modelle eingebaut sind.

Stolperfallen aus diesem Durchlauf

Was schiefging, warum und wie es behoben wurde. Der neuere Playbook-Prompt deckt die meisten davon bereits ab.

In Tripo Studio eingetippte Teilenamen fehlen in der GLB

Umbenannte Teile werden trotzdem als tripo_part_N exportiert. Notiere stattdessen, wo jedes Teil sitzt, und lass den Agenten die Stücke im Code nach ihrer Position gruppieren.

Segment schneidet weit mehr Stücke, als du aufgelistet hast

Balanced zerlegte die Modelle in 106–111 Stücke, und das Zusammenführen von Hand entfernte nur etwa ein Zehntel. Den Rest gruppierte der Agent im Code, ein grobes Zusammenführen reicht also.

Ein geriggter Charakter verliert nach einer neuen Textur seine Animationen

Wird ein geriggtes Modell erneut texturiert, gehen die Animationen verloren, und der Export enthält nur Bones. Wende sie in Animate erneut an, bevor du exportierst; das kostet keine Credits.

Texturierte Modelle wirken ausgewaschen

Farben, die an grauen Boxen Zustände markierten, überdecken ein ganzes texturiertes Modell. Beschränke Statusfarben auf eine kleine Fläche und hellere die Textur auf, statt Weiß hinzuzufügen.

Ein abgebrochenes Teil sieht hohl aus

Zerteilte Stücke sind dünne Schalen. Schließe die Lücke, zeichne beide Seiten oder lege etwas Dunkles dahinter; der Agent dunkelte die Innenflächen ab.

Bots gewinnen, Anfänger sterben

Bots bewegen sich und weichen ab dem ersten Frame aus. Teste auch mit einem Spieler, der stillsteht oder nur halb aufpasst, und stimme die erste Welle auf ihn ab.

Bau dein eigenes Spiel

Füge das in deinen Coding-Agenten ein

Öffne einen leeren Ordner in Claude Code oder Codex und füge ihn ein. Er stellt fünf Fragen, baut das Spiel dann Phase für Phase und hält nach jeder an, damit du es spielen kannst.

Prompt
Help me make a small 3D browser game, step by step. I have never made a game before.

Before you write any code, ask me up to 5 short questions in one message: what the game is about, the one thing the player does, keyboard or phone or both, the art style, and anything I already have. Wait for my answers.

Once I have answered, start a git repository, save this whole prompt word for word to AGENTS.md, and add a CLAUDE.md that only says to read AGENTS.md. Keep a short PROGRESS.md: what is done, what we decided and what is next. Read both at the start of every stage, and commit at the end of every stage that works, so we can go back if a later change breaks something; each time, tell me the one command that takes us back to it.

Then work in stages. Stop at the end of every stage, tell me how to try it, and wait for my feedback:

1. Design — write GDD.md, one page: core loop, controls (keyboard and touch), win and lose, camera, and a table of every object on screen with an id, its size in metres and which way it faces. Keep it to one level and one core loop. Make up your own characters, names and level layout; do not copy any existing game, and do not make anything look like a well-known game character or item either. For every character that animates, list its states (for example idle, run, attack, hurt, knocked down) and when it switches between them, and say whether it is a person or another kind of body (an animal, a robot dog, a bug); only people get bones, so a body that is not a person is built from parts that move in code. If characters fight, write for each attack: which animation it uses, how much damage it does, and at what fraction of the animation the hit lands and ends. If a machine or object has parts that move, can be shot off or break apart, list its parts: what each part does, where it hinges, how much it can take, and what changes when it breaks. If parts can be swapped between machines or characters, give all of them the same set of slots, and for each slot write one attach point (where it sits, measured from the centre of the feet) and which way a part faces on that point.

2. Greybox — build it with Three.js and Vite, no game engine. Use only boxes, cylinders and capsules, sized from the table. Keep everything about how objects look in one place: a registry from id to a builder function, so a 3D model can replace any placeholder later without touching gameplay code. Build an object with parts as a group of named child placeholders, one per part, each turning around its own hinge, and let gameplay find parts by name. If parts can be swapped, hang each swappable part on a named attach point; swapping a part means hanging another part on that point and scaling it to fit the slot, and gameplay still finds parts by name. Every placeholder faces +Z. If the player jumps, make it feel good: a jump pressed just before landing still counts, a jump just after walking off a ledge still works, and holding the button jumps higher. If the player fights, make it feel good: a button pressed during an attack queues the next one, a hit freezes both fighters for a split second and pushes the target back, a character that was just hit cannot be hit again at once, and enemies take turns attacking instead of all at once. Show states on the placeholders (a colour or a lean) so I can see them. Put every number I might want to tune (speeds, sizes, camera, timings) in one config file, and add a hidden debug panel, opened with a key, with sliders for those numbers and readouts of FPS, draw calls, bounding boxes and each character's current state. Moving characters must look smooth on both 60 Hz and 120 Hz screens. Done when I can play a full round and restart, on desktop and on a phone. If a later change adds a new state, add it to GDD.md and tell me which animation it needs.

3. Asset list — write assets.json with one entry per id: its kind (prop, person or parts), size in metres (height for people, longest edge for everything else), a polygon budget in triangles (at least 500; at least 10000 for parts), and one English image prompt. Give every prompt the same art-style sentence, describe the shape and proportions it must have to fit its size, give visible details to the side the camera sees most (for a vehicle the player follows, its back) while still asking for one view of one object, and end it with "single isolated object, centered, on a plain white background". The ground, sky and edge of the level are part of the look too: say how each will be made (a Tripo entry or built in code), so none of them stays greybox. At most 8 entries; if several enemies share a shape, they share one entry, and one that differs only in colour gets a texture prompt on that entry instead of a new entry. A texture prompt repaints the whole model, so describe the whole object with every colour, not "the same but red"; a prop in one plain colour is tinted in code instead.

   - A person that animates must stand in a T-pose, facing the camera, with its head no more than a third of its height, arms long enough to reach mid-thigh, a body no wider than its shoulders, space between the arms, legs and body, and nothing loose that would flap or stick out (scarves, long hair, bandana tails, capes). Give it a list of animations taken only from these names in the Tripo library: idle, walk, run, jump, jump_down, fall, box_01, box_02, box_03, front_kick_01, slash, shoot, hit_to_body_01, hit_to_head, defeat_02, cheer. The name is only a label, so pick by what the motion is: jump has a long crouch before take-off, jump_down is a drop through the air, fall is tripping over onto the ground, defeat_02 is being knocked down, and the attacks are much slower than a game needs.

      If no name fits, write a one-line description of the motion instead, starting with its name and a colon (for example "dodge: a small character rolls forward and gets back up"); this works for people only, and it is reliable for motions on the ground; a motion in mid-air often comes out standing. Anything that only spins, bobs, squashes or flashes is animated in code, not in Tripo. A person who stays seated (a driver, a rider) keeps its legs and hips posed in code and uses animations for the upper body only; Text to Motion does not make good seated poses.

   - An object with parts (a machine, an animal or robot animal, anything that breaks apart) is one model that Tripo will split. List its parts in plain words (for example "left_cannon", "armour_plate", "front_left_leg"), at most 10, and if parts can be swapped, say which slot each part fits. Write the image prompt so that any central body is clearly its own piece, and every part in one main colour of its own, with a gap between parts. Parts that walk or swing are moved in code at their hinges, not rigged.

   - Mark at most two entries as hero: the player's character or vehicle and the main enemy, the ones the camera stays close to. A hero's image prompt keeps its name, colours and art-style sentence and adds what it is made of (painted metal, knitted wool, rubber), small details (rivets, stitching, buckles), decals or wear, and detail on the side the camera sees most, described as part of one front view of a single figure; never ask for a back view or several views. A hero gets 10000 triangles for a person and 15000–20000 for a model with parts; keep a hero's parts list to 6 or fewer, because Tripo merges neighbouring parts and cannot reduce small pieces much.

   - If I want more looks for the game (for example a skin switch, or an elite enemy), give the entry up to 4 styles, each one of classic, Wood (dark old wood), another style Tripo Studio lists under Create Your Own Texture Style, or "own image: [a close-up swatch of the material: colours and surface, no creature or object]" if I will make my own style picture and upload it; or "none". Pick only styles that suit the art style, and tell me what each will look like. Each style costs one more texture generation in Tripo.

   Add up the triangles and texture memory for the busiest moment on screen and say whether a phone can handle it. A Tripo model that is not a hero has colour textures only: one at the chosen resolution, or one per piece for a split model, smaller for small pieces. A hero has three 4K textures (colour, normal and metal-rough), shared by all its pieces. Count a split model that is not a hero at 1.5 times its budget, because filling its gaps adds triangles.

4. Models — first ask me whether the Tripo MCP (https://studio.tripo3d.ai/mcp?from=vgh-prompt-agent) is connected in this session. If it is, make these entries yourself through it: every prop, every object with parts, and every hero or person that does not animate. Generate each one from its prompt and keep it within its polygon budget; for a hero, use the high-detail model and then reduce it to the budget. Before the first job, tell me roughly how many credits the list will cost and wait for my yes. Run one job at a time and wait until it finishes; a high-detail job can take ten minutes. Export GLB, save each file straight from the link the MCP returns (do not retype the link) into public/assets with the entry's file name, and check that it loads. If the MCP is not connected, or an entry fails twice, leave that entry to me.

   My turn — give me one table with a row per entry you did not make (people that animate always come to me, because the MCP cannot export their animations yet): id, kind, hero or not, prompt, polygon budget, file name, animations or parts, and styles or texture prompt (or "none"). Then tell me to make them in Tripo Studio (https://studio.tripo3d.ai/workspace/generate?from=vgh-prompt-agent) by following these steps, which cover every kind of entry, heroes, styles, colour versions and export: https://github.com/TripoGrowthLab/vibe-gaming-interactive-playbook/blob/main/prompt/tripo-studio-steps.md . Wait until I say they are in.

5. Swap — load each GLB in place of its placeholder (models made through the MCP are compressed with meshopt, so load them with the MeshoptDecoder): scale it to the size in the list (people by height), sit it on the ground, and add an environment map so materials are not black. Keep every map a model comes with (colour, normal, metal-rough) and its metal and roughness values; only a model with a colour map alone gets roughness 1 and metalness 0. Render every model next to its placeholder and check it faces the same way; rotate it if it does not. Do this again whenever a model is replaced: a new version can face another way and has new UVs, so its style and colour files must be made again from it. First list what is really inside each file: animation names (Tripo often renames them: defeat_02 can come out as defeat_03, and a Text to Motion clip is named after the start of its description) and, for split models, every piece with its name, size and position. Match animations by the closest name. Match pieces by name first; a piece still called tripo_part_N belongs to a part only if its centre sits inside that part's placeholder, and to the body otherwise, so group them in code; print the pieces of each part and check them on a render before you move any hinge. The sizes stored in the file are not reliable, so recompute each bounding box before you measure anything. The order of meshes changes from file to file, so always match pieces by node name. Tell me what you matched and what is missing. Every piece keeps the whole model's origin: move each part's pivot to its hinge before you turn it, and since a few pieces may still have small holes, make sure nothing looks see-through when a part comes off (close it, show both sides, or put something dark behind it). Merge the pieces of each part into one mesh when they share one material (a hero with parts comes that way) or when draw calls hurt on a phone. If parts can be swapped between machines, line up where each part joins with its slot's attach point and scale it to fit the slot. When a swapped part has a different height, such as another machine's legs, seat everything above it on the new part's real height and hinges, not the old part's or the placeholder's, so nothing floats or sinks. If an entry has style versions, they have the same shape, but Tripo can change their UVs: compare each style's UVs with the default file's, and where they differ, use that style file's own mesh with its textures, cut into the same parts or bound to the same skeleton. List which maps each style file has; a style may come without a metal-rough map. Look at each version and tell me if one does not match its prompt, and add a button that switches skins, loading each style only the first time it is chosen. Never pair the shape data of one file with another file. Put a close-up of each model in the game next to how it looks in Tripo Studio; if colours look washed out or flat, fix the lighting (one main light that casts shadows, less flat ambient light, the right colour space), not the textures.

   Look at the frames of every animation before you use it: pick the part you need, find the moment a punch or kick really lands, and check arms and feet do not go through the body or clothes. Tripo animations are the same for every body shape, so on a character with a big head, a round belly or thick clothes the arms often sink into the hips or chest when they hang down and pass through the head when they go up. Measure this in code instead of judging it from small frames: in every frame of every animation, work out where the arm vertices really are and test whether they are inside the rest of the body (a winding-number test stays right on clothes and open meshes), using the T-pose as zero. Also look at close-ups from the front and from a 3/4 angle, including the armpits. If an arm goes in, fix it in code: after each animation frame, turn the upper arm outward at the shoulder just enough to clear the body (hips, belly, chest and head); ignore a few millimetres of sleeve resting on clothes, and never change a pose where the hands are meant to touch the body (pockets, hips). Tell me the worst depth for every animation before and after the fix.

   Play character animations by name with an AnimationMixer, blending between states, and keep the character in place so only gameplay code moves it: "stay in place" can still leave the body ahead of or behind its feet, so check the hips over the whole clip and centre them. Match walk and run playback speed to how fast the character really moves so the feet do not slide. If a character must do two things at once (run and shoot), play the legs from one animation and the upper body from another: the legs always face where it runs, the upper body twists toward the aim, and it backpedals when aiming behind. When one model is used by several characters at once, clone it with SkeletonUtils so each has its own skeleton. Check where characters stop and touch things using the models' real sizes, not the placeholders', colliding with simple shapes that follow each model's visible surface (a capsule for every character; for a rounded top, step it down and keep it inside the visible edge, so no one stands in the air) and never with a model's mesh itself; fit the shapes to the models, never stretch a model unevenly to fit an old shape, and measure every frame of a crash or knockdown so no character ends up inside what it hit. On a phone held upright, measure over a full round how much of the screen height the player takes up and how much of the screen is empty sky or background, and tell me the smallest and largest of each. Keep a button that switches between greybox and models. The colour tints and white hit flashes that showed states on the placeholders wash out painted models, so on models glow only the part that matters and brighten its own colours instead of adding white; then check that a landed hit is still easy to see and hear (a flash or sparks at the spot, a jolt of the part, a sound). Effects that shake a part must not move the point used for hit detection. Do not change gameplay code, not even to fix a bug; if timings, sizes or triggers need new numbers, tell me what and why, and wait for my yes. Tell me which files, animations or pieces did not load and why.

6. Publish — as a build step, shrink every GLB with glTF Transform (meshopt geometry, WebP textures no larger than they ever appear on screen) and load them with the matching decoders, leaving the files in public/assets as they are. Play a full round on the small files to check that every animation, piece and style still works. Compression changes a rigged model's bind matrices, so play every animation on both the small and the original files and compare how high the feet sit above the ground; anything measured from the bind pose (such as skeleton.pose()) should use the bones' own starting positions instead. Then tell me the total download size and how long the first screen takes to appear on a phone. Then help me put it on a free static host and give me the link. Ask me before you create any account, repository or public page.

Test your own work before you hand it to me: run the build, open the game, check the console for errors, and tell me exactly what you checked. If the game has fights or levels, write a small bot that plays a full round and report what it hit and whether it won, and a second one that plays badly (holds forward into walls and obstacles) to check nothing gets stuck. Wait for every test to finish before you reply; never start a test with & or in the background. Use only a browser that is already installed on this machine; never download one. If you cannot test something, tell me what to try myself. If something does not work, say so.
Auf GitHub ansehen
Mecha Pop · ein Button

Erstelle die Modelle für dein eigenes Spiel

Beschreib eine Figur oder lade ein Bild hoch, und Tripo Studio liefert dir ein spielfertiges Modell – mit Rig und Animationen, wenn es sich bewegen soll. Neue Konten erhalten Gratis-Credits.

Erstes Modell gratis erstellen ↗
Oder folge dem Tutorial in sechs Phasen →