Export to Godot 4 and Unity
Starting in version 1.4.0, Tessarune writes sprite animations directly into engine files alongside the usual PNG sheets and GIF files. Animation clips use the artwork’s variant names unchanged, such as walk-south, while unnamed motions default to default.
Exporting
In Studio, select Export → Game engine. In the CLI, run tessarune render or tessarune delivery with --engine godot or --engine unity. Output is saved to outputs/_exports/<artwork>/<run>/, next to your source and normal outputs, which are kept. Always copy the whole godot/ or unity/ folder; saving individual browser files breaks relative paths. Extract delivery ZIP files completely before importing.
tessarune render works/actor.tess.js --engine godot --loop 0 --json
tessarune render works/actor.tess.js --engine unity --pixels-per-unit 32 --pivot-x 0.5 --pivot-y 0 --loop 1 --json
tessarune render works/actor.tess.js --variant walk-south --engine godot --frame-count 3 --frame-durations 100,250,150 --json
tessarune delivery works/actor.tess.js --expected-sha HASH --engine unity --pixels-per-unit 32 --jsonGodot 4
sprite-frames.tres | SpriteFrames: every animation, with AtlasTexture regions, frame order, fps, relative frame durations and loop flag. |
|---|---|
animated-sprite.tscn | A scene with an AnimatedSprite2D using those SpriteFrames, Texture Filter set to Nearest. |
sprite sheet .png | The frames the regions point to. |
Copy godot/ into your project and open animated-sprite.tscn. Animation data and timings live in sprite-frames.tres. The AnimatedSprite2D autoplays the first motion; switch with $TessaruneSprite.play("walk-south"). The scene already sets texture_filter = 1 (Nearest). .import files are not exported because Godot generates them per project; in the PNG import settings, set PNG compression to Lossless and disable mipmaps.
Unity 2021.3+
sprite sheet .png + .png.meta | Sprite Mode Multiple, Point filter, no compression, no mipmaps, Pixels Per Unit and pivot. |
|---|---|
.anim | One AnimationClip per animation. |
sprite.controller | AnimatorController with every clip; the first motion is the default state. |
Copy unity/ with its .meta files into Assets. The sheet imports with Point filtering, Multiple mode, no compression, and no mipmaps. Pixels Per Unit defaults to 100, and the pivot comes from the artwork’s anchor (or the center); both can be overridden in Studio or the CLI. Add SpriteRenderer and Animator to a GameObject and assign sprite.controller. The first motion is the default state without automatic transitions; call Animator.Play("walk-south"). In URP, assign a suitable sprite material.
Unity GUIDs derive deterministically from the artwork and settings. Never place the same output twice in Assets; replace the existing folder when updating. If inputs change, GUIDs change and external references must be reassigned.
Limits
Loops support infinite playback (--loop 0) or once (--loop 1); finite counts of two or more are rejected and handled in game code. The export does not generate collision, movement, input, automatic direction switching, Unity prefabs, or state transitions.
What was tested
On 2026-11-05, real Godot 4.7.2 and Unity 6.0.43f1 editors were run headless, automatically verifying import and playback of 49 animations in 7 cases. This does not guarantee operation on every supported version; Unity 2021 LTS itself and GUI operation across versions were not tested.
Tessarune 1.5.0
Engine export is included in Tessarune; existing owners receive 1.4.0 as a free update from their store.