hexr-bubble

1.0.0 • Public • Published

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!'); 

Readme

Keywords

none

Package Sidebar

Install

npm i hexr-bubble

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • charlottegore