I am currently experimenting on a movement system that i would like to try out on a small Advance Wars-style top down turn based strategy game.
I would like to have a movement-system where you:
1) Click on a unit to select it
2) From that unit, draw a small path that you want that unit to follow until its destination (not choppy movement like "snap-to-grid" or teleport, but fluid movement on the path that you have drawn)
I want to limit the amount of tiles that you can move the unit in to 5 and you need to draw the movement in a way that doesn't overlap itself or go backwards into itself etc.
Has anyone tried this before?
I don't really know how to implement this since this type of movement is new to me.
Here is a small file that i have started on, if it's of any help: paint movement.mfa
Also here is a picture illustrating what I am trying to do: