This is my attempt at Mini Metro on Scratch. For now it's just the engine, but I might add passengers, maps etc. in the future. A to start. Click and drag to from one station to another to create a line. I have left all the variables and lists visible so you can see what's going on. Basically, before initiating a connection the clone stations will record their x and y as item 1 so the ACTIVE pen sprite knows where to go. The PASSIVE pen sprite constantly redraws lines using the line lists (currently just blue at the moment)
The concept of Mini Metro from dinosaurpoloclub, who in no other way contributed to this project and do not endorse it. Things to be added (in order of complexity): Trains Carriages Advanced line management More lines Passengers and score Rivers and tunnels More maps, special map features e.g. shinkansen