ImpowerGames / impower

An all-in-one, community-powered indie development platform that gives creative people the tools they need to bring their ideas to life.
https://www.impower.app
2 stars 1 forks source link

Made it possible to wrap commands in if, elif, and else conditions. #150

Closed lovelle-cardoso closed 2 years ago

lovelle-cardoso commented 2 years ago

To test:

var test = true
var x = 5

* if (test):
  * if (x < 5):
    Too low...
  * elif (x == 5):
    Perfect!
    So...
    Now what?
  * else:
    Too high!!

ALL DONE!
Wipeless commented 2 years ago

@lovelle-cardoso When setting x to something greater than 5, I am unable to reach the else's "Too high!!"

It goes straight to "ALL DONE!"

lovelle-cardoso commented 2 years ago

@Wipeless Fixed by 05cfe8ca

Broderick-Colin commented 2 years ago

I was able to get the Too high result