它可以加载和渲染炫酷的动画效果
npm install @galacean/effectspnpm add @galacean/effectsimport { Player } from '@galacean/effects';
// 1. Instantiate a player
const player = new Player({
container: document.getElementById('J-Container'),
});
// 2. Load and play the animation resource
player.loadScene('./demo.json');Get the
demo.jsonby using the Galacean Effects editor.
This project integrates Spine Runtimes for 2D skeletal animation support. Use of @galacean/effects-plugin-spine is subject to the Spine Runtime License Agreement:
For details, see the Spine Runtime License Agreement.
暂无开放 Issues,或尚未同步最近议题。