I want to create a nest if/ else...I have made a lot of test but don't work.
I upload an example but work only game over, while you win compare together you lose.
How can i solve it?
2 global variable
If attempt =3 and score =3 do "YOU WIN"
if attempt =3 and score <3 do "You Lose"
From what I am understanding from your picture, "else" command isn't even necessary.
It triggers only when both Tentativo and Punteggio are checked accordingly.
Text is resource intensive, so I would just have one text and change text of it.
Without don't work..else it's important. With set text or another text the result don't change!
Is this something like you're after:
This seems to do the trick for me.
Develop games in your browser. Powerful, performant & highly capable.
This seems to be a little bit simpler. But I don't think you need the else, a variable can't be equal AND inferior to a same value.
Ah, I did it the same way as zenox98, I'm a bit late.
With and without ("else"), doesn't work cause the async variable update, so I have used a timer to solve.