Skeletal animation in plain words
Traditional 2D animation redraws the character for every frame. Skeletal animation works differently. The character is cut into parts: head, torso, arms, legs. Each part is attached to a bone. Moving a bone moves the image attached to it, and the software calculates the positions in between.
One set of drawings can then produce as many animations as needed: idle, win, big win, bonus.
The building blocks of a Spine character
| Element | What it does |
|---|---|
| Bones | The skeleton. Rotating or moving a bone moves what is attached to it |
| Slots | Layers that decide which image is drawn and in what order |
| Attachments | The images themselves, placed in a slot |
| Meshes | Images that can bend and stretch, for cloth, hair or breathing |
| Skins | Alternative sets of images on the same skeleton |
In Spine, "slot" means a drawing layer on the skeleton. It has nothing to do with slot machines.
From drawing to game: the pipeline
- Layered artwork. The artist delivers the character with each body part on its own layer.
- Rigging. The animator builds the skeleton and attaches each part to a bone, with pivots placed at the joints.
- Animation. Each state of the character is animated on a timeline.
- Export. Spine outputs a data file, an atlas and an image sheet.
- Runtime. The game engine reads those files and plays the animations. Spine provides runtimes for many engines, including the 2D engines used for WebGL games.
Why slot games rely on it
- Light files. A slot must load fast in a browser. A skeleton and one image sheet weigh far less than hundreds of full frames.
- Smooth on phones. Motion is calculated at play time, so it stays fluid on any frame rate.
- Many states from one character. Idle, anticipation, win and bonus animations reuse the same drawings.
- Easy to adjust. Timing can be changed without redrawing anything.
Spine or frame-by-frame?
Skeletal animation is the better choice for characters and symbols that need several states. Frame-by-frame drawing still wins for effects that change shape completely, such as fire, smoke or liquid. Most games mix both.
What makes a good slot animation
The technique is only the tool. What players feel is timing: a short anticipation before the result, a clear hit when the win lands, and a celebration sized to the amount won. This is the reason a slot's theme and characters matter so much, as explained in why social casino games use slot mechanics.
Ready to build your own slot?
Art, animation and code from one team. Custom slots from €4,000.
Get a quote