Translations by Huang Junjie

Huang Junjie has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

150 of 112 results
1.
Displayables
2017-03-03
Displayables
12.
Images
2017-03-03
图像
23.
Image-like displayables take :ref:`position-style-properties`.
2017-03-05
类图像displayables使用:ref:`position-style-properties`。
24.
This flattens `child`, which may be made up of multiple textures, into a single texture.
2017-03-05
平铺由多个纹理构成的`child`成单个纹理。
25.
Certain operations, like the alpha transform property, apply to every texture making up a displayable, which can yield incorrect results when the textures overlap on screen. Flatten creates a single texture from multiple textures, which can prevent this problem.
2017-03-05
比如Alpha变换处理这样的操作应用于构成displayable的所有纹理,可能会在纹理重叠于屏幕上时发生错误。此操作会将多个纹理转换成单个纹理,避免错误。
26.
Flatten is a relatively expensive operation, and so should only be used when absolutely required.
2017-03-05
平铺是一个相对消耗资源的操作,仅在有必要时使用。
27.
A displayable that resizes an image to fill the available area, while preserving the width and height of its borders. is often used as the background of a window or button.
2017-03-05
保持边缘宽高比并将图像填充至可用区域的displayable。它经常使用在窗口背景或按钮上。
28.
Using a frame to resize an image to double its size.
2017-03-05
使用frame将图像放至2倍大。
29.
`image`
2017-03-05
`image`
30.
An image manipulator that will be resized by this frame.
2017-03-05
根据Frame改变大小的图像操作。
31.
`left`
2017-03-05
`left`
32.
The size of the border on the left side.
2017-03-05
左侧边缘的尺寸。
33.
`top`
2017-03-05
`top`
34.
The size of the border on the top.
2017-03-05
顶部边缘的尺寸。
35.
`right`
2017-03-05
`right`
36.
The size of the border on the right side. If None, defaults to `left`.
2017-03-05
右侧边缘的尺寸。若为None,则默认为`left``。
37.
`bottom`
2017-03-05
`bottom`
38.
The side of the border on the bottom. If None, defaults to `top`.
2017-03-05
底部边缘的尺寸。若为None,则默认为`top`。
39.
`tile`
2017-03-05
`tile`
40.
If true, tiling is used to resize sections of the image, rather than scaling.
2017-03-05
若为true,则图像部分的调整使用平铺(tiling),而不是缩放(scaling)。
41.
This creates a new displayable of `size`, by compositing other displayables. `size` is a (width, height) tuple.
2017-03-05
通过混合其他displayables创建一个名为`size`的新displayable。`size`为(宽,高)元组。
42.
The remaining positional arguments are used to place images inside the LiveComposite. The remaining positional arguments should come in groups of two, with the first member of each group an (x, y) tuple, and the second member of a group is a displayable that is composited at that position.
2017-03-06
其余的定位参数用于将图像放置于LiveComposite中。这些位置参数应为成组的两个数据,第一个数据为(x, y)元组,第二个为组合在该位置的displayable。
43.
Displayables are composited from back to front.
2017-03-06
Displayable从后到前组织。
44.
This created a displayable by cropping `child` to `rect`, where `rect` is an (x, y, width, height) tuple. ::
2017-03-06
此通过剪切`child`到`rect`来创建一个displayable,其中`rect`为(x, y, 宽, 高)元组。
45.
Tiles `child` until it fills the area allocated to this displayable.
2017-03-06
平铺`child`直到其填满该displayable分配的空间。
46.
A displayable that creates an empty box on the screen. The size of the box is controlled by `width` and `height`. This can be used when a displayable requires a child, but no child is suitable, or as a spacer inside a box.
2017-03-10
在屏幕上创建一个空盒子(box)的displayable。盒子的尺寸由`width`和`height``控制。它可以在一个displayable需要一个子displayable,但没有子displayable符合,或需要填补盒子中的空白时使用。
47.
A displayable that fills the area its assigned with `color`.
2017-03-10
根据`color`填充指定区域的displayable。
48.
Dynamic Displayables
2017-03-10
动态Displayables
49.
Dynamic displayables display a child displayable based on the state of the game. They do not take any properties, as layout is controlled by the properties of the child displayable they return.
2017-03-10
动态displayables会根据游戏状态显示一个子displayable。它们不需要任何属性,画面布局会根据子displayable返回的属性进行控制。
50.
This is a displayable that changes what it is showing based on python conditions. The positional argument should be given in groups of two, where each group consists of:
2017-03-10
此为根据python条件表达式来改变显示内容的displayable。位置参数应为二元一组,每组参数包含:
51.
A string containing a python condition.
2017-03-10
包含python条件表达式的字串。
52.
A displayable to use if the condition is true.
2017-03-10
当条件表达式为true时使用到的displayable。
53.
The first true condition has its displayable shown, at least one condition should always be true.
2017-03-10
第一个true的条件表达式会使它的displayable显示,至少要有一个条件表达式为true。
54.
A displayable that can change its child based on a Python function, over the course of an interaction.
2017-03-10
当交互发生时,根据Python函数改变其子displayable的displayable。
55.
`function`
2017-03-10
`function`
56.
A function that is called with the arguments:
2017-03-10
调用参数的一个函数:
57.
The amount of time the displayable has been shown for.
2017-03-10
displayable应该显示的时间长度。
58.
The amount of time any displayable with the same tag has been shown for.
2017-03-10
拥有相同tag的displayable应该显示的时间长度。
59.
Any positional or keyword arguments supplied to DynamicDisplayable.
2017-03-10
由动态displayable提供的任何位置或关键词参数。
60.
and should return a (d, redraw) tuple, where:
2017-03-10
并应该返回一个(d, redraw)元组,其中:
61.
`d` is a displayable to show.
2017-03-10
`d`为应该显示的displayable。
62.
`redraw` is the amount of time to wait before calling the function again, or None to not call the function again before the start of the next interaction.
2017-03-10
`redraw`为再次调用该函数前的时间长度,或设为None使得在下次交互发生前不再调用该函数。
63.
`function` is called at the start of every interaction.
2017-03-10
`function`会在每次交互发生时调用。
64.
As a special case, `function` may also be a python string that evaluates to a displayable. In that case, function is run once per interaction.
2017-03-10
在特殊情况下,`function`同样可以是一个评估displayable的python字串。在这种情况下,每次交互将会运行这个函数一次。
65.
This is a displayable that changes what it is showing based on the images are showing on the screen. The positional argument should be given in groups of two, where each group consists of:
2017-03-10
此为根据屏幕上显示的图像进行变化的displayable。位置参数应为二元一组,每组应包含:
66.
A string giving an image name, or None to indicate the default.
2017-03-10
提供图像名称的字串,或为None代表默认。
67.
A default image should be specified.
2017-03-10
默认图像应被指定。
68.
One use of ShowingSwitch is to have side images change depending on the current emotion of a character. For example::
2017-03-10
ShowingSwitch的其中一个应用就是根据角色当前的表情改变侧边图像(side images)。例如:
69.
Applying Transforms to Displayables
2017-03-10
将变换应用到displayables中
70.
The At function produces a displayable from a displayable and one or more :ref:`transforms <transforms>`.
2017-03-10
At函数将一个displayable和一个或多个:ref:`变换 <transforms>`组成displayable。