Mouse Press Vs Touch?
Hi everyone!
Noob here! I have a template for a line drawing game (ORBZAMPLE Drawer) but I noticed it uses mouse press in the rules and behaviors, even though the platform is iphone. What I wanted to know was whether I'd need to change the code from 'mouse button is down' to 'touch is pressed' etc. for it to work when on an iphone device? It works fine now on my mac but I'm wondering if it automatically translates mouse position to be the users finger or not?
If I need to change the code, has anybody done this? I tried changing from mouse button to touch as described above in every instance where mouse button or mouse position is mentioned but when I change the code to be 'touch' it no longer draws the line.
Many thanks in advance!
Noob here! I have a template for a line drawing game (ORBZAMPLE Drawer) but I noticed it uses mouse press in the rules and behaviors, even though the platform is iphone. What I wanted to know was whether I'd need to change the code from 'mouse button is down' to 'touch is pressed' etc. for it to work when on an iphone device? It works fine now on my mac but I'm wondering if it automatically translates mouse position to be the users finger or not?
If I need to change the code, has anybody done this? I tried changing from mouse button to touch as described above in every instance where mouse button or mouse position is mentioned but when I change the code to be 'touch' it no longer draws the line.
Many thanks in advance!
Comments
@921creative
there not really the same thing.
When touch is pressed will only happen when the touch is pressed on the actor that has that rule
mouse button is down will happen whenever you press anything
cheers
Also bear in mind that although when mouse is down works fine for iDevices as well as desktop, using when touch is pressed won't work on the desktop app version... I'm pretty much certain .... with means that if you've used when touch is pressed in an iDevice and you then want the app on the Mac, you have to change all of them to when mouse is down... like I'll have to.... (drat)
----------------------------------------------
http://davidgriffinapps.co.uk/
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps