Hi folks,
I have some buttons overlaid on my screen. Pressing the buttons does stuff, as does pressing the screen.
How do people make activating UI elements block screen-touches/mouse-clicks in the rest of the game?
So far, I have added code to every button click message, setting a 'blockAllInput' flag that the rest of the game checks. This still seems to allow the game's touch input for around one frame.
Any suggestions?