Build a railway from a few points
Pick a layout or tap the ground to place points, and the tool lays a smooth line through them with rails, sleepers and a ballast bed. Give a point some height and the line climbs: low stretches get an earth bank, high ones a bridge. Select a point and you can put a station there, dig a tunnel through a hill, or start a branch line that leaves the main line at a switch. There are five kinds of track: a classic railway with wooden sleepers, a modern electric line with concrete sleepers, masts and an overhead wire, a narrow gauge line for mines and forests, a monorail on a concrete beam, and a wooden toy track.
Trains from 1830 to today
Thirteen trains cover two hundred years and the toy box. An early steam engine with a tall chimney and open carriages, a western engine with a diamond stack and a cowcatcher, a 1930s express engine with a tender and coaches, a 1950s streamliner with ribbed silver cars, a diesel with box cars, tankers, containers, hoppers and logs, an electric engine, a metro, a high-speed train with a long nose, a tram, a mine train, a monorail train, a wooden toy train and a toy train made of studded building bricks. Set the number of cars and two colours. Every car sits on the line with its front and rear axles, so long coaches swing through the curves the way real ones do. Two sliders add panel seams with rivets and wear with grime, streaks and rust to the trains, and Material maps adds a normal map and a roughness and metal map made from the same detail, which Godot and Unity pick up from the GLB.
Make the track and the land your own
Bridges can stand on concrete pillars, on stone arches or inside a steel truss. Rails, sleepers and ballast each take any colour. The land can be grass, farmland with fields, a city with blocks of buildings, desert, snow or autumn woods, under a day, sunset, night or overcast sky. A slider sets how many trees there are, and houses, hills, a lake, rocks, telegraph poles and a fence beside the track each switch on and off. Ground and tree colours can be changed too.
Ride it right away
Press Ride the train and the train runs along the line you just drew, over the bridges and through the tunnels. Watch it from behind, from the driver's seat or from beside the track. If the railway has a branch, pick it under Route and the train takes the switch and runs to the end of the branch and back.
What you can download
The track map is a top-down picture of your line, without the scenery and with a see-through background, for a 2D game or a level plan, and it is free up to 1024 pixels. The path JSON is free too: it lists a point every metre along the line with its height, so your own code can move anything along the track. With Pro you get the track as a GLB model, the train as a GLB with each car and wheel as a separate node, and a game kit with scripts for Godot and Unity that read the path and run the train, turning the wheels and tilting the cars on slopes.
Using it in Godot and Unity
One unit is one metre and Y is up. In Godot, drop track.glb into the scene; the mesh named track-col gets collision on import. Add the train model, attach gsk_train.gd to it, point it at track_path.json and press play. In Unity, import both models with glTFast, add GskTrain to the train and drag track_path.json onto it. Stations, signals, tunnels and switches are empty marker nodes in the track model, and they are listed in the JSON with their distance along the line. Each branch comes with its own route file, so sending a train down a branch is a matter of giving the script that file. The sky is not exported: light the scene in your engine.
How tight and how steep?
The box under the view shows the length of the line, the tightest curve and the steepest climb. Real trains like curves wider than 150 metres and climbs under 3 percent, but games are more forgiving: the tool warns you under 15 metres of radius or over 8 percent, where long cars start to look wrong.
Can I use it commercially?
Yes, in free and commercial games, and you do not need to credit us. The track and the trains are built by code from your settings, and they are generic shapes, not copies of a real railway. Please do not resell the files as an asset pack.