How do I make characters move where i point them to with the mouse?

0 favourites
  • 2 posts
From the Asset Store
Connect the dots in the correct order and draw happy animals!
  • I'm making a game where the idea is to have something like "age of empires" or "oxygen not included" where there are many characters that you can select with the mouse and point them to do different things. For now i only want to know how can i make a selection of only one character and make it move to a location i point them. I've tried with pathfinding but the character doesn't move smoothly across the platform while playing the walking animation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When animations are messing with movement, a very common solution is to use two objects for a character (you can put them into a container).

    One object "CharacterBox" is an invisible rectangle sprite with Pathfinding behavior. And the second object is your main "CharacterSkin" sprite with animations, pinned to that CharacterBox.

    Also, make sure that the Origin image point is set correctly in all frames in all animations.

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