

2·
3 days agoHere, for example, is how the showMessage
function would work:
$MessageLabel
is a field defined by the programmer in Godot.- The
showIn(p_message, p_place)
function shows the messagep_message
in the fieldp_place
. - waitSeconds(2) waits 2 seconds.
- When the 2 seconds are elapsed, the second branch
waitSeconds(2)
is finished and so theparallel
block is exited (because ofexitWith branch 2
) and the other branch (the first one) is definitely interrupted (because myparallel exitWith branch N
does so). - The interruption of the first branch
showIn(p_message, $MessageLabel)
makes the$MessageLabel
invisible.
Thank you for your kind wish! 🙂