So I have a pipe based game, where the idea is to rotate the pipes so they join together. Each pipe obviously has two ends and rotates 90 degrees each time.
I have the rotation working and have set an Imagepoint for each end of the pipe (End1 and End2).
If I have let's say a 4x4 grid, each containing an instance of my Pipe sprite how can I check if at any point their ImagePoints are facing each other (in otherwords we can connect the two pipes). This method would need to work as I scale up the grid to say 50 x 50.
Does anyone have any idea? This forum rocks btw, always get a quick answer!
Many thanks