Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Launchpad Translators instructions and Chinese (Simplified) guidelines.
1928 of 107 results
19.
You're now ready to run this example. Go back to the launcher, and choose "Launch Project". Ren'Py will start up. Notice how, without any extra work, Ren'Py has given you menus that let you load and save the game, and change various preferences. When ready, click "Launch Project", and play through this example game.
现在您可以运行这个例子了。回到启动器并选择“Launch Project”来启动Ren'Py。您将看到Ren'Py提供了一些菜单供您载入或保存游戏、修改游戏设置,这些功能都不需要您做额外的工作,Ren'Py已经替您实现了。准备好后请点击“Launch Project”,从头到尾玩一下这个示例游戏。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:95
20.
This example shows some of the commonly-used Ren'Py statements.
这个例子展示了一些常用的Ren'Py语句。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:101
21.
The first line is a label statement. The label statement is used to give a name to a place in the program. In this case, we create a label named ``start``. The start label is special, as it's where Ren'Py scripts begin running when the user clicks "Start Game" on the main menu.
第一行是label语句,label语句的作用是在代码中标记一个位置。在这个例子中我们创建了一个名为 ``start``的标签(label)。 ``start``这个标签的特别之处在于当玩家在主菜单点击“Start Game”时,Ren'Py将会从这个标签的位置开始运行脚本。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:103
22.
The other lines are say statements. There are two forms of the say statement. The first is a string (beginning with a double-quote, containing characters, and ending with a double-quote) on a line by itself, which is used for narration, and the thoughts of the main character. The second form consists of two strings. It's used for dialogue, with the first string being a character name and the second being what that character is saying.
其他几行都是say语句。Ren'Py中有两种say语句。第一种是以一个单独的字符串(以双引号开始,中间包含字符,并以双引号结尾)为一行,一般用于记叙,或描述主人公的想法。另外一种形式包含两个字符串,一般用于对话,第一个字符串是该角色的名字,第二个字符串是相应的台词。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:109
23.
Note that all the say statements are indented by four spaces. This is because they are a block underneath the label statement. In Ren'Py, blocks must be indented relative to the prior statement, and all of the statements in a block must be indented by the same amount.
请注意所有的say语句之前都有四个空格的缩进。因为他们所处的代码块是从属于某一个label语句的。在Ren'Py中,代码块必须在其上一级语句的基础上进行缩进,该代码块中所有的语句的缩进量应该是相同的。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:117
24.
When strings contain double-quote characters, those characters need to be preceded by a backslash. This is done in the last line of our example.
当字符串中包含双引号时,需要在双引号的前面加上反斜线,正如这个示例中最后一行那样。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:122
25.
While this simple game isn't much to look at, it's an example of how easy it is to get something working in Ren'Py. We'll add the pictures in a little bit, but first, let's see how to declare characters.
这个简单的游戏没什么看头,他只不过是一个例子,展示了在Ren'Py中让这些东西运转起来是多么容易。我们将会向其中加入一些图片,但先让我们来看看怎样声明一个角色。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:126
26.
Init
初始化(Init)
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:131
27.
The init statement is used to execute blocks of Ren'Py statements before the script executes. Init blocks are used to define images and characters, to set up unchanging game data structures, and to customize Ren'Py. Code inside init blocks should not interact with the user or change any of the layers, and so should not contain say, menu, scene, show, or hide statements, as well as calls to any function that can do these things.
Init语句用于在脚本运行之前执行一些Ren'Py的语句。通常在初始化部分(Init blocks)可以定义图像(Image)和角色(Character)、设置一些不会改变的游戏数据结构、或者定制Ren'Py。不要在这部分代码中实现与用户交互或修改层(layer)的操作,也不要包含say、menu、scene、show 或 hide等语句,当然也不要调用任何包含这些语句或功能的函数。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:133
28.
An init statement is introduced with the keyword init, followed by an optional priority number, and a mandatory colon. If the priority is not given, it defaults to 0. Priority numbers should be in the range -999 to 999. Numbers outside of this range are reserved for Ren'Py code.
您可以通过关键字“init”来调用Init语句,后面还可以选择性地加上表示优先级的数字,最后以冒号结尾(不可省略)。没有设定优先级的话优先级默认为0。优先级的取值范围是-999~999。在此范围之外的优先级是预留给Ren'Py自身的代码的。
Translated and reviewed by Hanming Wu
Located in ../../source/quickstart.rst:140
1928 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.