I have been building a browser tool that takes a single sentence (English or Chinese) and generates a playable Roblox game: it plans the gameplay, builds the terrain and buildings, writes the rules and scoring in Luau, and adds the on-screen UI. A typical build takes about 35 minutes and the output is a single .rbxlx file you open in Roblox Studio, with no plugin and no API key, fully editable like any other Studio project.
Things that surprised me while building the generator:
- Layout planning is the easy part. Making the game loop actually fun is not. Most of the work went into win conditions, scoring and pacing, not into meshes.
-
- Luau generation is fine on its own, but breaks as soon as a round timer, respawns and per-player state have to interact. Splitting the output into separate scripts for rules, player logic and UI helped a lot there.
-
- Exporting .rbxlx (the XML text format) instead of binary .rbxl made debugging much easier, and it lets people diff versions in git.
-
- Four detail levels (light to ultra) turned out to be more useful than one “max quality” mode, because people iterate on small versions first.
- What I am still unsure about is which genres break it. Simple obby and tycoon style games come out reasonably; anything that needs pathfinding, physics tricks or heavy NPC behaviour is hit and miss.
- The tool is at https://aigamemakers.com/ if anyone wants to poke at the output. Happy to talk about the pipeline (planner, scene layout, script generation, UI generation) if that is useful to anyone here.