1.0.0 • Published 9 years ago

hexr-bubble v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Hexr Bubble

Hexr Txtr generates quads of text, but this module uses the tilemap system in the hexr engine to wrap those quads with a border of some kind, making speech bubbles/captions pretty straightforward.

API

Takes a hexrTxtr page as a param.

var speechBubble = hexrBubble( hexrTxtrPage, thickness, overrideBubbleData )


scene.add(speechBubble.mesh);
speechBubble.write('Hello world!'); 
1.0.0

9 years ago