CUTANAI is my entry for the Epic AI MegaJam 2026. Unreal 5.8, C++, 4 days, one person directing and Claude (Anthropic) writing and debugging the C++ and the Python editor tooling. Short version of what was interesting on the tech side:
🧱 Structure
- Almost the whole game lives in three C++ actors (MindRoom, Panopticon, LatticePawn) plus a folder of Python scripts that build materials, import models and patch levels from the command line. Very little Blueprint.
- The game has a self-play mode (flags like -autofull -fastlife -endswitch) and runs offscreen (-game -RenderOffscreen) saving stills, so every change was checked as a contact sheet from a real build instead of from the editor.
👁️ Film in the eyes
- Each eye is a UMediaPlayer feeding a MediaTexture into a dynamic material instance. The material bends the picture with a "Bulge" scalar so it reads as an image on a curved lens, plus grain.
- All 46 clips (public-domain silent film and free footage) were regraded to black and white with grain so they read as one film.
- Each returning ghost gets its own transient media player and texture, created at runtime.
💥 What broke only in the packaged build
- Ghost soldiers rendered black, then pure white: the material was missing skeletal-mesh usage. Works in PIE, fails in a cooked build.
- Components built in OnConstruction and some asset folders did not ship; they had to go into DirectoriesToAlwaysCook.
- Restarting a life took 55 s: 54,000 instanced-mesh cells in the panopticon, each with a physics body. Collision off on the shell plus one simple passage collider brought it to 0.45 s.
- The intro rendered black because an f/11 depth of field killed exposure; focal distance 0 fixed it.
- The zip was 1.02 GB against a 1 GB limit; Oodle compression and smaller clips got it to 940 MB.
🎬 The trailer
- Shot entirely in the running game: self-play lives the life while a -campath file drives a film camera (orbits around targets, long lenses on the masks from beside the player's eye, cranes onto the machine). Every frame saved at 30 fps, cut in ffmpeg. No editor, no Sequencer.
- Trailer: https://youtu.be/7TTuiA2HbfI
💡 Biggest lesson working with an AI on UE: make it prove things in the shipped build and give it eyes (self-play + screenshots). That mattered more than any prompt.
🎮 Play and rate: https://itch.io/jam/2026-epic-ai-megajam/rate/5377357
🏯 Store page (Windows, free): https://amidevs.itch.io/cutanai
Happy to answer questions about the setup.