I want to do 2 different actions when users touch to the screen. In fact, if users touch to the top-half, it will do something while when they touch to the second-half which is the bottom-half of the screen, it will do something else.
The current solution that I used is that I have to objects on screen and set its opacity to 0. The first object covers the top-half of the screen while the second object covers the bottom-half. In this case, I just catch the event 'on touch' for each object. Unfortunately, it makes the game a little bit slow.
Is there any other method I can use?
Thanks in advance.