Engine Integration
Use Bone3 2D Skeletal Animations in PixiJS (spine-pixi)
Bone3 itself runs on PixiJS WebGL and exports official-runtime-tested Spine 4.2 and 3.8 packages that load cleanly in PixiJS v7/v8 via @esotericsoftware/spine-pixi-v8 or pixi-spine.
WYSIWYG WebGL preview — Bone3's editor canvas uses PixiJS, ensuring visual parity with web games.
Exports Spine 4.2 (.json / .skel + .atlas) for @esotericsoftware/spine-pixi-v8 and Spine 3.8 for legacy pixi-spine.
Ideal for HTML5 instant games, interactive web apps, and playable ads.
Step-by-Step Workflow
- 1
Install the PixiJS Spine Runtime
Install pixi.js alongside @esotericsoftware/spine-pixi-v8 (for Spine 4.2) or pixi-spine (for Spine 3.8).
- 2
Export Spine Assets from Bone3
Export your character as Spine 4.2 JSON/binary + .atlas + PNG and serve them from your public/ folder.
- 3
Preload with PixiJS Assets
Load both the skeleton data and .atlas file using Assets.add and Assets.load.
- 4
Create Spine Display Object & Play
Instantiate Spine.from({skeleton, atlas}) and call state.setAnimation(0, 'idle', true).
Runtime Integration Example
import { Application, Assets } from "pixi.js";
import { Spine } from "@esotericsoftware/spine-pixi-v8";
const app = new Application();
await app.init({ width: 960, height: 540 });
document.body.appendChild(app.canvas);
Assets.add({ alias: "heroData", src: "/assets/hero.json" });
Assets.add({ alias: "heroAtlas", src: "/assets/hero.atlas" });
await Assets.load(["heroData", "heroAtlas"]);
const hero = Spine.from({ skeleton: "heroData", atlas: "heroAtlas" });
hero.position.set(480, 420);
hero.state.setAnimation(0, "idle", true);
app.stage.addChild(hero);Frequently Asked Questions
- Does Bone3 support PixiJS v8?
- Yes. Export Spine 4.2 JSON or binary .skel from Bone3 and load it with the official @esotericsoftware/spine-pixi-v8 package.
- Why does Bone3 match PixiJS rendering so closely?
- Bone3's own editor viewport is built on PixiJS WebGL, so mesh deformation, blend modes, and alpha behavior align closely with PixiJS games.
Related Guides & Integrations
Bone3 vs Spine 2D: Browser-Based Spine 3.8 & 4.2 Alternative
Compare Bone3 and Esoteric Software Spine 2D across browser workflow, PSD import, mesh & IK constraints, pricing, and verified Spine 3.8 / 4.2 runtime compatibility.
PSD to 2D Skeletal Animation Directly in Your Browser
Import layered Photoshop PSD files directly in the browser, preserve layer hierarchy and coordinates, rig bones and meshes, and export Spine 3.8 / 4.2 assets.
Use Bone3 2D Skeletal Animations in Cocos Creator (sp.Skeleton)
Export Spine 3.8 & 4.2 JSON or binary .skel assets from Bone3 and load them directly into Cocos Creator sp.Skeleton components for mobile and mini-games.
Use Bone3 2D Skeletal Animations in Godot 4 (spine-godot)
Bring Bone3 2D skeletal animations into Godot 4 with official spine-godot. Export Spine 4.2 / 3.8 .json or .skel files with .atlas and drive SpineSprite in GDScript.