Choosing Animations for TileMovement Behavior & RPG Party

0 favourites
  • 3 posts
From the Asset Store
Helping streamers give their viewers more excitement.
  • Hi,

    I want to use the Tile Movement behavior for controlling an RPG character on a grid. What's the most efficient way to determine which direction the character is moving in, and the appropriate directional animation to select?

    When I worked with the 8-direction behavior in the past, I could round their movement angle to the nearest 90 degree, and then use that to choose the animation name. But Tile Movement doesn't have an expression for which direction the sprite is moving in.

    And as a side question, if I want the player character's party members to follow behind them, how can I achieve that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey there, I suggest that you check which key was pressed to trigger the movement to set the player animation;

    For the party members to follow, the best way is to store the player coordinates in an array each time they move, and position the party members based on the array content

  • Tilemap has grid X/Y and target X/Y

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