Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Launchpad Translators instructions and Chinese (Simplified) guidelines.
2938 of 107 results
29.
The priority number is used to determine when the code inside the init block executes. Init blocks are executed in priority order from low to high. Within a file, init blocks with the same priority are run in order from the top of the file to the bottom. The order of evaluation of priority blocks with the same priority between files is undefined.
优先级会决定合适运行后面的代码。不同的初始化模块将会根据其优先级的数字按照从低到高的顺序执行。在同一个文件中,具有相同优先级的代码块将会按照文件内的位置从头到尾依次运行。无法确定位于不同文件中的具有相同优先级数字的代码块如何确定优先级。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:145
30.
The init blocks are all run once, during a special init phase. When control reaches the end of an init block during normal execution, execution of that block ends. If an init statement is encountered during normal execution, the init block is not run. Instead, control passes to the next statement.
整个初始化模块只在初始化阶段运行一次。在正常情况下该代码块的运行将会在运行到最后一行时结束。如果init语句出现在普通的运行当中,那么他下面的代码块将不会运行,跳过到下一个语句继续执行。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:151
31.
Characters
角色(Characters)
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:157
32.
One problem with the first example is that it requires you to repeatedly type the name of a character each time they speak. In a dialogue-heavy game, this might be a lot of typing. Also, both character names are displayed in the same way, in fairly boring white text. To fix this, Ren'Py lets you define characters in advance. This lets you associate a short name with a character, and to change the color of the character's name.
第一个例子中的一个不足之处是当一个角色说话时需要反复输入他的名字。在一个以对话为主的游戏中,这可能意味着大量的输入工作。而且两个角色的名字都是以白色文本显示,这看上去有些单调。Ren'Py允许您进一步定义角色,来改善这些不足。您可以用一个简称来表示一个角色,并且改变他的名字的颜色。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:159
33.
The first and and second lines define characters. The first line defines a character with the short name of "s", the long name "Sylvie", with a name that is shown in a greenish color. (The colors are red-green-blue hex triples, as used in web pages.)
前两行定义了两个角色。第一行定义的角色名叫“Sylvie”,她有一个简称“s”,她的名字显示出来是绿色的。(颜色通过三个十六进制数字定义,分别表示红绿蓝,这种方式常用于网页中的颜色)
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:184
34.
The second line creates a character with a short name "m", a long name "Me", with the name shown in a reddish color. Other characters can be defined by copying one of the character lines, and changing the short name, long name, and color.
第一行定义的角色名叫“Me”,她有一个简称“m”,他的名字显示出来是红色的。定义其他角色可以重复这几行代码,并修改简称,全名以及颜色。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:189
35.
We've also changed the say statements to use character objects instead of a character name string. This tells Ren'Py to use the characters we defined in the init block.
我们还要修改之前的say语句,用刚刚定义的角色对象来代替角色的名字,告诉Ren'Py使用我们在初始化模块中定义的角色。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:194
36.
Images
图像(Images)
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:199
37.
A visual novel isn't much of a visual novel without pictures. Let's add some pictures to our game.
视觉小说不能离开图片,让我们在游戏中添加一些图片吧。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:201
38.
The first new thing we needed to do was to declare the images, using image statements on lines 2, 3, 5, and 6, inside the init block. These image statements give an image name, and the filename the image is found in.
我们首先要声明这些图片,初始化模块的第2、3、5、6行使用了image语句。image语句给一个图像命名,并指向图像所在的路径。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:234
2938 of 107 results

This translation is managed by Launchpad Simplified Chinese Translators, assigned by Launchpad Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Hanming Wu, Huang Junjie.