# Adding the water to a pipe dream clone

**URL:** <https://forum.kirupa.com/t/adding-the-water-to-a-pipe-dream-clone/243121>\
**Category:** Uncategorized\
**Created:** [November 2, 2007, 11:33pm UTC](https://forum.kirupa.com/t/adding-the-water-to-a-pipe-dream-clone/243121 "2007-11-02T23:33:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_b](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Post date:** [November 2, 2007, 11:33pm UTC](https://forum.kirupa.com/t/adding-the-water-to-a-pipe-dream-clone/243121/1 "2007-11-02T23:33:50Z")

</div>

Anyone remember that game where you connect pipes together and water flows through them?

Im making a clone of it in flash, using tiles. I have the basics all laid out, the generation of the tiles, laying down pipe tiles and the rest. However, I know need to add the water and have no idea how to do it!

My guess is that i need to store position of the pipes in an array, and trigger an animation of water going through the pipes when the previous pipe is full? Im not sure how I can determine which direction the water flows in, or to be honest how to call one movie to play when the previous one has finished.

Any pointers here much appreciated
