The Late Train: a town of ghosts, and a day of cut-off roofs
The Solarus playground is a folder of small SNES-style games, one per subfolder, each started from one prompt. By early September it had five, and every one of them opened with minutes of prologue. At one in the morning on 8 September I gave it the sixth:
ok... new experience, new subfolder: the player has just arrived by train in a new town. ghosts everywhere. the player can see them but they cant see him or interact. they walk right through him. he has a companion or one of the ghosts who can see and talk to him and explains everything
By half past three there was a game. Harrowgate Halt, a few seconds after the train has left. There are people on the platform and none of them looks up when you land. You walk through the porter. A man at the gate keeps reaching for the bolt and his hand goes through it, and then you draw it, because you are the only one there with hands. Kestrel, one of the dead, crosses the platform to you. She is the only one who turns round.
In the engine the dead are not people you can talk to. They are objects you pass through and that pass through you, through the fence and through each other, and they have no reaction to the action button at all. That is correct, and it feels exactly like a broken key, so the game answers instead of the ghost: press at one of the dead and you get a line of narration rather than silence.
Not five seconds of searching
Thirty-five minutes in, before any of the bugs, the next message was about where the pictures come from:
I know there are a TON of free assets and tilepacks out there... there might even be a folder already for this idea in ../ .. anyhow I want you to really get into it. I feel like every time I ask a chat to get tiles it just basically goes like “coouldnt find anything in 5 seconds so I just draw custom ones” .... let's start building a local large library of free and cc0 and public domain etc tilesets... and yes they should be in the SNES optic of Solarus not in the RPG maker optic
That became its own project, a tile library that downloads packs from OpenGameArt and itch.io, writes each one's licence next to it and checks the licence against the page it came from. By three in the afternoon it held eighty-five packs; its list has 831 entries today. Asked whether any of it suited a ghost town, it found an abandoned-village set in the CC0 Ninja Adventure pack by Pixel-Boy and AAA, and Harrowgate was rebuilt from that.
A day of looking
Then the afternoon went to things a player sees at once:
sorry but you need to do better. take screenshots of the game and look for what's weird. the houses have always been weird. the companion often blocks you in some pixel and you cant move anymore. the gate wont open for me neither not just the ghost. there are so many obvious problems left
why do you have such a hard time self-inspecting? in web flows you easily make screenshots and self correct. why is it harder for you here? do you not have a flow set up? screenshot of every key moment. look at the screenshot for anything that's off. correct. loop again
I can walk through the roof of the right house and not inside but OVER the roof. […] Have you ever taken a screenshot of the first frame of harrowgate? also roof tiles would always be non-walkable, right? I really dont get what your difficulty here is... are you still not tagging the tiles?
Each of those had a dull cause that the tests could not see, because the tests were built on the same assumptions as the code. The houses were cut 64 pixels tall from a sheet where they are 80, so the roof was left on the sheet. Every building's solid box sat eight pixels left and thirteen up from its picture, because an object's origin in Solarus is not its corner; the map renderer used for checking made the same mistake, so the check agreed with the bug, and it drew buildings as coloured boxes anyway. The gate would not open because the engine ignores the action button while the hero is leaning against something, and a player walking up to a gate is leaning against it. The tests pressed the gate's handler directly, so they passed.
What fixed it was a change of method, again asked for: draw the level on paper first, with no engine, and mark what is walkable and what does something; then translate it into Solarus mechanically and check that the two agree. A collision view now paints what is solid over what you see and fails the build when they drift apart.
At twenty past eight that evening the game stopped being the point:
ok yeah let's ... let's actually start building a tilemap AI ... so generating worlds ... of course the first part of that pipeline must be to extend our tileset scraping (of course w attribution) and so on.... so it's really only about building the visuals now. no player, no nothing so we dont actually need solarus for this
The Late Train was left there, two maps long. A month later an overnight agent run, on a side branch, took the advice from that afternoon literally: a review command walks the game and photographs twenty-two key moments onto one sheet, and the run fixed twelve things the sheet showed. The pictures in this post come from that run.
- built
- Claude Code, 8 September from 01:01; first playable at 03:30, rebuilt on the new tileset by 18:40, the level drawn on paper by 21:24; a review pass by an overnight agent on 9 October
- engine
- Solarus 2.1.3, Lua for the game, Node scripts that generate the maps, the art cuts and the review sheets
- art
- Ninja Adventure Asset Pack by Pixel-Boy and AAA (CC0) for the town and its people; the Solarus free resource pack (CC BY-SA 4.0) for the rest of the sprites and the fonts; the railway, gate, clock and dialog box are generated by the repo
- size
- two maps, the platform and the town; about 4,600 lines of JavaScript and Lua
- tested
- played by me on 8 September; since then by a smoke run that walks the whole thing and a collision check that fails the build
Still rough
This is the opening of a game, not a game. It ends after the town square, and nothing past the first scene of the rule has been written. The overnight pass also added a third scene, a well whose handle the dead cannot turn, with words of its own; that is on a side branch nobody has played or merged. The review sheet still shows faults: the gate's line runs out of its box after “perfectly ordin”. The method outlived the game: the tile library is still growing, and the tilemap generator it was for is its own story.