SPLITSCREEN CLUB / DOCUMENTATION
Warp / Luau
Warp is the open-source (MIT)
game engine that Splitscreen Club's own games are made in, such as Neon
Siege, Dead Miles and Relay Keepers. Support for Splitscreen Club is built
in. With the warp executable a game is only Luau scripts, synth sound
patches and glTF models: there is nothing to compile, and a file you save
reloads in the running game. That makes it the shortest path for a new game,
and a good fit for making one with an AI agent.
What the runtime does for you
When Splitscreen Club starts a Warp game, the runtime handles the whole lifecycle without any code from you:
- The window stays hidden while the game prepares, and goes fullscreen on Start.
- Every seat in the room becomes a player in your game, with the name and colour from their profile. AI seats become bots.
- Each player's controller arrives as
input[id]in yourtick. - Back goes to the room and pauses the game, Resume continues it, and players who join or leave mid-game do so without a restart.
- Start opens a menu with your game's title, Resume and New round.
You call game.finish() when a match is over, game.log(text) to write a
line in the room log, and players.rumble(id, strength, seconds) to buzz a
controller.
Not yet available from Luau: match settings in the app, phone buttons and phone screens, and online play.
Get the warp executable
There is no download yet: build it from source with Rust.
git clone https://github.com/ontola/warp-game-engine
cd warp-game-engine
cargo build --release -p warp --bin warp
The executable is target/release/warp (warp.exe on Windows). Build on
Windows to get the warp.exe that you ship.
Make a game
warp new my-game # a small working starter game
warp run my-game # play it, windowed with --windowed
warp check my-game # load and run 120 ticks without a GPU: the fastest check
A game is a folder:
my-game/
game.toml title, players, bots, sky (all optional)
main.luau the game: init, tick(dt, input), and more hooks
sounds/*.luau synth patches: sounds/pickup.luau is the sound "pickup"
assets/ glTF models (.glb, .gltf)
scripts/*.json headless playtests
types.d.luau the whole API, for reading and editor completion
gamenight.json the store facts, as for any game
Set id in game.toml to your game's id from the developer portal.
The full Luau API, game.toml keys and the rules for deterministic games are
in the engine's
warp executable guide.
Read types.d.luau in your game folder for every function.
Work with an AI agent
warp run my-game --live serves the running game over MCP. An agent can
then read its state, run Luau in it, edit files (the game reloads and keeps
its state), take screenshots and play sounds, while you play. See
live control.
Without a screen, warp script my-game my-game/scripts/smoke.json --out out
plays a scripted test, saves frames and sound, and fails when a check fails.
Add KERN_ADAPTER=software on a machine without a GPU.
Test and package
-
Play it inside Splitscreen Club, or run the certifier as in Share your game, with the game's command after
--:cargo run --release -p gamenight-certify -- my-game --players 2 -- path/to/warp my-game -
Package on Windows: the package is
warp.exenext to agame/folder with your game. The engine has a script for it:./engine/crates/warp/tools/package-windows.ps1 -Game my-game -Executable target/release/warp.exe -OutDirectory build/my-game ./build/my-game/warp.exe check build/my-game/game --ticks 600 Compress-Archive -Path build/my-game/* -DestinationPath build/my-game-windows.zip -
Upload it with
--entrypoint warp.exeand fill the store page, as in Share your game steps 4 to 6.
In the browser
The browser lobby has a curated shelf. It loads Warp games, including Luau games and selected built-in Rust games, and can embed same-origin HTML games with their own browser runtime. A browser release is added to the shelf separately from publishing a desktop build. For a Godot game, embed its Web export to use the lobby's players, controllers and pause/resume flow.
A game in Rust on Warp
For more than Luau allows, write the game as a Rust crate on the engine and
use its splitscreen-club crate for the connection, as Growing Guns,
Spellstorm and Sideways do. Start with
Making a game on Warp.