Skip to content

AGoblinKing/SpineFrame

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spine for A-Frame

This library enables support for Spine in the a-frame framework as a component.

Quick Start

Toss a reference to a-frame, the Spine runtime, and spine-frame into your HTML file.

<script type="text/javascript" src="a-frame.js"></script>
<script type="text/javascript" src="spine.js"></script>
<script type="text/javascript" src="spine-frame.js"></script>

This enables the spine component. You can use this to reference spine assets.

<a-scene> 
  <a-entity spine="src: data/spineboy;animation: walk"></a-entity>
</a-scene>

Example

http://joshgalvin.github.io/SpineFrame/examples/basic.html