Forward/es: Difference between revisions
(Created page with "Avanzar") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Movimiento]] | [[Category:Movimiento]] | ||
<section begin="image"/>[[File: | <section begin="image"/>[[File:Avanzar Es.png|alt=The forward block|thumb]]<section end="image"/> | ||
<section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> es un[[code block]] porte de[[Movement]] cajón. | <section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> es un [[Special:MyLanguage/code block|bloque de código]] porte de [[Special:MyLanguage/Movement|Movimiento]] cajón. | ||
==Uso== | ==Uso== | ||
<p id="tooltip">{{Block|forward [_]}} | <p id="tooltip">{{Block|forward [_]}} mueve el[[agents|agent]] en [[Spaceland]] en el [[heading]]se está enfrentando. El[[Engine#rendering|renderer]] [[Engine#tweening|tweens]] el movimiento de tal manera que parece que el agente cambia de ubicación sin problemas en lugar de instantáneamente.</p> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> is a [[code block]] part of the [[Movement]] drawer. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Usage== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{Block|forward [_]}} moves the [[agents|agent]] in [[Spaceland]] in the [[heading]] it is facing. The [[Engine#rendering|renderer]] [[Engine#tweening|tweens]] the movement such that it appears the agent changes location smoothly instead of instantaneous. | |||
</div> | </div> | ||
==Sintaxis== | |||
[[File:Avanzar Nums Es.png|right|alt=The Forward Block|thumb]] | |||
<!-- <code>forward [number]</code> --> | |||
<code>adelante [number]</code> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
== | ==Example== | ||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
== | [[File:while_toggled_example.gif|alt=Forward example gif|thumb]] | ||
[[File:while_toggled_example.png|alt=Forward example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
When the ‘forever’ button is toggled, the ‘turtle’ agents move forward by one step, while also turning randomly, allowing them to wander randomly throughout spaceland. | |||
</div> | |||
== Matices == | |||
Debido a la [[Engine#tweening|tweening]] efecto, ciertas interacciones pueden causar confusión. [[Explaining Up Tweening Confusion|Haga clic aquí para leer más sobre cómo la interpolación puede crear escenarios confusos.]] | |||
==Bloques relacionados== | |||
*{{Block|Backwards|backwards [_]}} | *{{Block|Backwards|backwards [_]}} | ||
*{{Block|Left By Degs|left by [_] degs}} | *{{Block|Left By Degs|left by [_] degs}} | ||
Line 25: | Line 48: | ||
*{{Block|down|up [_]}} | *{{Block|down|up [_]}} | ||
*{{Block|Teleport To XYZ|teleport to x: [_] y: [_] z: [_]}} | *{{Block|Teleport To XYZ|teleport to x: [_] y: [_] z: [_]}} | ||
Latest revision as of 18:36, 16 August 2023
forward [_]
es un bloque de código porte de Movimiento cajón.
Uso
forward [_]
mueve elagent en Spaceland en el headingse está enfrentando. Elrenderer tweens el movimiento de tal manera que parece que el agente cambia de ubicación sin problemas en lugar de instantáneamente.
forward [_]
is a code block part of the Movement drawer.
Usage
forward [_]
moves the agent in Spaceland in the heading it is facing. The renderer tweens the movement such that it appears the agent changes location smoothly instead of instantaneous.
Sintaxis
adelante [number]
Example
When the ‘forever’ button is toggled, the ‘turtle’ agents move forward by one step, while also turning randomly, allowing them to wander randomly throughout spaceland.
Matices
Debido a la tweening efecto, ciertas interacciones pueden causar confusión. Haga clic aquí para leer más sobre cómo la interpolación puede crear escenarios confusos.