1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/text line interpolation with event flush.ans
Étienne Reuh Fildadut b534a3c4a2 [language] automatically call text when they appear directly as a statement; remove autocalling of every text returned by a statement
The previous behavior, where any Text value returned by a line in a Block would be automatically called, may lead to unexpected Text event being written as it is not obvious which line can return a Text value after evaluation.

The new behavior only triggers if a Text node directly appear in the original script as a statement.
2024-04-23 19:57:36 +02:00

15 lines
148 B
Text

:$ jump button
1 #
| A
return!
:$ move axis
1 #
| left
return(" joystick")
| Press {jump button!} to jump.
| Use {move axis!} to move.