Free and open source · MIT or Apache-2.0 · not released yet
Make 2D characters move, for your game.
pantin is an animation tool for 2D games. You draw a character in pieces, give it a
skeleton, and animate the skeleton. Your game plays the animation smoothly, at any speed, from a few
small files.
A piece can be cut into triangles (a mesh) and carried by several bones, so a tail
curves, cloth waves and a body breathes instead of breaking at the joints.
Rules save keys: an arm reaches for a target and bends at the elbow (IK), an eye follows
another, a tail swings on a spring with no key at all, bones follow a path.
Pose a bone and a key is set at the time of the clock. Curves say how it eases from one
key to the next, and ghosts of the poses before and after help judge the motion.
All the pieces packed into one picture (an atlas), normal maps for games that light their
characters, hitboxes and a graph of states, then one file a game loads.
Three levels where every picture is a pantin character: a hero driven by its states, beetles
squashed by their hitboxes, grass that rustles as Pim runs through it.
The editor. Bones, images, meshes and
weights, constraints and springs, skins, a timeline with keys and curves, undo, in four languages.
Built
Ready for games. The atlas, normal maps,
hitboxes (Hit), a graph of states (Flow), one bundle a game loads, exports to GIF and video.
Built
Runtimes for Godot and Bevy, and a game
made with them.
Next
More. Deformation in 2.5D, runtimes for the
web and Unity, and a first release to download.
Questions
Frequently asked
Is it free?
Yes. pantin is open source, under the MIT or Apache-2.0
licence, at your choice: you can use it for any game, commercial or not, and the characters you make
are yours.
Can I download it?
Not yet: there is no release so far. It is built from
its source with Rust, on Windows, macOS or Linux; Get started says how, in
two commands.
Do I need to know how to animate, or to code?
Neither to start. The
tutorial goes from nothing to a walking fox, gesture by gesture. Putting the
character in a game needs what your engine needs: a node in Godot, a few lines in Bevy.
Which game engines?
Godot 4 and Bevy today. The files are documented, so
other engines can read them; the web and Unity are planned.
Can I use the art I already have?
Yes: PNG and SVG images, the layers of a
PSD, and skeletons exported as JSON by another animation tool, with their atlas.
Why not just draw every frame?
Frame-by-frame animation is beautiful, and
pantin can play flipbook frames too. Bones make the files smaller, the motion smooth at any speed,
blend one animation into the next, and let the game bend a character as it plays.
A clean-room implementation. pantin is written from scratch. Code derived from the
runtimes of proprietary animation tools is never read nor accepted, and its file format takes nothing
from theirs.