let's say you had a screen. Any screen.
Code: Select all
screen main:
tag main_screen
add "image" xpos 0.5 ypos 0.5
text "Hi everyone!"
screen ComplicatedLet's say this whole conditional branch would be about which bar is supposed to be used.
Code: Select all
screen Complicated:
showif condition == 1:
bar:
showif condition == 2:
bar:
showif condition == 3:
bar:Code: Select all
screen main:
tag main_screen
add "image" xpos 0.5 ypos 0.5
text "Hi everyone!"
showif condition == 1:
bar:
showif condition == 2:
bar:
showif condition == 3:
bar:What if I have stuff before this conditional branch (like the "add" and "text" statements) and I will have more stuff after the conditional branch?
What I want to do, I want to take that conditional branch OUTSIDE of that screen, so it's more organized, but when it comes to running the game, it is still there (Call it back somehow? "call screen" doesn't work as call is not valid statement for screen)
Thanks in advance!