Touch on top of a touch?
DrGlickert
Member Posts: 1,135
So my cannon fires when the player touches the screen. but I'd like to move around. Is there a way to "disable" the firing touch portion but only around a very specific small area to put some left/right controls?
Or, do I have to have a specific area for movement and a specific area for shooting?
Or, do I have to have a specific area for movement and a specific area for shooting?
Comments
if touch is pressed
and game.touch1.y is greater than 50
--FireCannon
That would give you an area across the entire bottom of the screen for buttons that would not affect firing if touched