Cutscena movement npc or player

0 favourites
From the Asset Store
Players follower. use it for anything which follows the player
  • If you just need the sprite to move between 3 waypoints, it's very easy to do with MoveTo behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you just need the sprite to move between 3 waypoints, it's very easy to do with MoveTo behavior.

    Sorry but i still haven't understood correctly, could you give me a practical example?

  • Add MoveTo behavior and 3 simple actions:

    It will move to point 1, then point 2, then point 3 and stop.

    You can use relative coordinates, for example:

    Character Move to (Character.x, Character.y-100)

    It will move 100px up from its current position.

  • it works but the animation gets stuck in idle up

  • You can change animation based on the moving angle. Character.MoveTo.MovingAngle is between -45 and 45 degrees -> Set animation "Right"

    and so on.

  • I tried but the character is stuck on the right even without the cutscene

  • You should only enable this block when the cutscene starts. Or add a condition "MoveTo is moving"

  • Sorry if i answer only now but I have had commitments in these days.

    Unfortunately apparently it still doesn't work, these are the codes to make the character go up, right and up

    (UP) -> Player: Move to (Player.X, Player.Y-100) (Direct)

    (RIGHT) -> Player: Move to (Player.X-100, Player.Y) (Direct)

    (UP) -> Player: Move to (Player.X, Player.Y-100) (Direct)

    it just makes a movement in one direction and that's it, I also tried waypoints but it's all busted.

    Do you have any other solution?

  • I thought you move your character with TileMovement behavior, and MoveTo was only for the cutscene?

    You need to post your project file, or a screenshot of all movement events.

  • I use tilemovement to move the character and move to to make it move in the cutscene

  • On the first screenshot change mode from "Direct" to "Add waypoint".

    And if you want it to move up, then left, then up, you need to change the coordinates in the second and third MoveTo action.

  • Subscribe to Construct videos now
  • That's what I told you - "if you want it to move up, then left, then up, you need to change the coordinates in the second and third MoveTo action."

    To move Up, then Left, then Up:

    Move to self.x, self,y-100

    Move to self.x-100, self.y-100

    Move to self.x-100, self.y-200

  • ok it works perfectly, but the animation remains stuck up.

    sorry if i ask all these questions and that i am new to construct

  • Can you share your project file?

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