Question - Code Gesture Events (bug?!)

Discussion in 'GameMaker Studio 2 Community Tech Support' started by xDGameStudios, Jun 29, 2017.

Tags:
  1. xDGameStudios

    xDGameStudios Member

    Joined:
    Sep 15, 2016
    Posts:
    579
    I may be using it wrong but the tap event, in the manual says it has a event_data[? "touch"] variable with which one can detect how many fingers are being used.
    I'm trying to detect a 2 fingers' tap (like the right click on a mac).

    So the GLOBAL TAP EVENT code is:
    Code:
    if (event_data[? "touch"] > 0) {
        show_message(...);
    }
    the message code never gets called... am I doing something wrong?! Or is it a bug?!
     
  2. rwkay

    rwkay YoYo Games Staff YYG Staff

    Joined:
    Apr 12, 2016
    Posts:
    1,049
    What are you testing on???

    On Windows Desktop we do not support touch events with more than one finger...

    Russell
     
  3. xDGameStudios

    xDGameStudios Member

    Joined:
    Sep 15, 2016
    Posts:
    579
    Ok so no more then one finger support on Windows... sorry!
    What about on Mac will that be possible or available?
     
  4. rwkay

    rwkay YoYo Games Staff YYG Staff

    Joined:
    Apr 12, 2016
    Posts:
    1,049
    No we only support Touch on

    iOS
    Android
    UWP

    currently, though we have a roadmap item for supporting touch on Windows Desktop as well

    Russell
     
    xDGameStudios likes this.
  5. xDGameStudios

    xDGameStudios Member

    Joined:
    Sep 15, 2016
    Posts:
    579
    OK nice, thank you for your quick reply!
     
  6. Michael Hart

    Michael Hart Member

    Joined:
    Jun 23, 2016
    Posts:
    92
    So if i understand this correctly, there is no current way to test the gesture events that consist of one finger on windows. I would have the use iOS, Android or UWP devices.

    dragging is working but tap isnt.
     
  7. xDGameStudios

    xDGameStudios Member

    Joined:
    Sep 15, 2016
    Posts:
    579
    Tap is working here... and dragging and double tap too... the problem is related to multiple touches.. if you use pinch and rotation doesn't work.
     
  8. Guest

    Guest Guest

    @xDGameStudios Do you mean that tap, drag, and double tap are working on your touchscreen Windows 8 or Windows 10 laptop or tablet?
     
  9. rwkay

    rwkay YoYo Games Staff YYG Staff

    Joined:
    Apr 12, 2016
    Posts:
    1,049
    On Windows Desktop then you will only get one single touch (which comes from mouse simulation) we do not support multi touch on Windows Desktop

    Russell
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice