Multiple Touch on cursor but not button

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I am brand new to clickteam fusion 2.5. I am writing a multiplication game in HTML5 that uses the Multiple Touch slingshot from an earlier post on here that gave the example blankframe.mfa. It picks up the touch on the cursor, but when I add an OK button, it does the events as if I've touched the cursor again. I tried using the LastNewTouch = 0 for the cursor and = 1 for the button along with the touch detectors, but nothing works. I'm doing it for a masters degree project and running out of time. I can have the slingshot ball collide with something to do the events for the ok button if I get too desperate, but I would really like it to work. Any help would be very much appreciated. The IOS:wait for a touch box is checked also if that makes a difference. I was wondering if there is some setting for HTML5 to recognize multi-touch that I'm not doing maybe?

  • I would love you forever if you could! :D I've tried doing the touch detectors all different ways, setting global values on and off to distinguish the cursor from the button. Nothing works. This is the first program I've tried to write, so I'm totally new at this. Please don't judge my code too harshly ;)

    Please login to see this attachment.

  • well... lol it's quite un-readable.. so I had to hack together a solution.. I recommend you comment each line of code, separate them into groups etc. it's very hard to read what does what.

    basically - the solution I used was to first determine where on the screen the user is touching, only if the user is touching on the lower half of the screen will the slingshot events be true. If the user is touching the top half of the screen the slingshot won't respond.. there are of course a million different ways to do this.

    Please login to see this attachment.

    Check out my Game on Itch.io
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!