Hi Corona folks,
I’m trying to develop my own RPG game, and got stuck in a very simple issue. I’m running a script in the game, which displays the lines of a dialog one by one, and the player could click on the screen to see the next line. Like below:
gameText("This is a small room") -- blocked, wait for click event gameText("There's nothing special inside") -- blocked, wait for click event
So in corona, is there a way of blocking the current thread, waiting until an event (or a signal) has arrived, and continue running?
Many thanks in advance.