All Projects → playcanvas → Playcanvas Spine

playcanvas / Playcanvas Spine

Licence: mit
Plugin component for PlayCanvas which enables support for Spine animations.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Playcanvas Spine

Layaair discard
This is old LayaAir veriosn writetten by ActionScript 3.0 ,now LayaAir is using TypeScript as the Engine Script,Please use https://github.com/layabox/LayaAir instead.
Stars: ✭ 1,858 (+5706.25%)
Mutual labels:  webgl, html5
Bimserver Nodejs
OpenSouce BIMServer NodeJs
Stars: ✭ 28 (-12.5%)
Mutual labels:  webgl, html5
Rhubarb
A WebSocket library optimized for multiplayer JS games, works on WebWorkers with binary data.
Stars: ✭ 167 (+421.88%)
Mutual labels:  webgl, html5
Alien.js
Future web pattern
Stars: ✭ 141 (+340.63%)
Mutual labels:  webgl, html5
Sea3d
An open-source format and tools for game developers 🎮
Stars: ✭ 483 (+1409.38%)
Mutual labels:  webgl, html5
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (+375%)
Mutual labels:  webgl, html5
Three.js
JavaScript 3D Library.
Stars: ✭ 78,237 (+244390.63%)
Mutual labels:  webgl, html5
Freeciv Web
Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
Stars: ✭ 1,626 (+4981.25%)
Mutual labels:  webgl, html5
Taro
A lightweight 3D game engine for the web.
Stars: ✭ 345 (+978.13%)
Mutual labels:  webgl, html5
Phaser3 Docs
Phaser 3 Documentation and TypeScript Defs
Stars: ✭ 339 (+959.38%)
Mutual labels:  webgl, html5
Creature webgl
2D Skeletal Animation WebGL Runtimes for Creature ( PixiJS, PhaserJS, ThreeJS, BabylonJS, Cocos Creator )
Stars: ✭ 140 (+337.5%)
Mutual labels:  webgl, html5
Webworldwind
The NASA WorldWind Javascript SDK (WebWW) includes the library and examples for creating geo-browser web applications and for embedding a 3D globe in HTML5 web pages.
Stars: ✭ 628 (+1862.5%)
Mutual labels:  webgl, html5
Skia Wasm Port
Port of the Skia drawing library to wasm, for use in javascript (node & browser)
Stars: ✭ 131 (+309.38%)
Mutual labels:  webgl, html5
Zen 3d
JavaScript 3D library.
Stars: ✭ 155 (+384.38%)
Mutual labels:  webgl, html5
Hilo3d
Hilo3d, a WebGL Rendering Engine.
Stars: ✭ 123 (+284.38%)
Mutual labels:  webgl, html5
Playcanvas Ar
Fast and Easy Augmented Reality for the Web 🚀
Stars: ✭ 172 (+437.5%)
Mutual labels:  webgl, html5
Foster Ts
A WebGL + TypeScript 2D Game framework with a Scene>Entity>Component model.
Stars: ✭ 112 (+250%)
Mutual labels:  webgl, html5
Phaser Kinetic Scrolling Plugin
Kinetic Scrolling plugin for Canvas using Phaser Framework
Stars: ✭ 117 (+265.63%)
Mutual labels:  webgl, html5
Melonjs
a fresh & lightweight javascript game engine
Stars: ✭ 3,721 (+11528.13%)
Mutual labels:  webgl, html5
Awesome Glsl
🎇 Compilation of the best resources to learn programming OpenGL Shaders
Stars: ✭ 530 (+1556.25%)
Mutual labels:  webgl, html5

PlayCanvas Spine

A Spine plugin for the PlayCanvas Engine.

Examples such as the Hero above can be found in the examples folder. To run them, start a local web server and go to http://localhost/path/to/examples/hero.html (the path will depend on your file serving root directory).

Usage

Editor

Add the files lib/playcanvas-spine.3.6.min.js and lib/spine.js to your project. Note that a 3.8 version of the library is available too.

Create an entity with a script component and add the script spine to it. Upload your exported spine resources (atlas, skeleton json file, textures) and attach them to the spine script on your entity.

Engine-only

Load the library script lib/playcanvas-spine.3.6.min.js. Then, add spine components to your entities as follows:

var entity = new pc.Entity();
entity.addComponent("spine", {
    atlasAsset: atlas,       // atlas text asset id
    textureAssets: textures, // array of texture asset ids
    skeletonAsset: skeleton  // skeleton json asset id
});

Building

Prebuilt versions of the PlayCanvas Spine library can be found in the lib folder. However, to build them yourself, first install the NPM package dependencies:

npm install

Then, to build do:

npm run build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].