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>
注:輸入格式“<>”?,上面的“關注”是內(nèi)容。
======================================================
【段落屬性】
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名稱可以是圖像-線條\共享\藝術\字體中的任何字體,或系統(tǒng)字體。
【宏代碼】
The text can contain special macros that will be converted to their values in Project settings:
文本可以包含特殊的宏,這些宏將在項目設置中轉(zhuǎn)換為它們的值:
[title],[author],[comment],[url]
[標題],[作者],[意見],[url]
The [textline] macro will display the current line from Text tab (use for lyrics):
宏[textline]將顯示當前行從文本標簽(用于歌詞):
[textline]
例:HTML寫下以下代碼,用Text寫歌詞,然后用“Text”的插件顯示歌詞。最后調(diào)整歌詞的“Text Line”來實現(xiàn)顯示問題。
<p align="center"><font face="Gothic" size="8">[textline]</font>
======================================================
最后用TextTrueType載入HTML信息。
