Loopin › Making stories › Snap! Sunset Train
Making Story · 2026.12.04Turning an open-source sunset train
into a photo game
Snap! Sunset Train is a game where you ride a steam train through the countryside at sunset and photograph the view on 24 shots of film. It is not built on a world we drew from scratch, but on a 3D piece another developer shared openly. Here is how we turned someone else's beautiful scene into a game while respecting it.

The original: The Golden Line
The Golden Line is a 3D piece that shows a steam train journey through the countryside at dusk, right in the browser. Wheat fields, a lake, a river, a village church, a viaduct and a tunnel follow one another, and a day passes from low golden hour to night. Trees, grass, even the locomotive's smoke are all drawn in code, with no image or model files.
The piece is released under the MIT license, which means anyone may take it, change it and use it, as long as the copyright notice and permission text are distributed with it. So we kept the original copyright notice inside the game files (THIRD-PARTY-NOTICES.txt and the file headers), and stated that Loopin's rights notice covers only the parts we made.
First, deciding what to make
The scene is lovely just to watch, so the biggest question was "what should you do here?" Out of several ideas we picked landscape photography. What the original does best is beautiful scenery, so we decided to make "looking well" at that scenery the game itself. Because the scene is heavy, we tuned for PC first and decided to run it lighter on phones at a lower quality.
What we kept, what we added
We kept the original's world, light and flow of the day. On top of it, we added a game.
| Added | What it is |
|---|---|
| 24 shots of film | You can take 24 photos per trip, so you have to choose carefully. |
| Photo notebook | The steam train, the train crossing the viaduct, the tunnel, the lake, the river, the station, the village church, a flock of birds, the setting sun, the starry sky and the lit train interior: 11 targets. |
| Star judging | 1–3 stars for each target in the frame when you shoot. The trip score is the sum of each target's best star (up to ★33). |
| Travel album | When the trip ends, you see an album of the photos you took. Your best record is saved on this device. |
| Korean interface and controls | Time, weather and next station shown in Korean; zoom (wheel or pinch), camera spot buttons, a shutter sound and flash, and a viewfinder grid. |
Viewing tools from the original, like the speedometer, director mode and photo mode, were turned into the game screen. Tools the game does not need, like video recording and performance measurement, were left out of the release.
How the stars are given
When you press the shutter, the positions of the lake, station, church, tunnel and bridge in the 3D world, and the directions of the locomotive, the birds and the sun, are projected onto the current screen to work out where each target is in the frame and how large it is. If a hill stands between a target and the camera, it counts as "hidden".
- ★1: it is in the frame and not hidden by a hill.
- ★2: it is large enough.
- ★3: it is large, and sits near where the rule-of-thirds lines cross, or near the center.
Some targets get extra conditions that suit them. The setting sun only earns ★3 when it is close to the horizon (below 5.5°) and the sunset is deep. The starry sky is better the darker it is and the more you look up, but ★3 needs a wide shot without zoom. The lit train interior can only be shot after sunset, from the window seat or the cab. In a way, it turns the advice you hear when learning photo composition into points.
Teleporting cameras only when close
The original has a feature that teleports the train when you move the camera to places like under the viaduct or the tunnel exit. That is handy for viewing, but in a game it would let you collect hard targets with one button. So these two cameras only show their buttons when the train is close to the place. The window seat, cab, drone and trackside cameras can be picked anytime.
The trip length is the original's day (about eight and a half minutes from golden hour to night), and it ends 45 seconds after night falls. In the original, the train goes through a tunnel after night and a new day begins, but a game needs an ending so it can show you the album.

Why we chose WebGPU
The original draws with WebGPU, a new graphics technology. To make it run on older devices we would have needed a separate path drawn with the older technology (WebGL), but the trees, grass and smoke in this piece are built with WebGPU's compute features (compute shaders), so that would have meant rewriting nearly everything. In 2026, Safari on iOS 26 and Chrome on Android support WebGPU too, so instead of a fallback path we chose to lower the quality on phones. On touch screens it draws fewer pixels and turns off anti-aliasing (MSAA). Devices without WebGPU see a notice.
Testing without a graphics card
The environment where we test the game has no graphics card. Software-emulated WebGPU can compute, but drawing directly to the screen canvas dropped the device. So, for testing only, the game draws to an invisible texture instead of the canvas, and we read that back and copy it into a normal image. Setup takes over a minute and each scene several seconds, but we could check the whole flow: departure, shooting, the photo notebook and the end-of-trip album.
On the first screen taken this way, a shot of the locomotive came back as "Steam train ★★★ · Setting sun ★☆☆ · +400 points". That was the first sign the judging worked as intended.
Small touches
- Station names: the original made up station names by joining word fragments. We replaced them with a list of 69 real English villages and small towns, shown both as "next station" at the top of the screen and on the 3D station signs. The first station is Arundel. The top of a phone screen is narrow, so we only picked names of 15 letters or fewer.
- Phone layout: the sound button overlapped the "next station" label, so it moved to a second row; the viewfinder corner marks overlapped text, so we removed them.
- The name: it started as "Sunset Train Photographer" and became "Snap! Sunset Train" (찰칵, the Korean sound of a shutter). The subtitle is "the view outside the train, in 24 shots".
Still to do
The original is a heavy scene made for high-end graphics cards. We lowered the quality on phones, but we are still checking how smoothly it runs on many real devices. We also plan to tune the judging thresholds (how large counts as ★2) by looking at photos from real players.
Thanks to a wonderful open piece, we could build a game on scenery that would have been hard to make on our own. Our thanks go to the original's creator.