I think as AI code generation gets more widespread, we are going to see a resurgence of games shipping with their own bespoke game engines, even in the indie space.
The advantage of using an engine, in general, is that repeat problems like asset management, LOD scaling and culling, PBR rendering and so on are already solved for you, but this comes at the cost of making your architecture less flexible. Your game code is now beholden to the engine you develop against, whose assumptions may or may not match the game experience you are trying to create - for example, the engine's object culling may assume a first-person camera when what you want to make is an RTS game.
All of these things that engines solve are problems that have been solved hundreds or thousands of times now, with relevant open-source code generally available, and hence, these are tasks that AI agents excel at. AI agents can thus add these functionalities to your engine just when you need them, fit them into the existing architecture of your game, and mold them to your precise requirements. This should take a lot of the complexity of modern heavy-artillery engines away, including those complexities that make even AAA studios struggle to optimize games these days, while still having all of those engines' power at the developers' fingertips.
Why not just have the AI edit/configure a well tested engine instead of spending tokens on the thousandth and first implementation?
It's really strange to me how ready people are to own a bunch of untested code in this AI era even if they didn't write it.
I am making my own engine now, entirely with AI. I would not use an engine that restricts this ability.
Ironically I think there will be a similar issue: “Your game code is now beholden to the agent(s) you develop against, whose assumptions may or may not match the game experience you are trying to create”
This doesn't work very well presently. A rich library/framework ecosystem will still be needed. As that C++ Boost.Beast creator said:
> An LLM multiplies the richness and uniformity of the host language’s package ecosystem... asking a model to write bashkit or an HTTP/2 + TLS 1.3 stack from scratch in C++ produces 40,000 lines of broken state machines and blown context windows.
> Benchmarks confirm why. When Zero2Repo blocked existing implementations of target libraries and forced 18 frontier agent configurations to build them from scratch, 56.2% of runs failed the hidden acceptance suite and none solved all 17 tasks, because agent accuracy drops roughly in half past 600-token patches.