User Tag List

Results 1 to 9 of 9

Thread: iOS Touching Method

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iOS Touching Method

    This is my personal method for touch detection and operation similar to how iOS buttons work.

    It all works via the Multitouch object, so gives better accuracy, can be setup for multiple touches, and doesn't need the mouse events (which leaves the iOS "mouse" where you let go).

    VerbageiOSTouching.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man.....awesome!

    thank you very very very much!

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey man, advantage that I'm filling you with my doubts . I want to do a little condition: when active1 reaches a certain distance in pixels of a active2..the active2 performs one action...(like set angle, set direction...)

    I just dont know how can i do a condition of distance in pixels.... you know how to do this?

    thanks again!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Say you want a region of 10px around an object to do what you said.

    Object size: 67 x 67
    Hot Spot: (0,0)

    Events:
    +XPos (Active1) < XPos (Active2)+77 (Right side)
    +XPos (Active1) > XPos (Active2)-10 (Left Side)
    +YPos (Active1) < XPos (Active2)+77 (Bottom Side)
    +YPos (Active1) > XPos (Active2)-10 (Top side)

    Simply modify those values (Dimensions / px region) to fit your situation.

    Let me know if this works, I kinda of just came up with it off the top of my head without testing.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i will try this now

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried just to x position to know if works...and dont works....I set the action to scale the active2.....when I start the frame the active starts with a scale action and my active1 it's so far away...

    01.jpg

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They all need to be on one Event and perform the action then.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    732
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Holla! This is nice! Extremly useful to do a little paint job with it! Great!

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export Module
    Enchantainment's Avatar
    Join Date
    Sep 2012
    Location
    West Yorkshire
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a fantastic tutorial, it works like a charm! This thread should be a sticky on the main page as it's the only tutorial I've come across that actually teaches you how to use the multi touch object.

    Thank you for this great tut

Similar Threads

  1. Touching individual buttons in menu?
    By Cyberbeard in forum XNA Export Module Version 2.0
    Replies: 1
    Last Post: 25th November 2012, 08:46 AM
  2. [BUG] touching is disabled when using multi touch
    By HenSoup in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 4th September 2011, 04:29 PM
  3. Which method would you use?
    By NathanG in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd December 2010, 10:29 AM
  4. Pathfinding method
    By RealGameMaker in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd December 2009, 09:23 PM
  5. Can't jump when touching a Wall.
    By Carlos182 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th September 2009, 05:01 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
  •