This shows you the differences between two versions of the page.
en:bearlibterminal:design [2017/03/17 15:26] cfyzium |
en:bearlibterminal:design [2017/03/17 15:27] (current) cfyzium |
||
---|---|---|---|
Line 122: | Line 122: | ||
{{en:bearlibterminal:design_align_topleft.png}} | {{en:bearlibterminal:design_align_topleft.png}} | ||
- | The tile alignment can be further customized by specifying the size of an alignment region. The default size is 1x1 cell and can be overriden by the ''"bbox"'' attribute: | + | The tile alignment can be further customized by specifying the size of an alignment region. The default size is 1x1 cell and can be overriden by the ''"spacing"'' attribute: |
<sxh cpp; toolbar: false; gutter: false> | <sxh cpp; toolbar: false; gutter: false> | ||
- | terminal_set("0xE000: tileset.png, size=20x20, align=center, bbox=2x1"); | + | terminal_set("0xE000: tileset.png, size=20x20, align=center, spacing=2x1"); |
</sxh> | </sxh> | ||
It can be useful for cases like multi-cell monsters or initial letters: | It can be useful for cases like multi-cell monsters or initial letters: | ||
{{en:bearlibterminal:design_align_bbox.png}} | {{en:bearlibterminal:design_align_bbox.png}} |