📱 SpriteStudio Player for Flutter¶
Play SpriteStudio animations (.ssab) natively in Flutter — rigged by
an artist in a dedicated editor, drawn through Flutter's own renderer, with no animation code to
hand-write. Playback runs through libssruntime provided by
SpriteStudio-SDK.
New to SpriteStudio?
SpriteStudio is a professional 2D animation
editor: bone rigs, mesh deformation, and particle effects applied to raster (PNG) sprite
art. Your artist authors the motion visually; this player plays the finished file. It is
lighter than shipping a .gif or .mp4.
You do not need data of your own to start: the
official sample data works as-is
(Ringo for a character,
Particle for effects),
though that page is Japanese only. To make your own, you use SpriteStudio itself — see
its site.
Try it in a browser
Two live Web demos are published beside these pages: the examples/overall
app driving the ssplayer_flutter widget, and the examples/flame one driving
ssplayer_flame, both built for the web. The Web target is a developer preview; see
Limitations & Scope.
Table of Contents¶
- Setup
- Workflow
- API Reference
- Limitations & Scope
- For Player & SDK Developers
- Packages
Key Features¶
- Bring your sprites — and whole screens — to life. Breathing and blinking, swaying hair and clothes, flashy slash and magic effects, even an animated HUD or splash screen: the motion is built visually in a dedicated editor (SpriteStudio) and
SpriteStudioAnimationjust plays it. Bone rigs, mesh deformation and particles are all handled for you, so there is no animation code to write. - Raster art, drawn natively — not vector, not video. It animates raster (bitmap/PNG) sprite art, so painted illustrations and rich textures move exactly as drawn — a different fit from vector animation tools. Unlike a
.gifor an.mp4, it scales freely, loops seamlessly and reacts to your app, and Flutter's own renderer draws it viadart:ffiand native assets — no WebView, no video decoding, and no manual native linking. - A widget like any other — and a Flame component. Position, size, transform and clip it like any other widget. Keys the artist placed on the timeline — user data, signals, audio cues — arrive as callbacks (Playback & Events), per-part overrides recolour, hide or swap a part at runtime (Part Overrides), and
setCellmapTexture()swaps textures for skins and costumes. Making a game?ssplayer_flamedrops the same animation into aFlameGame. - Smooth motion — between frames and between animations. Sub-frame interpolation renders each frame at the exact display time, so motion follows your display's refresh rate and playback speed instead of the authored fps. Set
transitionand a change ofanimationcrossfades instead of cutting, and further tracks lay a blink or an aim over what is playing. - A seamless edit-to-runtime loop. Live reload watches
SpriteStudio_Source/while the app runs: save in SpriteStudio and only the changed project is re-converted and pushed into the running app — no manual export step.
Supported Versions¶
- Flutter / Dart: the minimum is on Installation;
flutter pub getfails if yours is older. - Platforms: macOS, Windows, Linux, iOS, Android, and Web (developer preview).
Samples¶
Sample apps live under the examples/ folder in the repository; running one from a checkout is in the Build Guide.
- overall — comprehensive validation app.
- flame — a
FlameGameplaying an animation viassplayer_flame. - part_following — a widget pinned to a part with
SpriteStudioPartAnchor.
Related Repositories¶
- SpriteStudio Docs — the documentation portal for the SDK and its official players.
- SpriteStudio-SDK — the SDK itself, providing
libssruntime/libssconverter. - SSConverterGUI — a standalone desktop GUI for converting
.sspjwithout a player.
License¶
See License for the full text and its Japanese reference translation, and Third-Party Notices for the libraries it ships with (such as FlatBuffers and the SpriteStudio-SDK's dependencies).