Click are to go into building mode, e to exit. Once in building mode, if the cursor is over an appropriate node, click and drag to build a rode. Guests will spawn automatically. Once a rode is built, you have to continue building off the end of the rode. This is a demo and I haven't figured out how to make it to where you can expand the rode on a node not at the end of it, so this might get updated later, although this was already pretty complicated and I fear that adding anymore features might be to hard for me to code. Any pointers are welcome, and i still need to develop a connecting path system for the rides that the guests can still walk on. Currently the guests are just a plain square, this will be changed in the main game. I am either going to use this path system or a grid system in the main game, but I wanted to try making both to see which one would be easier to work with. I think its going to be the grid system, which I will start working on now that this one is complete, but enjoy messing around with this one if you want.
All code and art by me. If you want to use this and you somehow understand how to integrate it into your own game, go ahead, just tell me that you are going to do it and give me credit.