User Tag List

Results 1 to 3 of 3

Thread: Beta 7:[Bug] XTouch is reset before touch is ended

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta 7:[Bug] XTouch is reset before touch is ended

    When a touch is released, the last touch is given back as LastTouch( "iPhone Multiple Touch" ).

    So if I start touch 0 and use:
    A touch has ended, number LastTouch( "iPhone Multiple Touch" )

    then I will get back 0.

    However XTouch( "iPhone Multiple Touch", 0) resets to -1 before this resets to 0.

    Meaning if you use:
    XTouch( "iPhone Multiple Touch", LastTouch( "iPhone Multiple Touch" )) you will always get -1, when you should get the X position of the touch when it ends.

    See attached file. The active object should be set to the last touch position when you release it.

    If you run an app at 1FPS you can see that the touchX takes sets to -1, 1 frame before the last touch is set to -1.
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 7:[Bug] XTouch is reset before touch is ended

    Corrected. xtouch and ytouch return the last position of the touch, even if it has ended...

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 7:[Bug] XTouch is reset before touch is ended

    Thank you

Similar Threads

  1. [bug rc7] Multiple Touch 0 has ended ALWAYS triggers!
    By StingRay in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 29th March 2013, 05:23 AM
  2. A touch has ended
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 15th March 2012, 09:00 AM
  3. A touch has ended not working
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 15th March 2012, 01:28 AM
  4. xTouch and yTouch and Multiple Touch Object
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 8th September 2011, 12:28 PM
  5. A Touch has ended, number ... lag?
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 12th November 2010, 11:01 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
  •