Ok, he is what i have come up with.
Multitouch fails to work when i try on IOS.
Not quite sure why the mfa is 15mb though, hardly anything to it!
http://www.sendspace.com/file/514cxn
any ideas?
Ok, he is what i have come up with.
Multitouch fails to work when i try on IOS.
Not quite sure why the mfa is 15mb though, hardly anything to it!
http://www.sendspace.com/file/514cxn
any ideas?
The problem was only one of your touch detectors was actually working. Tip - Hold CRTL while clicking to simulate the second touch point on PC. It seems to be that there is some kind of bug in MMF2 when it comes to certain events in behaviours.. if you cut the events out of each of the 'touch detect' objects behaviours and then paste them back in, they will work.
if that made no sense it's okay, attached is a fixed version.
http://www.sendspace.com/file/ermyqw
Yes that made sense - i also tried using the multi touch with CTRL but couldnt seem to get it working (which kinda makes sense now).
Thanks very much, ill give it a try later with the fixed version =)
I can't really understand this, I just copy pasted the data for everything with some adjustments, jut to see if I could make the arrowns change animations, but nothing.
I have some questions, if you don't mind:
1- why the "touch detect icons" are invisible? I can't find the line where you say they should be.
2- How do they follow the mouse?
3- Can't understand the general theory around this, what this should means?
"Set XTouch( "Multiple Touch", TouchNumber( "Touch Detect 01" ))"
4- Where is the reference to the mouse click? I could make this work in my game, but I am still curious.
You don't need an event to tell an object to be invisible, you can untick "visible at start" in it's properties instead.
I have a similar problem to EdibleWare. The touch screen buttons just don't work at all. No animation, nothing when clicking on the buttons. I did notice that when I hold down the ctrl key that the multi-touch things appear on the screen where the cursor is and on the opposite side of the screen though.
Another thing to note is that when the multi-screen things appear on-screen, they're on layer 1, which is the very bottom layer of my scene. Could this be related to the issue of the touch controls not functioning? Any help on how to get touch screen buttons working would be of great value, as it's stalling development of my game.
Many thanks.
did you copy and paste it into your frame? I said before if you copy and paste it there is some kind of bug with MMF2 probably related to the fact that touch points have events in their behaviours. If you copy+paste the events out of the behaviours and into your frames event editor it should work.
I've managed to get my touch buttons working now. I found another example on a different thread that showed a step-by step on how to use the multi touch object. It works like a charm!
DaveC,
i took your advice and copied the events that were in the behaviours into the main code, and it worked.
yeah.. you can now copy them BACK into the behaviours and it will work as well.. it's some kind of bug either with MMF or that .mfa file.