How to detect touch that is inside the screen but outside of two actors?
So I have a background actor which is basically the entire active screen. Any touch on this should cause a scene change, except when the touch lies within one of two nonoverlapping actors which are also on the screen.
So say actors A and B are on the screen. If either are pressed the scene should not transition. How would I handle this? This was easy with one actor since I could just say if touch is outside of A, but I'm not quite sure how to do this for 2 actors (or in the general case of N actors)
So say actors A and B are on the screen. If either are pressed the scene should not transition. How would I handle this? This was easy with one actor since I could just say if touch is outside of A, but I'm not quite sure how to do this for 2 actors (or in the general case of N actors)
Comments
I'm afraid I made it in the latest nightly before I noticed which version of GameSalad I'd opened, but it looks like you're Pro so hopefully you have it. If not, you can get it
http://gamesalad.com/download/releases