|
4.
|
|
|
Translating text.
|
|
|
|
翻译文本。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:23
|
|
5.
|
|
|
Interpolating data into the text.
|
|
|
|
将数据插入文本中。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:24
|
|
6.
|
|
|
Styling the text using styles and text tags.
|
|
|
|
使用styles和text标签为文本提供样式。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:25
|
|
7.
|
|
|
Laying out the styled text.
|
|
|
|
输出样式化后的文本。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:26
|
|
8.
|
|
|
Drawing the text to the screen.
|
|
|
|
在屏幕上渲染文本。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:27
|
|
9.
|
|
|
This chapter discusses the process of text display in Ren'Py.
|
|
|
|
本章节讲述了Ren'py中文本显示的处理过程。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:29
|
|
10.
|
|
|
Escape Characters
|
|
|
|
换码符
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:33
|
|
11.
|
|
|
There are three special characters that can control the way Ren'Py displays text. A creator needs to be aware of these characters to ensure that their writing is not accidentally misinterpreted by the engine.
|
|
|
|
有三种可控制Ren'py显示文字的特殊字符。创作者必须对这些字符有所了解以免游戏引擎误解所编写的内容。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:35
|
|
12.
|
|
|
\ (backslash)
|
|
|
|
\(反斜线符号)
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:58
|
|
13.
|
|
|
The backslash character is used to introduce when writing a Ren'Py or Python string. Some common escape codes are:
|
|
|
|
反斜线符号用于向Ren'py告知什么部分为Python字串。一些常见的代码如下:
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/text.rst:40
|