The pipe connecting mini-game tutorial I told you all I was working on, is now complete! It's a bit longer and a little more complicated that some of my previous tutorials, so it's split into two parts.
The goal of this mini-game is to connect pipes in a grid from a starting point to and end point, where you can't have any loose endpoints where liquid could leak out. Once a valid connection has been completed, the player wins the game and you can show a custom screen or label for example.
We'll generate a random path, cell by cell, that the player could take to solve the puzzle. This path can move down and to the right until it reaches the endpoint. Then we'll fill the grid with pipe shapes that fits the path so the player can rotate them into alignment to solve the puzzle. The cells not part of the path will have randomly picked pipe shapes that could potentially also be used as a part of a valid path.
Watch the complete series on my channel and download the assets from the video description to follow along with the tutorial!
Due to that this script is a bit more advanced and took more time and effort to make, it is available to download in the "Scripter" tier rather than "Supporter".
I also have an extended version of this script in the "Magician" tier which allows the random path generator to also move upwards, which can make the game a little more challenging to play as the path generally becomes longer.
⭐⭐⭐ Hope you enjoy! ⭐⭐⭐