New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@galacean/engine-spine

Package Overview
Dependencies
Maintainers
15
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@galacean/engine-spine

galacean spine runtime

latest
engine-2.0
Source
npmnpm
Version
4.2.8
Version published
Weekly downloads
33
-57.69%
Maintainers
15
Weekly downloads
 
Created
Source

Galacean Engine Spine Runtime

@galacean/engine-spine is the Spine runtime module for the Galacean engine, providing efficient support for Spine animations. This package enables developers to seamlessly integrate and use Spine animations, delivering smooth skeletal animation effects optimized for both web and mobile platforms.

Installation

Install @galacean/engine-spine via npm:

npm install @galacean/engine-spine

Quick Start

Here's a simple example to get started with @galacean/engine-spine:

import { SpineAnimationRenderer } from '@galacean/engine-spine';

// First setup for galacean engine, get scene and create root entity.
// Find setup code here:

// And then load spine resource and instantiate a spine entity with the resource.
const spineResource = await engine.resourceManager.load({
  url: 'https://mdn.alipayobjects.com/huamei_kz4wfo/uri/file/as/2/kz4wfo/4/mp/yKbdfgijyLGzQDyQ/spineboy/spineboy.json',
  type: 'spine',
});
const spineEntity = spineResource.instantiate();
rootEntity.addChild(spineEntity);

API Documentation

For a detailed overview of the API, including all classes, methods, and properties, please refer to the Full API Documentation.

Version Compatibility

Package and Spine Version Compatibility

Package VersionSpine Version
Below 4.0Spine 3.8
4.0Spine 4.0
4.1Spine 4.1
4.2Spine 4.2
4.x (e.g., 4.0, 4.1)Corresponds to Spine x.x
4.x.y (minor version y)Independent from Spine

Note: Ensure that the package version aligns with the corresponding Spine editor version for compatibility.

Package and Galacean Engine Version Compatibility

Package VersionGalacean Engine Version
4.0 and above1.3 and above
Below 4.0 (e.g., 1.2.0)1.2

Note: Please verify that the versions of both the package and the Galacean Engine are compatible, as mismatched versions may cause unexpected issues.

Building and Development

To set up the project for development and build it for production, follow these steps:

  • Install dependencies:
npm install
  • Start development environment:
npm run dev
  • Build for production:
npm run build
  • Run examples:
npm run example
  • Examples - View usage examples for common scenarios.
  • User Guide - Comprehensive guide for using this package within the Galacean editor and in scripts.
  • API Reference - Complete API documentation for all available classes, methods, and properties.

License

The Galacean Engine is released under the MIT license. See LICENSE file.

FAQs

Package last updated on 27 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts