← PlaybookFertiges Spiel · Beat 'em up · schwer

LANTERN ALLEY

Volt räumt eine Comic-Gasse auf: vier Wellen Schläger, dann der Boss Big Anvil. Dreier-Combos, Tritte, Lauf-Angriffe. Gebaut von Claude Code mit dem Playbook-Prompt; wir haben nur „Los“ gesagt oder beschrieben, was wir sahen.

Spielen

Schlagen mit J, treten mit K, bewegen mit WASD, rennen mit Shift.

Das Spiel startet als Greybox. Drücke den gelben Button darunter oder im Spiel V, um die Tripo-Charaktere zu laden; danach geht der Wechsel in beide Richtungen sofort.

Derselbe Kampf, vor und nach Tripo

Jede Mechanik war zuerst mit Kapseln spielbar und getestet. Die Modelle kamen in Phase 5 hinein, ohne den Gameplay-Code anzufassen.

Greybox · Phase 2

Greybox · Phase 2

Kapseln, die je nach Zustand die Farbe wechseln: Rosa bei einem Treffer, ein roter Ring bei dem einen Gegner, der angreifen darf.

Tripo-Charaktere · Phase 5

Tripo-Charaktere · Phase 5

Sechs geriggte Kämpfer mit Animationen aus der Motion-Bibliothek. Die schwarze Kontur und die flache Schattierung kommen aus dem Code.

In Tripo Studio · Phase 4

In Tripo Studio · Phase 4

Volt nach Auto Rig, mit Schlägen und Tritten aus der Motion-Bibliothek. Ganz ohne 3D-Software.

So verlief der Lauf, Phase für Phase

23 Runden, rund 3 Stunden 20 Minuten Agentenzeit, 45 $ Agentenkosten und 1.190 Tripo-Credits. Wir haben dem Agenten nie gesagt, wie etwas zu reparieren ist.

  1. Der Agent stellte fünf Fragen, schrieb ein einseitiges Design mit einer Angriffstabelle und baute dann den ganzen Kampf mit Kapseln in Three.js, dazu einen Bot, der ihn mit denselben Tasten spielt.

    • Jeder Angriff nennt seine Animation, seinen Schaden und den Bruchteil, an dem der Treffer landet
    • Der Bot gewann 5 von 5 Partien; Greybox in 11 Minuten für 2 $
    • Wir sagten „Stillstehen kostet 70 HP in 30 s“; er maß erst nach und bremste dann die frühen Wellen
    Design, dann eine Greybox
  2. Wir folgten der Schrittliste, die der Agent geschrieben hatte: Bild, Smart Mesh P2.0, Textur, dann Auto Rig und Animationen aus der Motion-Bibliothek für die vier Kämpfer.

    • 890 Credits, etwa 37 Minuten
    • 4 geriggte Charaktere mit 29 Animationen, 4 Props
    Acht Assets in Tripo
  3. Wir sagten nur „Die Dateien sind drin“. Der Agent fand umbenannte Animationen, einen Tritt, der zur Seite zeigte, und Angriffe, die 4–6× langsamer waren als in der Greybox. Er maß den Frame, in dem jeder Schlag landet, und fragte nach, bevor er irgendeinen Wert änderte.

    • Eine Lab-Seite rendert jedes Modell neben seinem Platzhalter
    • Trefferfenster anhand echter Frames neu getaktet; der Bot gewann 3 von 3 mit Modellen
    Modelle einbauen: drei versteckte Fallen
  4. Ausgeknockte Schläger wurden zu schwarzen Silhouetten, das Gehen ruckelte auf einem 120-Hz-Laptop, und Combos fühlten sich nicht wie Combos an. Wir beschrieben jedes Problem; der Agent fand die Ursache und behob sie in einer Runde.

    • Volle Combos pro Kampf: 1 → 9
    • Zwei neue Kämpfer in Tripo aus Prompts, die der Agent geschrieben hat: 300 Credits mehr
    • Endstand: 6 geriggte Charaktere, Bot 6/6, 46 Prüfungen; ein statischer Build mit 19 MB auf tripo.page
    Playtest, dann veröffentlichen

Über die sechs Phasen hinaus

Im Beispiel des Tutorials bekommt eine Skifahrerin ein Rig mit drei Bewegungen. Sechs Kämpfer brauchten vieles, was das Tutorial nie abdeckt: eine ganze Besetzung riggen, die Motion-Bibliothek, animierte Exporte, auf Frames getaktete Treffer, Cel Shading und ein Texturbudget. Wähle ein Thema.

Eine Besetzung riggen

Sechs Kämpfer, ein Skelett

Jeder Kämpfer durchlief dasselbe Rig: Humanoid, Preset Mixamo, Auto Rig. Weil die Skelette übereinstimmen, kann jeder Kämpfer die Bewegungen jedes anderen abspielen.

Credits, um einen Kämpfer zu riggen
20
Bones in jeder Datei
65
Kämpfer, ein Skelett-Layout
6 → 1
  • Wähle das Kandidatenbild mit Blick auf das Rig: Arme waagerecht, Hände offen, eine deutliche Lücke zwischen den Beinen.
  • Proportionen, die sich gut riggen lassen: Kopf höchstens ein Drittel der Körpergröße, Arme bis zur Oberschenkelmitte, Körper nicht breiter als die Schultern, Abstand zwischen Gliedmaßen und Körper.
  • Alles, was vom Körper baumelt, bleibt starr. Sprats Bandana-Zipfel verschob jeden Clip um 30 cm aus der Mitte, also zentrierte der Agent jeden Kämpfer auf der Hüfte.
  • Der Boss ist einfach ein größerer humanoider Charakter. Der Rig-Typ Other wurde für dieses Spiel nicht getestet, nichts hing davon ab.
  • Bevor neue Bewegungen existierten, liehen sich die Kämpfer gegenseitig Clips: Sprat nutzte Volts hohen Tritt, der Boss Slabs Überkopfschlag.
  • Zwei später ergänzte Kämpfer kosteten je 150 Credits: Modell 100, Textur 30, Rig 20.
Das Rig-Panel: Humanoid mit dem Preset Mixamo. Auto Rig kostet 20 Credits und dauert etwa 30 s.
Das Rig-Panel: Humanoid mit dem Preset Mixamo. Auto Rig kostet 20 Credits und dauert etwa 30 s.
Zwei von Sprats vier Kandidaten. „Bandana tied over the head“ gab jedem einen steifen Zipfel.
Zwei von Sprats vier Kandidaten. „Bandana tied over the head“ gab jedem einen steifen Zipfel.
Sag es deinem Agenten
Alle Kämpfer nutzen dasselbe humanoide Rig, daher kann jeder Clip auf jedem von ihnen laufen. Liste auf, welcher Kämpfer welche Bewegungen braucht und welche geliehen werden könnten.

Motion-Bibliothek

Wähle Bewegungen danach aus, was sie tun, nicht nach dem Namen

Tripos Motion-Bibliothek hat Boxen, Tritte, Treffer-Reaktionen und Knock-downs. Die Namen sind nur Labels, also sieh dir jede Bewegung an, bevor du sie anwendest.

Credits, um Bewegungen anzuwenden und zu exportieren
0
Clips bei vier Kämpfern
29
für einen „slash“
6.58 s
  • Die Bibliothek erlaubt Mehrfachauswahl. Ein Kreis in der Ecke einer Karte bedeutet, dass die Bewegung auf dieses Modell angewendet ist; jeder Klick führt einige Sekunden lang ein Retargeting durch.
  • Die Suche sucht nur in der aktuellen Gruppe. Wechsle zuerst zu All: Unter Recently Used tauchen neue Bewegungen nie auf.
  • Recently Used gilt für dein ganzes Konto und sagt nichts über das aktuelle Modell aus. Nur der Export-Dialog listet auf, was angewendet ist.
  • Bewegungen aus der Bibliothek sind viel länger, als ein Spiel braucht: idle 15,33 s, cheer 12,08 s, slash 6,58 s. Das Spiel spielt Teile davon schneller ab.
  • Eine Bewegung später zu einem geriggten Kämpfer hinzuzufügen, ist kostenlos. run wurde in einem Durchgang ergänzt und unter demselben Namen erneut exportiert.
„defeat“, abgetastet von 0 bis 0,85 des Clips: Der Hero schwankt und fällt nie um.
„defeat“, abgetastet von 0 bis 0,85 des Clips: Der Hero schwankt und fällt nie um.
„defeat_02“ ist der, der am Boden endet.
„defeat_02“ ist der, der am Boden endet.
Sag es deinem Agenten
Beschreibe für jede Bewegung in der Liste, wie sie aussehen muss und wie lange sie ungefähr dauern darf, damit ich die Vorschau in der Bibliothek prüfen kann, bevor ich sie anwende.

Animierter Export

Kämpfer samt Bewegungen exportieren

Ein geriggter Kämpfer bringt seine Bewegungen nur mit, wenn du drei Einstellungen im Export-Dialog änderst. Die Standardwerte lassen sie weg.

Bewegungen standardmäßig exportiert
0
Texturgröße im Dialog
8K → 2K
die Hüfte im run-Clip sitzt weiter vorn
0.55 m
  • Number of Animations steht anfangs auf 0. Öffne es, wähle Select All und hake dann die Bewegungen ab, die du nicht brauchst.
  • „Animation stay in Place“ erscheint erst, wenn Bewegungen ausgewählt sind. Schalte es ein, sonst tragen walk und run den Körper von seinem Collider weg.
  • Stay in place entfernt die Fortbewegung, nicht den Versatz: In run sitzt die Hüfte den ganzen Clip über 0,55 m weiter vorn. Der Agent maß das und zentrierte neu auf der Hüfte.
  • Texture Resolution stand beim ersten Export standardmäßig auf 8K. Nachdem es einmal auf 2K geändert wurde, merkte sich der Dialog das.
  • Der Button Export tut beim ersten Klick manchmal nichts, und der Dialog bleibt offen. Klicke einfach erneut.
Export: GLB, 2K-Texturen, Skelett an, alle Bewegungen ausgewählt, Animation stay in Place an.
Export: GLB, 2K-Texturen, Skelett an, alle Bewegungen ausgewählt, Animation stay in Place an.
run später ergänzen: in der Bibliothek anwenden, unter demselben Namen erneut exportieren.
run später ergänzen: in der Bibliothek anwenden, unter demselben Namen erneut exportieren.
Sag es deinem Agenten
Liste für jede GLB die enthaltenen Clips mit ihrer Länge auf und prüfe, ob die Hüfte während jedes Clips vom Ursprung entfernt sitzt.

Treffer-Timing

Ein Treffer landet auf einem Frame, nicht auf einem Tastendruck

Der Agent baute eine Lab-Seite, die jeden Clip auf dem Modell neben seiner grauen Kapsel abspielt, und las dann die Hand- und Fuß-Bones Frame für Frame aus.

Abweichung von vorn: Der Frontkick ist ein Seitentritt
81–88°
Kopfbewegung bei einem Jab
13 → 30 cm
Überblendung in eine Treffer-Reaktion
0.04 s
  • Jeder Angriff behält seinen Treffer am gleichen Anteil des Clips; die Abspielgeschwindigkeit ändert sich, nicht die Timing-Tabelle.
  • front_kick_01 stellte sich als Seitentritt heraus. Nur dieser Clip wurde um −85° gedreht.
  • walk und run laufen mit der Geschwindigkeit, mit der sich der Kämpfer tatsächlich bewegt, damit die Füße nicht rutschen.
  • Treffer-Reaktionen beginnen mit ruhiger Haltung. Sie im Moment des Aufpralls zu starten, überblendet über 0,04 s, ließ bei einem Jab den Kopf 30 cm statt 13 wandern.
  • Die grauen Kapseln nutzen dieselben Clip-Längen, also kämpfen beide Looks gleich.
box_02, abgetastet von 0 bis 0,85 des Clips. Die Faust landet erst am Ende.
box_02, abgetastet von 0 bis 0,85 des Clips. Die Faust landet erst am Ende.
Nach dem Neutakten landen Tritt und Treffer gleichzeitig.
Nach dem Neutakten landen Tritt und Treffer gleichzeitig.
Sag es deinem Agenten
Baue eine Lab-Seite, die jeden Clip auf dem Modell neben seinem Platzhalter abspielt. Lies die Hand- und Fuß-Bones Frame für Frame aus und sag mir, wann jeder Angriff wirklich landet.

Cel Shading

Konturen und Toon-Shading leben im Code

Der Comic-Look ist nicht in die Texturen gemalt. Tripo generiert flache Farbe; das Spiel ergänzt die schwarze Kontur und das hartkantige Licht.

Dreiecke, wenn Konturen gezeichnet werden
52k → 105k
in Texturen eingebackene Schatten
0
  • Jeder Asset-Prompt teilt eine Stilzeile: flache Farben, keine Verläufe, gleichmäßiges Licht, keine eingebackenen Schatten.
  • Eine in die Textur gemalte Kontur verschwimmt, wenn die Textur verkleinert wird, und kann der Silhouette nicht folgen, wenn sich ein Kämpfer dreht.
  • Die Kontur ist eine etwas größere schwarze Kopie jedes Körpers, von innen nach außen gezeichnet. Sie verdoppelt die Dreiecke, also zählt das Budget sie mit.
  • Toon-Shading ersetzt das beleuchtete Material durch wenige harte Lichtstufen.
  • Alle grauen Platzhalter teilten zunächst ein Kontur-Material, daher blendete das Ausblenden eines Gegners alle Konturen aus. Der Agent gab jedem sein eigenes.
Hero-Kandidaten aus einem Prompt: flache Farbe, gleichmäßiges Licht, keine eingebackenen Schatten.
Hero-Kandidaten aus einem Prompt: flache Farbe, gleichmäßiges Licht, keine eingebackenen Schatten.
Im Spiel: Kontur und Toon-Shading kommen aus dem Code.
Im Spiel: Kontur und Toon-Shading kommen aus dem Code.
Sag es deinem Agenten
Lass Konturen und Cel Shading im Code. Verlange von Tripo flache Farben, gleichmäßiges Licht und keine eingebackenen Schatten, und zähle die Kontur im Dreiecksbudget mit.

Texturspeicher

Texturen, nicht Dreiecke, sind das Budget

Bevor irgendetwas generiert wurde, zählte der Agent den Speicher im vollsten Moment des Kampfes. Die Dreiecke waren in Ordnung; die Texturen nicht.

Texturspeicher, alle Maps → Smartphone
470 → 22 MB
Credits pro Textur, 8K → 2K
30 → 10
der gesamte veröffentlichte Build
19 MB
  • Im vollsten Moment, Welle 3, summieren sich die Modelle auf 52k Dreiecke, während allein sieben 2K-Farb-Maps etwa 157 MB belegen.
  • Mit Normal- und Roughness-Maps wären es etwa 470 MB.
  • Beim Laden verkleinert das Spiel die Texturen: 1024 für Kämpfer, 512 für Props, insgesamt etwa 22 MB.
  • Zwei weitere Kämpfer hoben es auf 34 MB; der Agent meldete die neue Summe, als er ihre Prompts schrieb.
  • Das Textur-Panel stand standardmäßig auf 8K bei 30 Credits; 2K kostet 10. Dieses Spiel zahlte 8K-Preise für Texturen, die es auf 1024 verkleinerte.
Vom Agenten vor dem Generieren gezählt und nach zwei weiteren Kämpfern erneut.
Vom Agenten vor dem Generieren gezählt und nach zwei weiteren Kämpfern erneut.
Fünf Kämpfer auf dem Bildschirm nach dem Update.
Fünf Kämpfer auf dem Bildschirm nach dem Update.
Sag es deinem Agenten
Zähle vor dem Generieren Dreiecke und Texturspeicher im vollsten Moment und sag mir, was du auf Smartphones verkleinern wirst.

Stolperfallen aus diesem Durchlauf

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

Die Animationsliste nennt Clips, die nicht in der Datei sind

Die Bibliothek zeigt hit_to_body, aber die Datei enthält hit_to_body_01; defeat kommt als defeat_02 oder defeat_03 heraus. Lass den Agenten die echten Clip-Namen in jeder GLB auflisten, bevor er sie zuordnet, und nach dem ähnlichsten Namen zuordnen.

Schläge sehen richtig aus, landen aber nie

Angriffe aus der Motion-Bibliothek sind 4–6× langsamer als die Greybox-Zeiten, und ein slash von 6,6 s erreichte sein Trefferfenster nie. Der Agent las die Hand- und Fuß-Bones Frame für Frame aus, fand heraus, wann jeder Schlag wirklich landet, und taktete die Treffer an denselben Anteilen neu.

Ausgeknockte Gegner werden zu schwarzen Formen

Die Comic-Kontur ist eine etwas größere schwarze Kopie des Körpers. Wenn der Körper ausgeblendet wird, verdeckt er diese Kopie nicht mehr. Die Kontur beim Ausblenden abzuschalten, löste das.

Das Gehen ruckelt auf einem 120-Hz-Bildschirm

Die Spiellogik lief in festen 60-Hz-Schritten, und der Renderer zeichnete den letzten Schritt, daher stand auf 120 Hz jedes zweite Bild still. Zwischen den beiden Schritten zu zeichnen löste es. Ein Bot kann das nicht sehen; der Prompt verlangt jetzt flüssige Bewegung bei 60 und 120 Hz.

Testergebnisse verschwinden am Ende einer Runde

Bei einem Headless-Lauf des Agenten werden Aufgaben im Hintergrund beendet, sobald der Agent antwortet. Sag ihm, dass er warten soll, bis jeder Test fertig ist, bevor er antwortet.

Du bittest um mehr Gegner-Moves und bekommst neues Verhalten statt neuer Animationen

Der Agent verwendet am liebsten wieder, was er hat: Umfärbungen, geliehene Clips, neue KI-Muster. Willst du neue Modelle oder Animationen, sag „Erstelle sie in Tripo“, dann schreibt er dir die Prompts.

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
In Tripo Studio · Phase 4

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 →