Sorry that this is such a basic question regarding selecting a menu button
I want to display a menu screen, consisting of a background image (done), a play button image (done) and a credits button image (done). I have got 'addEventListeners' on each button.
I've put these into a menu_screen.lua file, which I call from menu.lua
I want to stay on the menu screen until a button is selected. How do I make it 'wait' until a selection is made?
At the moment, it calls the menu screen but then just returns to main?
How do I make it wait until I've selected a button?