User Tag List

Results 1 to 6 of 6

Thread: Multiple Touch Example

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Multiple Touch Example

    This example file shows one method of working with multiple touches in iOS.

    An active object is positioned where multiple touches occur. Note in MMF, hold the Ctrl key to emulate two touches.

    This example file contains an event behaviour on the touch active objects. Documentation contained in the MFA file along with a brief example of how they can be used.
    Attached files Attached files
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiple Touch Example

    Thanks AndyH

  3. #3
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Suggestion

    Hello!

    I made a little change on line 7 (inside the marker 1 and 2).

    Why?

    Using "a touch has moved (number)" only register a touch when it moves. This is a bit annoying for registering buttons touches as you don't move you finger over the button when you press it.
    I changed it to "a touch is active (number)" since it register a touch when it happens and keep tracking it when the user slides the finger over the screen.

    Hope to have helped a bit!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by loglady View Post
    Hello!

    I made a little change on line 7 (inside the marker 1 and 2).

    Why?

    Using "a touch has moved (number)" only register a touch when it moves. This is a bit annoying for registering buttons touches as you don't move you finger over the button when you press it.
    I changed it to "a touch is active (number)" since it register a touch when it happens and keep tracking it when the user slides the finger over the screen.

    Hope to have helped a bit!
    Just tried this out. PERFECT! Thanks

  5. #5
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,122
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    ooo I want to try this when I get home.. I tried multi-touch once just as an experiment and it wasn't quite as responsive as I'd hoped.. maybe this will fix it

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,307
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Can someone explain why there is an event to turn off flag 0 immediately? It seems the whole setup doesn't account for reading if Flag 0 is ON, since it is immediately turned off.

Similar Threads

  1. Multiple touch
    By bybyblue in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 28th August 2013, 11:16 PM
  2. pinch in multiple touch
    By ineke in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 26th August 2013, 08:20 AM
  3. Multiple Touch
    By amaire13 in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 1st May 2013, 01:53 PM
  4. Multiple touch being really weird?
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 5th January 2013, 06:34 PM
  5. Multiple Touch YTouchDelta bug
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th September 2011, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •