Page 1 of 1

how would i go about a pipe game?

PostPosted: Wed May 13, 2009 9:17 pm
by jimmynewguy
I found/made some sprites for a "pipe"type game. A pipe game is like trying to direct water through pipes to get to a certain area. My question is, what would be the most efficient way to check if the pipes are connected? Link to a game with the same concept. :D thanx in advance and if know one knows, i understand.

http://www.flasharcade.com/puzzle-games/play-3729/pipe-mania-game.html

Oh, but i don't need the water "flow" effect, just want to know how i can check if they are connected.

Re: how would i go about a pipe game?

PostPosted: Wed May 13, 2009 9:36 pm
by BlarghNRawr
if collision left side?

Re: how would i go about a pipe game?

PostPosted: Wed May 13, 2009 9:47 pm
by zygoth
Make an array, or give each pipe section sensors on all four sides that tell what is around them.