babble.js

2.1.5 • Public • Published

babble.js

babble.js is a library for creating and manipulating virtual puppets

Installation

Using Node

Run this command to install babble.js

npm install babble.js --save

and then use it in your code like so:

const babble = require('babble.js')

Client Side

Download the file at dist/babble.js and load it in your page somewhere (using the correct path to wherever you've placed the file)

<script src="js/babble.js"></script>

and then use it in your code using the global babble object.

How To Use

Here's an example usage of the program:

var stage = new babble.Stage('stage', {
    numCharacters: 5,
    assets: assetLists
}, assets, assetsPath)

stage.addPuppet(puppet, 1)

stage.getPuppet(1).jiggle()

Also available are docs over each of the program's classes:

Creating puppets can be made significantly easier by using Babble Buds, which contains a puppet editor, and using the JSON files in the projects' "characters" folder

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.52latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.52
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.11
2.0.00
1.10.20
1.10.10
1.10.00
1.9.10
1.9.00
1.8.02
1.7.100
1.7.90
1.7.80
1.7.70
1.7.60
1.7.50
1.7.40
1.7.30
1.7.20
1.7.10
1.7.00
1.6.10
1.5.30
1.5.21
1.5.10
1.5.00
1.4.11
1.4.00
1.3.00
1.2.100
1.2.90
1.2.80
1.2.70
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00

Package Sidebar

Install

npm i babble.js

Weekly Downloads

7

Version

2.1.5

License

ISC

Unpacked Size

65.8 kB

Total Files

7

Last publish

Collaborators

  • thepaperpilot