How do I make sprites follow a player-created path?

Get help using Construct 2

Post » Tue Dec 02, 2014 8:13 pm

I'm making a pipe rotation game. I have the mechanics for snapping the pipes into place and rotating the pipes down. I was hoping to add animation of water droplets traveling along the pipes. My question is how do I get the water droplet sprite to follow the path of pipes the player has created?

The pathfinding behavior really only works for avoiding solid objects, not following a variable route. Does anyone have any suggestions of how I could do this? Thanks!
B
3
Posts: 1
Reputation: 177

Post » Wed Jan 07, 2015 8:52 pm

Did you find a solution? I am trying to do something similar only all I need to do is find out if the path is connected. Any ideas?
B
3
Posts: 1
Reputation: 177

Post » Wed Jan 07, 2015 8:57 pm

The paths in this kind of game are usually simple (basically straights and well defined turns), you could have Image Points for each pipe to guide the water. Since (I'm guessing) this is a linear structure you would just move the water drops from one Image Point to the next in progression.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
20
S
6
G
3
Posts: 632
Reputation: 3,766


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests