argh help me with swipe gesture please!!

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.
  • Hi guys, I'm trying to create a swipe effect to cut trees as they appear from the right of the screen. I don't know the right way to do swipe gestures, so I made up my own inefficient workaround, it almost works but I can't make it so players only swipe and destroy one tree at a time...

    Attached is my MMF file...
    Please login to see this attachment.

    1. Ok, so every few seconds a tree is created to scroll from the right to left...
    2. with the tree is a purple and light blue box (these will be invisible, I left them visible so you can see them) that stay with the tree. They're like invisible detectors...
    3. player swipes left to right at the tree, destroying the purple then the blue box. If blue box is destroyed, only that particular tree *should* be destroyed...

    But... some bits get left on the screen, new trees appear without the 'detectors' etc...

    Does anyone know how to do a swipe gesture please??

    Many, many, many thanks if you can show me how this is done, or improve my amateur 'code'.

    Personal portfolio: Please login to see this link.
    2D designer for: Please login to see this link.

Participate now!

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