I'm making an episode, and I want the words "COURSE CLEAR!" whenever the player clears a level. However, I used events with LUA and the text displays, but for only a frame:
just set a boolean in onEvent that enables relevant code in onDraw. onEvent runs like the name implies: Only on frames that have triggered an event.
Instead of using onEvent you could also just check for Level.winState() > 0 https://wohlsoft.ru/pgewiki/Level_(class)
just set a boolean in onEvent that enables relevant code in onDraw. onEvent runs like the name implies: Only on frames that have triggered an event.
Instead of using onEvent you could also just check for Level.winState() > 0 https://wohlsoft.ru/pgewiki/Level_(class)