Pixi Spine
This node displays Spine skeletal animations with support for multiple animations and skins.
The Pixi Spine renders Spine skeletal animations in your Pixi scene.
The Pixi Spine node creates a PIXI.spine.Spine object that displays Spine skeletal animations. It supports multiple animations, skins, and provides full control over animation playback and skeletal manipulation.
Position
| Data | Description |
|---|
| X | Horizontal position |
| Y | Vertical position |
| Data | Description |
|---|
| Rotation | Rotation in radians |
| Scale X | Horizontal scale |
| Scale Y | Vertical scale |
| Anchor X | Horizontal anchor |
| Anchor Y | Vertical anchor |
| Width | Spine width |
| Height | Spine height |
Appearance
| Data | Description |
|---|
| Alpha | Transparency |
| Tint | Color tint |
| Visible | Visibility |
| Interactive | Interaction enable |
Spine Assets
| Data | Description |
|---|
| Atlas File | Spine atlas file URL |
| Skeleton File | Spine skeleton file URL |
Animation
| Data | Description |
|---|
| Playing | Animation play state |
| Animation Name | Current animation name |
| Track | Animation track number |
| Speed | Animation playback speed |
| Loop | Animation looping |
Skin
| Data | Description |
|---|
| Skin Name | Current skin name |
Control
| Signal | Description |
|---|
| Play | Signal to start animation |
| Pause | Signal to pause animation |
| Stop | Signal to stop animation |
| Reset | Signal to reset to setup pose |
| Update | Signal to force update |
Outputs
| Data | Description |
|---|
| Is Loaded | Boolean indicating load status |
| Is Loading | Boolean indicating loading state |
| Load Error | Error message if loading failed |
| Available Animations | Array of available animation names |
| Current Animation | Current animation name |
| Playing | Current play state |
| Available Skins | Array of available skin names |
| Current Skin | Current skin name |
| Node Reference | Node reference |
Usage
Pixi Spine nodes are used to display Spine skeletal animations in your Pixi scene. They support:
- Multiple animation tracks
- Skin switching
- Animation control and playback
- Skeletal manipulation
- Performance optimization
Spine File Requirements
Spine animations require two main files:
- Atlas File: Contains texture atlas and region definitions
- Skeleton File: Contains bone structure, animations, and skins
- Use appropriate Scale values for your display needs
- Monitor Is Loaded status before playing animations
- Use Track for layering multiple animations
- Consider Speed for performance vs. quality balance
- Use Reset to return to initial pose when needed
Example Use Cases
- Game Characters: Player and enemy animations
- UI Animations: Animated icons and interface elements
- Cutscenes: Story sequences and cinematic animations
- Interactive Elements: Responsive character animations