title | layout |
---|---|
speechbubble.xml |
wiki |
{% include toc.md %}
The speechbubble.xml
file located per default in the graphics/gui
folder, or in a custom theme folder (See GUI configuration),
is used to specify how to display the speech bubbles when characters chat while in game.
Here is an example of a usable speechbubble.xml
file:
{% highlight xml %}
<!-- Middle Row -->
<part type="left-edge" xpos="0" ypos="5" width="5" height="5" />
<part type="bg-quad" xpos="5" ypos="5" width="5" height="5" />
<part type="right-edge" xpos="10" ypos="5" width="5" height="5" />
<!-- Bottom Row -->
<part type="bottom-left-corner" xpos="0" ypos="10" width="5" height="5" />
<part type="bottom-edge" xpos="5" ypos="10" width="5" height="5" />
<part type="bottom-right-corner" xpos="10" ypos="10" width="5" height="5" />
</widget>