Does Mouse Click works like TOUCH on IPAD and IPHONE
decaoeu
PRO Posts: 61
Hello guys, iam creating a "angry birds like" game, and to shoot i basically copied the "Cannon Physics" game, but the game is for IPAD and IPHONE, and for some reason when i change the rules to TOUCH, instead of Mouse Position, the power system does not work anymore.
If i leave the game using the MOUSE position, it will work on Ipad?
It worked on the GS VIEWER, but iam not sure if this is the right think to do.
If i leave the game using the MOUSE position, it will work on Ipad?
It worked on the GS VIEWER, but iam not sure if this is the right think to do.
Best Answer
-
tenrdrmer Posts: 9,934Mouse and touch are interchangeable across all platforms. Mouse is down is the same as touch is being held anywhere on the screen. Mouse position.x is the same as touch1.x etc….
touch is pressed is just a mouse click or touch on a the specific actor.
Touch is inside means the touch event happened anywhere on the screen and then has slide into the specific actor.
Hope this helps
Cheers
Aaron