Forward/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:


[[Category:Movimiento]]
[[Category:Movimiento]]
<section begin="image"/>[[File:Forward Block.png|alt=The forward block|thumb]]<section end="image"/>
<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 [[Special:MyLanguage/code block|bloque de código]] porte de [[Special:MyLanguage/Movement|Movimiento]] 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.


Line 8: Line 8:
<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>
<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 class="mw-translate-fuzzy">
<div lang="en" dir="ltr" class="mw-content-ltr">
===Sintaxis===
<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">
{{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>
 
==Sintaxis==
[[File:Avanzar Nums Es.png|right|alt=The Forward Block|thumb]]
<!-- <code>forward [number]</code> -->
<code>adelante [number]</code>
<code>adelante [number]</code>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<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>
</div>



Latest revision as of 18:36, 16 August 2023

Other languages:
The forward block

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

The Forward Block

adelante [number]

Example

Forward example gif
Forward example code

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.

Bloques relacionados