Loading…
ferjpi
Translation changed |
|
ferjpi
Contributor joined |
Contributor joined
a year ago
|
None
String updated in the repository |
|
Much like how [code]Vector2[/code] variables make calculations easier, [code]string[/code] variables come with many helper functions and tricks we can use.
We can use arrays to store strings too. This is useful for chaining animations. In this example, the [code]play_animation()[/code] plays a specific animation.
Al igual queParecido a como las variables [code]Vector2[/code] facilitan los cálculos, las variables de cadena vienen con muchas funciones auxiliares y trucos que podemos utilizar.También podemos usar matrices para almacenar cadenas. Esto es útil para
secuenciencadenar animaciones. En este ejemplo, la función [code]play_animation()[/code] reproduce una animación específica.