
Emojibubble 1.0 Release Candidate
Emojibubble is available on one-click.
1.0 version persists emoji bubbles until actively cleared or deleted - they move with you.
A simple script for adding on-tabletop emoji-bubbles adjacent to NPC and Player tokens.
This script creates an Emojibubble console on installation, accessible to all players and the GM.
Select a token, then select and click an emoji button in the console, and the token gets a dynamically created word balloon (an SVG shape) with a text object prefilled with an emoji adjacent to it (see illustration).
Any movement by the token deletes the emoji-bubble. Emoji bubbles can be cleared from the console (see below), by selecting "clear" from the macro dropdown, or by sending the JavaScript call:
emojibubble.create([token],"clearemojibubble");
Clicking a different emoji button replaces any other emoji bubbles.
Clicking the "Clear Emoji Bubble" button clears the emoji bubble.
Bubble references are retained between sessions, meaning clean-up shouldn't cause errors due to new sessions.
Adding more emoji is a matter of adding them to the codebase1 - the desire here was to keep them limited and not include all of the modern emoji, but anyone willing to put in a little time can add emojis they feel would add to their experience.
1The ability to add emoji is now baked into the Emojibubble console
This one's gone from an idea to a usable script, and I'm debating whether or not to put it in one-click. In one click, the emoji list is no longer editable, but also in one-click, less tech savvy Pros can easily use it in their games if they feel it is appropriate.
I've made a version that is editable from the one-click version without editing the code, including adding emoji, deleting emoji, and resetting to the default if something goes wrong.
Update: Have "solved" the gmnotes update issue, so it's working just don't look under the hood.
Update: Macros have been added, and are kept updated simultaneously with the handout.
#Selected_Emojibubble and #Target_Emojibubble
Update: API Access included to emojibubble.create
emojibubble.create([token object],"[emoji indexstring]");