2.1.5 • Published 3 years ago

babble.js v2.1.5

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

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

2.1.5

3 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.0

6 years ago

1.7.10

6 years ago

1.7.9

6 years ago

1.7.8

6 years ago

1.7.7

6 years ago

1.7.6

6 years ago

1.7.5

6 years ago

1.7.4

6 years ago

1.7.3

6 years ago

1.7.2

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.1

7 years ago

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago