← PlaybookTamamlanmış oyun · kuş bakışı nişancı · zor

PIT NINE

Bir hurdalık arenasında çöpçü bir karakter: iki dalga robot tazı, ardından Foreman. Silahlarını, füze kapsülünü ve zırhını tek tek vur, sonra çekirdeğe saldır. Claude Code, Playbook prompt'uyla yaptı; ona hiçbir şeyin nasıl düzeltileceğini söylemedik.

Oyna

WASD ile hareket et, fareyle nişan al, Space ile yuvarlan.

Oyun gri kutuyla açılır. Tripo modellerini yüklemek için altındaki sarı düğmeye ya da oyundayken M tuşuna bas; modeller açıkken L her şeyi Tripo'nun Mecha Pop görünümüyle yeniden stillendirir.

Tek oyun, üç görünüm

Gri kutu, Tripo'nun varsayılan dokusu ve aynı modellerden bir Mecha Pop dokusu. Kopan parçalar, görünümü değiştirsen de kopmuş kalır.

Gri kutu · 2. aşama

Gri kutu · 2. aşama

Kutular ve silindirler. Boss şimdiden adlandırılmış parçalardan oluşan bir grup; her parça kendi menteşesi etrafında dönüyor.

Tripo modelleri · 5. aşama

Tripo modelleri · 5. aşama

Foreman, parçalara bölünmüş tek bir Tripo modeli; silahlar, füze kapsülü ve zırh vurdukça kopuyor.

Mecha Pop · tek düğme

Mecha Pop · tek düğme

Her varlık Tripo'nun Mecha Pop stilinde ikinci bir doku aldı. Oyun dosyaları yerinde değiştiriyor.

Çalışma aşama aşama nasıl ilerledi

10 tur, yaklaşık 3 saat ajan süresi, 47 $ ajan maliyeti ve 1.130 Tripo kredisi. En uzun tur modellerin yerleştirilmesiydi: 75 dakika ve 120'den fazla araç çağrısı.

  1. Ajan boss için bir parça tablosu yazdı (her parça ne yapıyor, nerede menteşeleniyor, koptuğunda hangi saldırı kayboluyor); ardından stil geçişi en baştan içinde olan bir gri kutu, 19 mekanik kontrolü ve iki bot kurdu.

    • Yalnızca kahraman kemikli bir insan; tazılar ve boss parçalardan kuruldu
    • Yine de olduğumuz yerde durarak 20 sn'de öldük: botlar ilk kareden itibaren hareket ediyor. 1. dalga yumuşak bir eğitime dönüştü
    • Kendi beş hatasını buldu; bunların arasında tasarımda sol ve sağ silahların yer değiştirmesi de var
    Tasarım, ardından gri kutu
  2. Her varlık için: Image, Smart Mesh P2.0, doku, ardından bir Mecha Pop dokusu. Segment, tazıyı ve Foreman'ı 106 ve 111 parçaya kesti; elle birleştirmek bunu yalnızca yaklaşık onda bir azalttı.

    • 8 varlık × 2 görünüm = 16 GLB dosyası
    • 1.130 kredi, yaklaşık 50 dakika
    Tripo'da parçalar ve stiller
  3. Her parça tripo_part_N adıyla geldi. Ajan tazıyı, her parçanın hangi yer tutucuyla çakıştığına göre grupladı; Foreman'da bu işe yaramadı, bu yüzden parçaları etiketli render'lardan ayırdı ve bir incik ile bir ayağı tutan tek bir parçayı ikiye kesti.

    • Model başına yaklaşık 100 doku tek dokuda toplandı; Foreman 10 çağrıda çiziliyor
    • Dokular 213 → 105 MB, telefonlarda 37 MB
    • 6 oynanış değerini değiştirmeden önce sordu
    Modelleri ekle: 100 adsız parça
  4. Gri kutudaki durum renkleri dokulu modelleri soluk parlatıyordu, vuruşlar zayıf hissettiriyordu ve bacaklar fareyi izliyordu. Gördüğümüzü anlattık; ajan renkleri küçük alanlara indirdi, vuruş geri bildirimi ekledi ve gövdeyi ikiye ayırdı: bacaklar koşuyu izliyor, omurga nişana dönüyor.

    • Tazıların renk tonu alması zamanın %91'inden %17'sine indi; bacakların koşu yönünden sapması 25° → 7°
    • Kıvılcımlar, vuruş işaretleri ve sentezlenmiş sesler; kendi vuruş kutusu gerilemesini kendisi yakaladı
    • tripo.page'de 24 MB'lık statik build; iki görünümde de mekanikler 19/19
    Oyun testi, ardından yayın

Altı aşamanın ötesinde

Eğitim bir modeli asla bölmez ve ona ikinci bir görünüm vermez. Burada boss parça parça dağılıyor, tazıların iskeleti yok ve her varlığın iki stili var. Bir konu seç.

Segment

Bir modeli parçalara bölmek

Segment, üretilmiş bir modeli parçalara keser ve her parça GLB'de kendi ağ yapısı olur. Foreman'ın vurunca bir silahını kaybetmesinin sebebi bu.

kredi, ilki ücretsiz
40
model başına
~1 min
Balanced'tan çıkan parça
68–111
  • Üç düzey: Simple (3–6 parça), Balanced (6–15) ve Detailed. Sayılar nominal: Balanced burada 68, 106 ve 111 parça verdi.
  • Segment, Triangle ağ yapısı ve rig'lenmemiş bir model ister. Rig'lemeden önce böl.
  • Bir görselden geldiğinde topoloji her seferinde Quad ve 5.000'e sıfırlanıyor; bu yüzden her modelde Triangle'ı yeniden seç.
  • Parçalar dokulamadan sonra da korunuyor: test mech'i 68 ağ yapısı ve toplam yaklaşık 1 MB'lık 68 küçük dokuyla çıktı.
  • Parça başına tek renk çizilmiş ve parçalar arasında boşluk bırakılmış makineler, istediğin parçalara en yakın şekilde bölünüyor.
Önizleme makineyi yaklaşık dokuz bölgeye ayırıyor.
Önizleme makineyi yaklaşık dokuz bölgeye ayırıyor.
Balanced aslında tripo_part_N adlı 68 parça döndürdü.
Balanced aslında tripo_part_N adlı 68 parça döndürdü.
Ajanına söyle
Her varlığı insan, nesne ya da parçalardan oluşan makine olarak işaretle. Makineler için parça başına tek düz renk ve parçalar arasında boşluk iste.

Birleştir ve grupla

Kabaca birleştir, gerisini koda bırak

Studio parçaları elle birleştirmene izin veriyor. Birkaç düzine tıklamadan sonra gerisi, her parçanın bulunduğu yere göre kodla gruplandı.

birleştirmeden sonra Foreman parçası
111 → 103
Foreman için çizim çağrısı
10
tazı başına çizim çağrısı
6
  • Birkaç parça seçmek için 3B görünümde Cmd basılı tutarak tıkla (Windows'ta Ctrl). Listeye tıklamak işe yaramıyor, Shift ise seçimi kaldırıyor.
  • Merge dokulu modellerde de çalışıyor ve birleştirilen parçalar GLB'de birleşik kalıyor.
  • Tazılar, her parçanın gri yer tutucusuyla ne kadar çakıştığına göre gruplandı. Foreman'ın oranları çok farklıydı; ajan etiketli görünümler render etti, onu büyük bloklara böldü ve cıvataları en yakın bloğa bağladı.
  • Bir parça sol ön inciği ve sol arka ayağı tutuyordu; ajan onu ikiye kesti. Arkadaki cıvatalar zırha yapışmıştı, oradan alındı.
  • Her parça kendi küçük dokularıyla geldi, model başına yaklaşık 100. Ajan bunları model başına tek bir atlasta topladı.
  • Füze kapsülünün kapağı ayrı bir parça değildi; bu yüzden açılma animasyonu taklit edilmek yerine çıkarıldı.
Tazıyı altı parçasına doğru geri birleştirmek.
Tazıyı altı parçasına doğru geri birleştirmek.
Seçili bir parça Studio'da taşıma, döndürme ve ölçekleme gizmo'su alır.
Seçili bir parça Studio'da taşıma, döndürme ve ölçekleme gizmo'su alır.
Ajanına söyle
Her tripo_part_N'yi konumu ve boyutuyla listele, tasarım belgesindeki parçalara göre grupla ve bağlamadan önce bana etiketli bir render göster.

Oyunda parçalar

Menteşeler, vuruş bölgeleri, kopma

Her parça tasarım belgesindeki bir menteşe etrafında dönüyor, kendi vuruş bölgesi ve canı var ve koptuğunda bir saldırıyı elinden alıyor.

zırhın vuruş bölgesinin içinde kalan kısmı
22% → 48%
silah namlusunun gerçekte durduğu yer
3.0 → 2.1 m
değiştirmeden önce sorduğu değerler
6
  • Vuruş bölgeleri önce gri kutulara göre ayarlanmıştı. Modelde zırh bölgesi plakanın %22'sinden %48'ine çıktı, namlu 3,0'dan 2,1 m'ye kaydı.
  • Kendi değişikliği çarpma saldırısını yetersiz bırakınca (3,6 m'lik durma yarıçapı), ajan çarpma saldırısını 4,2 m'ye taşımadan önce yeniden sordu.
  • Silahlar konsept görseldekinin ters renkleriyle çıktı; bu yüzden renge göre değil konuma göre adlandırıldı.
  • Vurulan parçayı sallamak, vuruş testinin kullandığı pivotu kaydırdı; çekirdek gövdenin içine kaydı ve dövüş 60 sn'den 107–158 sn'ye çıktı. Artık yalnızca görünen ağ yapısı sallanıyor.
  • Silahlar, füzeler ve tazılar dosyalarında −X'e bakıyordu ve +Z'ye bakacak şekilde çevrildi.
Oyunda Foreman: silahlar, füze kapsülü ve zırh ayrı parçalar.
Oyunda Foreman: silahlar, füze kapsülü ve zırh ayrı parçalar.
Ajanına söyle
Her vuruş bölgesini gerçek modele göre yeniden ayarla ve öncesi ile sonrasındaki değerleri bana göster. Yalnızca görünen ağ yapısını canlandır; vuruş testinin kullandığı pivotu asla.

Dört bacaklı rig

Tazıların neden iskeleti yok

Tripo web'de dört bacaklı bir modeli rig'leyebiliyor, ancak yanında yalnızca tek bir hazır hareket geldi ve o da başarısız oldu. Tazılar, kodla hareket ettirilen altı parçaya dönüştü.

Rig → Other'dan çıkan kemik
15
hazır hareket: Walk
1
harcanan kredi, kullanılabilir bir şey çıkmadı
40
  • Rig → Other, dört bacaklı bir iskeleti iki dakikadan kısa sürede, 20 kredi karşılığında kurdu.
  • İlk Walk dışa aktarmasında animasyon yoktu; ikinci denemede “An error occurred while running task” hatası geldi.
  • Text to Motion (20 kredi) tazıya uygulanamayan insansı bir hareket üretti.
  • Tripo'nun API'si bugün web sayfasının yaptığından daha fazla gövde tipini rig'liyor; dört bacaklılar da dahil.
  • Oyunda her tazı bir gövde, bir kafa ve dört bacaktan oluşuyor; bacakları kod sallıyor, kafa hücum ederken kırmızı, atılırken turuncu parlıyor.
Rig → Other tazıya 15 kemikli bir iskelet veriyor; arka bacak kemiklerinden biri yanlış açıda duruyor.
Rig → Other tazıya 15 kemikli bir iskelet veriyor; arka bacak kemiklerinden biri yanlış açıda duruyor.
Tek hazır hareket olan Walk iki kez başarısız oldu. Text to Motion yalnızca insansı bir hareket üretti.
Tek hazır hareket olan Walk iki kez başarısız oldu. Text to Motion yalnızca insansı bir hareket üretti.
Ajanına söyle
İnsansı olmayan hiçbir şeye iskelet verilmez: onu parçalara böl ve parçaları kodla hareket ettir.

Stil dokuları

Aynı ağ yapısından ikinci bir görünüm

Aynı modeli bir stil hazır ayarıyla yeniden dokulamak, aynı şekle sahip ikinci bir sürüm veriyor. Tek bir düğme 16 dosyanın hepsini değiştiriyor.

stilli doku için kredi
+5
varlık × görünüm = 16 GLB
8 × 2
doku belleği
213 → 105 MB
  • 2K bir doku 10 kredi, stil ile 15. Panel varsayılan olarak 30 kredilik 8K'da açılıyor.
  • Stil bir sonraki doku için hatırlanıyor. Stili kaldırmak için seçili stile tekrar tıkla.
  • Önce varsayılan görünümü dışa aktar, sonra stille yeniden dokula ve onu dışa aktar. Rig'li bir karakterin hareketleri ikinci dışa aktarmadan önce yeniden uygulanmalı.
  • Yalnızca geçerli görünüm yükleniyor ve dokular küçültülüyor: 213 MB 105 MB oldu, telefonda 37 MB.
  • Görünümü dövüşün ortasında değiştirsen de kopan parçalar kopmuş kalıyor.
  • Edit altındaki Magic Brush, bir dokunun bir kısmını yeniden boyuyor (önizleme başına 5 kredi). Bu oyunda kullanılmadı.
Doku stilleri: Mecha Pop, klasik, Wood ya da kendi stil görselini yükle.
Doku stilleri: Mecha Pop, klasik, Wood ya da kendi stil görselini yükle.
Aynı dövüş, Mecha Pop ile.
Aynı dövüş, Mecha Pop ile.
Ajanına söyle
Her varlığa Tripo'nun hazır ayarlarından ikinci bir stil ver. Yalnızca kullanılan görünümü yükle ve görünüm değişince kopan parçaları kopmuş tut.

Text to Motion

Kütüphanede olmayan bir hareket

Kaçınma yuvarlanması kütüphanede yoktu; bu yüzden Text to Motion'da tek bir cümleyle yazıldı.

üretilen hareket başına kredi
20
karakteri klibin adı oluyor
64
Multi-stage zincirinde hareket
5
  • Açıklamaya hareketin adıyla ve iki nokta üst üste ile başla: “roll: a small character dives forward into a quick shoulder roll…”.
  • Studio karta kendi başlığını verdi: Shoulder Roll and Crouch. GLB'de klip, açıklamanın ilk 64 karakterinin adını taşıyor; hareketin adının başa yazılmasının sebebi bu.
  • Üretilen hareketler kart olarak kalıyor; birini yeniden uygulamak, örneğin yeni bir dokudan sonra, hiçbir şeye mal olmuyor.
  • Multi-stage Motion, en fazla beş hareketi tek bir klipte zincirliyor. Burada denenmedi; kombolar için bir aday.
Yuvarlanma, tek satırda tarif edildi. 20 krediye mal oluyor.
Yuvarlanma, tek satırda tarif edildi. 20 krediye mal oluyor.
Ajanına söyle
Kütüphanede olmayan her hareket için, hareketin adıyla ve iki nokta üst üste ile başlayan tek bir Text to Motion satırı yaz.

Koş ve nişan al

Bacaklar bir yöne koşuyor, silah başka yöne bakıyor

Çift çubuklu (twin-stick) bir nişancıda bir yöne koşup başka yöne ateş edersin. Ajan gövdeyi ikiye ayırdı: bacaklar koşuyu izliyor, üst gövde nişana dönüyor.

bacaklar koşu yönünden sapıyor
25° → 7°
m/sn ayak kayması
2.5 → 0.72
mm kol gövdenin içinde
33.7 → 4.0
  • Üst gövde, üç omurga kemiği boyunca nişan noktasına doğru bükülüyor.
  • Koşarken arkaya nişan almak koşu animasyonunu geriye oynatır; yana koşmak kalçayı büker.
  • run, 3,82 m/sn'ye uysun diye 1,57× hızlı oynatılıyor ve klipte 0,94 m ileride duran kalçası yeniden ortalandı.
  • Ajan, kolların gövdeye ne kadar derin girdiğini kare kare ölçtü.
Bir yöne koşup başka yöne ateş etmek.
Bir yöne koşup başka yöne ateş etmek.
Ajanına söyle
Karakteri böl: bacaklar koşuyu hareket yönüne doğru oynatsın, omurga üst gövdeyi nişana çevirsin. Ayak kaymasını ve kolun gövdeye geçmesini ölç.

Vuruş geri bildirimi

Geri bildirim ve ses, hepsi kodla

Gri kutuların vuruş hissi vermesi için çok az şey yeter; dokulu modeller çok daha fazlasını ister. Kıvılcımlar, vuruş işaretleri ve her ses kodla eklendi, hiç ses dosyası yok.

tazı vuruşunda ekran değişimi, 0–255
4.6 → 13.6
boss vuruşunda aynısı
9.9 → 22.4
ses dosyası
0
  • Vuruş noktasında bir parlama ve kıvılcımlar; vurulan parça sallanıp kısa süre turuncu parlıyor; ekranda bir artı işareti, öldürmede ya da kopan parçada daha büyük ve kırmızı; boss çubuğu nabız gibi atıyor.
  • Her ses kodla sentezleniyor: metal bir çınlama, çekirdekte daha tiz bir nota, tazılarda bir gümbürtü, engellenen atışlar, silah ve patlamalar. Bir Ses düğmesi hepsini kapatıyor.
  • Ajan tahmin etmek yerine, vuruş noktası çevresindeki pikselleri öncesi ve sonrasıyla karşılaştırıp değişimi ölçtü.
Vuruş geri bildirimi: kıvılcımlar, bir vuruş işareti, vurulan parça sallanıyor.
Vuruş geri bildirimi: kıvılcımlar, bir vuruş işareti, vurulan parça sallanıyor.
Ajanına söyle
Bir vuruşun çevresinde ekranın ne kadar değiştiğini ölç, sonra kıvılcımlar, bir vuruş işareti ve kodla sentezlenmiş sesler ekle. Modelleri yerleştirdikten sonra tüm geri bildirimi yeniden ayarla.

Bu çalışmadaki sorunlar

Ne yanlış gitti, nedeni neydi ve nasıl düzeltildi. Yeni Playbook prompt'u çoğunu zaten kapsıyor.

Tripo Studio'da yazdığın parça adları GLB'de yok

Yeniden adlandırılan parçalar yine tripo_part_N olarak dışa aktarılıyor. Bunun yerine her parçanın nerede durduğunu not et ve ajanın parçaları kodla konumlarına göre gruplamasına izin ver.

Segment, listelediğinden çok daha fazla parça kesiyor

Balanced, modelleri 106–111 parçaya böldü ve elle birleştirmek yalnızca yaklaşık onda birini ortadan kaldırdı. Gerisini ajan kodla grupladı; bu yüzden kaba bir birleştirme yeterli.

Rig'li bir karakter yeni bir dokudan sonra animasyonlarını kaybediyor

Rig'li bir modeli yeniden dokulamak animasyonları düşürüyor ve dışa aktarmada yalnızca kemikler oluyor. Dışa aktarmadan önce Animate'te onları yeniden uygula; bu kredi harcamıyor.

Dokulu modeller soluk görünüyor

Gri kutularda durumları gösteren renkler dokulu bir modelin tamamını kaplıyor. Durum renklerini küçük bir alanda tut ve beyaz eklemek yerine dokuyu aydınlat.

Kopmuş bir parça içi boş görünüyor

Bölünmüş parçalar ince kabuklar. Boşluğu kapat, iki yüzü de çiz ya da arkasına koyu bir şey koy; ajan iç yüzleri karartı.

Botlar kazanıyor, yeni başlayanlar ölüyor

Botlar ilk kareden itibaren hareket edip kaçınıyor. Yerinde duran ya da dikkatinin yalnızca yarısı oyunda olan bir oyuncuyu da test et ve ilk dalgayı onlara göre ayarla.

Kendi oyununu yap

Bunu kodlama ajanına yapıştır

Claude Code ya da Codex'te boş bir klasör aç ve yapıştır. Beş soru sorar, ardından oyunu aşama aşama kurar ve her aşamadan sonra durur, böylece oynayıp deneyebilirsin.

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.
GitHub'da görüntüle
Mecha Pop · tek düğme

Kendi oyununun modellerini yap

Bir karakteri tarif et ya da bir görsel yükle; Tripo Studio sana oyuna hazır bir model verir, hareket etmesi gerekiyorsa rig'li ve animasyonlu. Yeni hesaplara ücretsiz kredi verilir.

İlk modelini ücretsiz yap ↗
Ya da altı aşamalı eğitimi izle →