How do I make an object move along touch path?

  • Hi.. :) I need help about touch object ( scirra.com/manual/119/touch )

    basically I want to move sprite object through Touch which I learn from templates "Vertical space shooter" in Construct 3 Editor

    Please correct me if i am miss understanding about this template touch concept. Thanks in advance.

    Here is my case :

    Reason :

    * I dont want make the person who play the game need to move their finger all around their phone surface. finger will close the character art

    * "8 Direction behavior + Touch" need arrow object on screen, once the player move their finger out of this arrow area, the character will not move anymore (on tap gesture / on touched object) and player need to retouch the arrow on screen

  • I have made an example : swipemoving.netlify.com

    Is this what you need?

    These are the events :

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have made an example : swipemoving.netlify.com

    Is this what you need?

    These are the events :

    Hi :) thanks for the reply

    I tried your idea with some change "On any touch end" become "Is in touch"

    because your example show the object move after touch end

    but I need the object to move immediately since finger touch is moving..

    the problem is I cannot move the object angle correctly

    in previous case which use "vertical space shooter template", it just need to set the angle toward touch point (X, Y) and it works perfect..

    I learn this from "Construct 3 Editor Intermediate examples -> Instant hit Laser" (the plane object angle facing mouse position)

  • I think I found the way.. it is "Set Angle" not "Set Angle toward position"

    Thanks Maverick1912

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)