I wanted a lot of 2D sprites on screen in Unity without paying for a GameObject per sprite. So I built Flint, a small MIT-licensed engine that runs inside Unity 6.

On an Apple M2 Pro, Flint draws 1,000,000 moving sprites in 5.82 ms. A Burst job and mesh I wrote by hand for the same scene takes 23.2 ms, so Flint is about 4x faster than that. A hand-written Godot C# MultiMesh takes 7.49 ms, so against Godot the gap is a modest 1.3x.

The honest part

  • The baselines are good, not perfect. Someone who writes the same technique by hand would close much of the gap.

  • It is one computer, with every sprite visible. I have not measured Windows or Android.

  • Flint does not make a Unity game start faster or smaller. The sample adds 2.5 MB to an Android bundle and 0.1 s to a macOS start.

All numbers, the commit and the raw data are in the repo, so you can run them yourself.

Why it is fast
Sprites are plain data, not objects. Every frame, Flint culls them, sorts them with a radix sort and writes them out in Burst jobs. Big scenes spread the work over all cores.

Then the trick: instead of four vertices (96 bytes) per sprite, Flint sends one 24-byte record and lets the vertex shader build the corners. On macOS the job threads write those records straight into GPU memory. The whole scene is one draw call, and nothing allocates per frame (0 B in a development player, up to a million sprites).

Does it make real games?
Yes, small ones. These two card games run on it, with no Unity Canvas at all:

There is also an editor, Flint Studio, that works inside and outside Unity:

Try it

tools/test.sh all tools/bench.sh macos 3 

The repo has 2,500+ tests, and docs in English and Turkish: https://github.com/bilgehandk/FlintEngine

If you run the benchmark on Windows or Android, I would love to see your numbers. That is the biggest gap right now.

Music in the launch video: "Odyssey" by John Tasoulas, CC BY 3.0.