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.

    Quick question, do you think its possible, or has anyone being able to replicate a 'swipe' gesture like in games like 'flick football'? I want to be able to swipe and hit a ball or curl a bowling ball, but not sure where to start. Appreciate the help if possible.

    Thanks in advance.

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

  • You could set a point when the user clicks and then set another when the user lets go of the screen. Then angle and scale a line to join these two. Then you could work out directions and such from that.

    You could make a custom timer and use that to determine the time that the finger was held down. Then use that to determine the speed of the football or whatever aspect you are flicking.

  • You will need to record the users touch path and speed, then translate that into something you can give your ball to move (all within a few milliseconds.)

    I'm sure I saw a mouse cursor speed example somewhere on these forums, so perhaps you can translate that to use the multi-touch object instead.

    As for the angle of the shot, a simple angle calculation between the first point of the touch and last point would probably work.

    Not sure about spin :(

  • great suggestion guys, I'll try to implement these and maybe share it if I get it to work...

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

  • For the spin, you could position an active object on the point where the user starts their swipe and then position two other actives left and right of this. If the users hold lets go on these, you could curve the shot.

  • Thanks guys. I was using this file to play around with achieving this particular action. I have been playing around with the advanced movement object, (which is not present in this file) but it's still kinda hard for me to grasp on how I can go about implementing this. Is there possibly anyone who may have a better example, or similar that I can dissect and learn from?

    Thanks.

Participate now!

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