Question - IDE drag end event not firing

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Pfap, Apr 5, 2018.

  1. Pfap

    Pfap Member

    Joined:
    Apr 30, 2017
    Posts:
    551
    Hello, I was playing around with the gesture events today; really trying to get a thorough understanding of them, so I can eventually implement smooth touch controls. I ended up with a snake like game accidentally, because the drag end event won't fire.

    I'm using all the default configurations and not changing anything with gesture_drag_time or the other functions.


    The code I have works fine in the drag start and dragging events, but in my drag end event I have this:
    show_debug_message("drag end");
    and it never fires upon release.

    I'm using the new 2.1.4 update, but never really played around with the gesture events before.
     
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,901
    If the other two are firing burt the End event isn't, then that would suggest a bug... So please file a report and include a link to a test project that shows the issue if you can.
     
  3. Pfap

    Pfap Member

    Joined:
    Apr 30, 2017
    Posts:
    551
    Ok, I switched to the previous runtime then did some more coding then switched back.... maybe it was my problem. It is working fine now and I'll remember your response for future issues.

    Does anybody know if you can just dump a Gamemaker export into your servers /www index and include a link??
     
  4. Dog Slobber

    Dog Slobber Member

    Joined:
    May 20, 2017
    Posts:
    283
    So long as the export is HTML5.
     
  5. Pfap

    Pfap Member

    Joined:
    Apr 30, 2017
    Posts:
    551
    Oh, I was wondering about the .yyz files. I guess I should just try it, lol.
     
  6. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,526
    .yyz files are exported GMS2 project files, and would require the person downloading it to own GMS2 to be able to open it (the trial doesn't support importing .yyz files).

    If you want people to be able to play it, export an exe and upload the files in a zip/rar archive, or export to HTML5 if you own it to be able to have it played in a browser.
     
  7. Pfap

    Pfap Member

    Joined:
    Apr 30, 2017
    Posts:
    551
    Yes, I'm only talking about getting a test project over to the people at Yoyo in the case of submitting a link to a project that is exhibiting a bug. Nothing to do with distribution, just a test project that would need to be opened in the IDE.
     
  8. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,526
    Yeah that's fine then, just export a yyz and host it somewhere and provide them with the link. :)
     
    Pfap likes this.

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