User Tag List

Results 1 to 2 of 2

Thread: xTouch and yTouch and Multiple Touch Object

  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)

    xTouch and yTouch and Multiple Touch Object

    In the Windows runtime, the multiple touch XTouch and YTouch values do not seem to work correctly with the "A new touch has occured, number 0".

    On an iOS device, reading the XTOUCH ( for touch 0 ) and YTOUCH values from the multiple touch object during this event returns the current X and Y position of where the touch first occured.

    On the Windows runtime, the XTOUCH and YTOUCH return the last touch position and not where you are currently touching.

    So for example, if you click the middle of the screen (eg: position 160), the "A new touch has occured..." fires but the XTouch value returned is -1 (same for YTouch). If I now click to the right of the screen, XTouch returns the last position of 160. The X and Y Touch values are always returning the last touch position upon this event in Windows.

    As mentioned, this does not go wrong on the iOS device, it will always return the current X and Y touch positions, it's just the Windows runtime that fails.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  2. #2
    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)

    Re: xTouch and yTouch and Multiple Touch Object

    Work-around in the mean time is to read XMouse and YMouse upon that event as it will return the correct (current) touch position on both Windows and iOS.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

Similar Threads

  1. Multiple Touch object?
    By KLiK-iT in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 3rd January 2014, 12:54 PM
  2. Weird behaviors in iOS with Multiple Touch Object
    By Sumo in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 1st October 2012, 06:30 PM
  3. BUG REPORT: multiple touch object
    By Snakesoft in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 27th December 2011, 05:13 PM
  4. [Bug Report] Multiple Touch Object is Non-Op
    By geothefaust in forum Android Export Module Version 2.0
    Replies: 13
    Last Post: 20th April 2011, 02:53 AM
  5. Beta 7:[Bug] XTouch is reset before touch is ended
    By netninja in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th December 2010, 06:49 AM

Posting Permissions

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