ZGameEditor Visualizer 学习记事2 HTML代码输入字体
这个不怎么用,不过也学习过一段时间,记录一下。

例:
<position x="-5"><position y="45.5"><p align="center"><i><font face="千图厚黑体" size="6.5" color="#900000">关注</font></p></position>
注:输入格式“<>” ,上面的“关注”是内容。
======================================================
【段落属性】
With "TextTrueType" the text can contain simple html-like tags:
使用"TextTrueType",文本可以包含简单的html类标签:
p - paragraph (with optional attribute align="left/center/right", uppercase="yes")
P -段落(可选属性align="left/center/right",大写字母="yes")
i - italics
i -斜体
b - bold
b -黑体,粗体
例:
<p align="center"><i>
======================================================
【字体属性】
font - font with one or more of attributes: 字体 - 具有一个或多个属性的字体:
color="#rrggbb" (or #aarrggbb), face="<ttfname>", size="<size>" (1 very small 100 very big),
颜色="#rrggbb" (or #aarrggbb), face="<字体名称>", size="<字体大小>" (1-100)
例:
<font face="" size"" color="">
======================================================
【文本位置信息】
position - position text with one or more attributes x="<percentage>", y="<percentage>" (1 to 100, coord in percentage relative top left corner)
例:
<position x="-5"><position y="45.5">
Position -带有一个或多个属性的定位文本x="", y=""(-100到100)
======================================================
【添加水平线】
hr - horizontal line, height="<percentage", width="<percentage>"
Hr -水平线,高度="<百分比",宽度="<百分比>"
例:加入一段白色水平线,宽65,高20.
<hr width="65" height="20"/>
======================================================
【字体显示设置】
The font ttf name could be any font in Image-Line\Shared\Artwork\Fonts, or system font.
字体ttf名称可以是图像-线条\共享\艺术\字体中的任何字体,或系统字体。
【宏代码】
The text can contain special macros that will be converted to their values in Project settings:
文本可以包含特殊的宏,这些宏将在项目设置中转换为它们的值:
[title],[author],[comment],[url]
[标题],[作者],[意见],[url]
The [textline] macro will display the current line from Text tab (use for lyrics):
宏[textline]将显示当前行从文本标签(用于歌词):
[textline]
例:HTML写下以下代码,用Text写歌词,然后用“Text”的插件显示歌词。最后调整歌词的“Text Line”来实现显示问题。
<p align="center"><font face="Gothic" size="8">[textline]</font>
======================================================
最后用TextTrueType载入HTML信息。
