I’m thinking about having the user click on the screen where the player should go instead of using a Dpad. The play would go directly to that point (unless there’s an obstacle in the way). Can a player sprite animate from point to point or would it have to walk an over-down-over-down type path to get to the destination?
Thanks
Yes, a player sprite can animate from point to point. mte.moveSpriteTo supports levelPosX and levelPosY parameters for this purpose. I recommend looking at the Platformer - Basic sample to see per-pixel movement in action. Modifying the sample to work for a top-down perspective would be relatively simple.
Yes, a player sprite can animate from point to point. mte.moveSpriteTo supports levelPosX and levelPosY parameters for this purpose. I recommend looking at the Platformer - Basic sample to see per-pixel movement in action. Modifying the sample to work for a top-down perspective would be relatively simple.