|
1.
|
|
|
Screen Actions, Values, and Functions
|
|
|
|
Ações, valores e funções da tela
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:8
|
|
2.
|
|
|
Ren'Py ships with a number of actions, values, and functions intended for use with screens and the screen language.
|
|
|
|
O Ren'Py é fornecido com uma série de ações, valores e funções destinadas ao uso com telas e o idioma da tela.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:10
|
|
3.
|
|
|
Actions
|
|
|
|
Ações
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:14
|
|
4.
|
|
|
Actions are invoked when a button (including imagebuttons, textbuttons, and hotspots) is activated, hovered, or unhovered. Actions may determine when a button is selected or insensitive.
|
|
|
|
As ações são invocadas quando um botão (incluindo botões de imagem, botões de texto e pontos de acesso) é ativado, pairado ou não movido. As ações podem determinar quando um botão é selecionado ou insensível.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:16
|
|
5.
|
|
|
Along with these actions, an action may be a function that does not take any arguments. The function is called when the action is invoked. If the action returns a value, then the value is returned from an interaction.
|
|
|
|
Junto com essas ações, uma ação pode ser uma função que não aceita nenhum argumento. A função é chamada quando a ação é chamada. Se a ação retornar um valor, o valor será retornado de uma interação.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:21
|
|
6.
|
|
|
An action may also be a list of actions, in which case the actions in the list are run in order.
|
|
|
|
Uma ação também pode ser uma lista de ações; nesse caso, as ações na lista são executadas em ordem.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:26
|
|
7.
|
|
|
Control Actions
|
|
|
|
Ações de controle
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:30
|
|
8.
|
|
|
These are actions that manage screens, interaction results, and control flow.
|
|
|
|
São ações que gerenciam telas, resultados de interação e fluxo de controle.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/screen_actions.rst:32
|
|
9.
|
|
|
This causes the screen named `screen` to be hidden, if it is shown.
|
|
|
|
Isso faz com que a tela chamada `screen` fique oculta, se for exibida.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/inc/control_action:5
|
|
10.
|
|
|
`transition`
|
|
|
|
`transição`
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/inc/control_action:7
|