hexr-bubble
v1.0.0
Published
Speech bubble/caption thing for hexr-engine
Downloads
1
Readme
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!');