AI Game Engine guide
AI Game Engine is a command-line and Rust game-development toolkit. You create a project, write its game behavior, add assets, run it, inspect what happened and prepare a build. An external AI coding assistant can help with those steps, but the engine does not turn a sentence into a finished game by itself.
This guide is for someone making a game, including someone working alongside an assistant. You do not need to study the engine's internal organization first. You do need a source checkout and a Rust toolchain for the creation workflow, even if you download the command-line executable separately.
Your first session
Follow these tasks in order:
- Prepare the tools and create a project. The first result is a running, initially empty game window.
- Make a scene you can control. Put something visible on screen and move it with a key.
- Plan one playable milestone. Decide the goal, controls and success condition before expanding the game.
- Understand updates and input. Make behavior predictable rather than tying it to rendering speed.
- Add assets through the packing interface. Keep the same asset keys in development and release builds.
- Inspect your game with the harness, then prepare a release build.
Tip. Your first milestone should have one visible action and one recognizable result. A moving object is a better starting point than an ambitious world with no working controls.
How the pieces fit together
| Piece | What you use it for | What it does not supply automatically |
|---|---|---|
| Command-line executable | Create a project, invoke builds, generate selected audio and send harness commands | A graphical scene editor or a built-in conversational assistant |
| Your game | Rules, interactions, controls, menus, world content and win or progression conditions | A complete game merely because a specification file exists |
| Runtime and libraries | Window/input handling, rendering, reusable data and simulation facilities | Automatic integration of every library into every game |
| Asset interface | Read project-relative files from disk or an embedded pack | Automatic conversion of every downloaded file into a playable resource |
| Native control harness | Pause updates, inject inputs, step time, inspect state and capture images | A universal game-specific command set or complete automatic save/replay system |
| External coding assistant | Help plan and implement a bounded task, interpret diagnostics and iterate | Permission to run commands, rewrite unrelated files or publish a build without approval |
A normal working loop is: define a small task, change the game, run it, inspect behavior, fix the mismatch and repeat. A release build adds asset embedding and a target-specific output. The resulting game's requirements still depend on the selected operating system, graphics backend and game integration.
Find a topic
- Worlds and game systems: connect reusable systems without mistaking a design sketch for a finished feature.
- Scenes, cameras and visual effects: control what is visible and how it is presented.
- Menus and interfaces: connect UI actions to your game.
- Sound effects and music: generate and play audio, with format and browser caveats.
- Saves, snapshots and replays: decide what progress means and what a debugging snapshot actually restores.
- Working with an AI assistant: use research and maintenance tools with clear boundaries.
- Command reference: look up syntax and side effects.
- Troubleshooting: recover from common failures.
Development status and platform scope
This manual describes the current development source, whose workspace version is 0.1.0. A previously downloaded executable may not have all the commands described here. Prefer a CLI and engine checkout from the same revision when reproducing the tutorials.
Linux is the starting point for the native workflow. Browser builds have different input, persistence, audio and inspection constraints. Other target names are build recipes with prerequisites, not a promise that a fresh project is production-ready on every platform. Read the target notes before choosing a distribution format.
Examples and command forms were checked against source while writing this guide; they were not run or playtested for it. Design documents sometimes describe more than the current implementation. Where that affects a task, the guide calls out the specific limit instead of treating a roadmap as working software.
Downloads and related products
Use the engine product page for currently published downloads and checksums. The public asset library offers browser previews and downloadable resources. The game library is separate from Studio membership; a displayed price is not proof that a game or checkout is available.
WorkoutRPG is an example of a game built with the engine. Its player controls, save slots and gameplay rules belong to that game, not to every project created by the engine.