Skip to content
 
 

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oasis Engine spine runtime

Jun-12-2021 18-37-22.gif


Spine runtime for oasis engine.

Usage

import { SpineAnimation } from '@oasis-engine/spine';

// init oasis
addSpine();

async function addSpine() {
	const spineEntity = await engine.resourceManager.load(
    {
      url: 'https://gw.alipayobjects.com/os/OasisHub/a66ef194-6bc8-4325-9a59-6ea9097225b1/1620888427489.json',
      type: 'spine',
    },
  );
  rootEntity.addChild(spineEntity);
  spineAnimation.state.setAnimation(0, 'walk', true);
}

npm

npm install @oasis-engine/spine

Version

oasis-engine v0.4 & @oasis-engine/spine this branch latest npm.

Feature

  • Simple in usage
  • High performance.
  • Intergrated oasis-engine rendering engine.
  • Component based API.

Contributing

Everyone is welcome to join us! Whether you find a bug, have a great feature request or you fancy owning a task from the road map feel free to get in touch. ​

Make sure to read the Contributing Guide before submitting changes.

Links

License

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages