FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.

Share

descriptionDrawing a path for an Object to Move Along

more_horiz
It's my first post here.

So, I've been looking for a way to make a game where you draw a path on the screen by the mouse or touchscreen. Once you've drawn a path, your player moves along that path. I'm thinking of making it work similar to this game:


Any ideas, guys?

Thanks!

descriptionRe: Drawing a path for an Object to Move Along

more_horiz
Create an array of touch positions (vector2) and then use a for loop to place an image at each position and you can rotate each of the images to either the next position or from the previous position.
Permissions in this forum:
You cannot reply to topics in this forum