|
|
    
| Part 9 of the Tile Engine Tutorial Series is now available.
This installment finishes up adding a player-controlled character to the Isometric engine, accounting for slopes associated with map tiles and for setting which tiles on the map the character can walk on.
We finish up this installment by sorting out the draw depth for our character so he appears appropriately within the world.
The installment can be found on the Tutorials Page or via Direct Link.
|
|
| |
|
New user
Posts: 1
| I'm trying to take your latest tutorial and a different kind of movement. I dont want the player to be able to move the character but have the character move around the tiles himself. What would be the best way to implement that into your tutorial if I just want the character to move tile to tile and then allow the mouse to select that character based on what tile it is in? Also i want the character to be centered on the tiles when moving so basically its like the character is on a track. |
|
| |
|
    
| Moving a non-player controlled character isn't really any different... The source of the destination is just not the player's input.
I would suggest checking out the Sprite Engine tutorial, particularly the parts about waypoint based movement. You could assign your characters waypoints based on world-coordinates and move toward them each turn. You would need to either pre-program a route or implement some kind of pathfinding system to prevent them from jumping up onto cliffs or getting stuck when they can't transition between heights. |
|
| |