Cinderfox

A game engine and editor for 2D and 3D games

I’m writing Cinderfox in Rust. Games made with it run on Mac, Windows and Linux, in the browser, and on iPhone and Android, and every game in the arcade was made with it.

Not out yet.

One email, when the editor is released. Privacy.
The Cinderfox editor with Kidd Summit's first level open: a goat hero selected among coins, trees and a stone tower, with 3D handles on him and his collider, script and transform in the Inspector
Kidd Summit's meadow, in the editor

Where games run

Mac, Windows and Linux
Games run natively on all three. I build the editor on a Mac, and so far that's the only place it's been tested.
The browser
A game exports to the web in one step, from the editor or the command line. That's how every game in the arcade plays.
iPhone and Android
Wilf Goes Skiing is on the App Store and Google Play, but it's written in Rust. Sending a game made in the editor to a phone is coming in the next version.

3D

3D games get lighting, shadows and physics, and you build them in the same editor as a 2D game. Warpline and Ballistic Defence 2's campaign are both 3D.

  • Physically based materials, or banded shading for a drawn look
  • Shadows, a sun, point lights, fog and a skybox
  • Models from Blender or Blockbench, rigged characters with their animations, and ground you can walk on just as it was modelled
  • 3D physics: bodies, rays, overlaps and contacts, a walking character and a follow camera
  • In the editor, 3D handles to move, turn and scale, and a view through the scene's camera or an orbit around it
  • Particles drawn with pictures, for smoke, sparks and dust
Warpline: a racer inside a tunnel of blue light rings, third place, 779 miles an hour
Warpline, in the Nox tube
Ballistic Defence 2: four batteries fire beams at a mothership over a night city
Ballistic Defence 2's campaign
Warpline: a shielded racer on a track across polar ice
Warpline, on Boreas's ice

2D and isometric

2D games get sprites, tile maps and physics, and a map can be square or isometric. An isometric map can sit on terrain with real height.

  • Sprite sheets sliced on a grid or by regions, their frames timed into clips
  • Square and isometric tile maps, animated tiles and a tileset editor
  • Isometric terrain with a height at every corner, for cliffs, ramps, rivers that step down, and bridges
  • 2D physics: bodies, rays and overlaps
  • Particles, tweens, text and on-screen controls
Stranded in Time's plateau in the editor: an isometric map of grass, paths, a river with a wooden bridge and jungle trees, the expedition's party on it, and the Tiles tab's palette of isometric blocks below
Stranded in Time's plateau, painted in the Tiles tab
Marble Mayhem's course in the editor: raised blocks, a ramp and a channel in pastel colours, with the Terrain tab's tools below
Marble Mayhem's course, shaped with the Terrain tools

Music

The editor has a workspace for writing a game's music. You hear a song through the game's own sound, so it sounds the same in the game as it does while you write it, and it exports as a loop with no gap at the join.

  • Emulated sound chips: Yamaha's YM2151 and YM2612, the Commodore 64's SID, the SN76489, and the NES's 2A03
  • A synth, a sampler with drum kits, and General MIDI instruments from any SoundFont
  • Parts arranged along a ruler of bars, with a piano roll and a drum grid
  • A mixer with levels, pans, buses, reverb, delay and a compressor
  • Warnings for notes a chip can't play, parts out of tune, and notes a loop cuts off
  • Songs exported as .ogg or .wav for the game
The Music workspace with Zib's Spires' song Frost Peak open: drums, bass, bells, flute and pad along a ruler of bars, and the bass part's notes in the piano roll below
Frost Peak, from Zib's Spires: five parts on a sampler, a YM2151, a SID and a synth

The editor

The game runs inside the editor while you build it. Press Play to try it, and Stop to put everything back as it was before you pressed Play.

  • A Scene list, your files, and an Inspector where every component is a form
  • Prefabs, with Apply and Revert
  • Handles to move, turn and scale, in 2D and in 3D
  • Undo for every change, yours or an agent's
  • Scripts in tabs beside the scene, errors shown where they happen, and a saved change reaching the running game
  • Export to the browser, or straight to our arcade for review
Zib's Spires' main scene in the editor: Zib the frog selected with the 2D handles over a night sea, the Scene list on the left, and his Animator and Sprite in the Inspector
Zib's Spires, with Zib selected

Luau or Rust

A game can be a folder: a project file, its scenes and its Luau scripts, with nothing to compile. A script declares its components, and they appear in the Inspector, where you can watch them change while the game runs.

Or you can write a game in Rust against the engine, which is how I made Wilf Goes Skiing, Ballistic Defence 2 and Warpline.

scripts/player.luauLuau
component("Ship", {
    health = 100,
    cooldown = 0.0,
    shoot_delay = 0.5,
})

function M.update(self, dt)
    local ship = world.get(self.entity, "Ship")
    if ship.cooldown <= 0.0 and input.down("shoot") then
        fire(self, ship)
    end
end

Working with an AI

The assistant in the editor

Ask it for something in the Assistant panel. It runs on your own Claude API key, which is kept in the system keychain. You can see each tool it uses and what each reply cost.

Your own agent

Claude Code, or any other agent that speaks MCP, can connect to the open project and use the same tools. It can read the scene, place prefabs, paint tiles, edit scripts and write music, and it can play the game and take screenshots to check its work. Each change it makes is one undo step.

Games made with Cinderfox

The arcade

Wilf Goes Skiing, Ballistic Defence 2 and Warpline are on the App Store as well, and Wilf is on Google Play.