Save Sparky devlog · study · diorama test · the last bathhouse, floating
Ozeki Kappa, in the Round
Can the fights live inside an isometric pixel-art diorama? Here the bathhouse from realm 8 is a cutaway floating in the rain at night: cedar posts and indigo tiles, the mural, the shoji glowing, the acid pool steaming, lanterns swaying, a ghost attendant drifting past with a towel. Everything is drawn by code at 640 × 360 and scaled up with sharp pixels. The fight inside it is the same 2D fight as before. Elfy only moves forward and back along a track (the cyan line), plus up. The inset in the corner shows that game, the real one, as plain 2D.
The bathhouse diorama
idle
The game is 2D. Elfy and the kappa have a distance along the track and a height, nothing else; jumps, crests, salt rings, palms and hit windows are the bathhouse fight from realm 8, unchanged. The inset draws exactly that: a line of floor, the pool, the bridge's hump, the loft, the corner (dashed), Elfy as a green square, the kappa as a red one.
The world is a path. The track is a line through the 3D bathhouse: along the front of the room, over the bridge, out of the end door, round the corner onto the veranda. Each frame, every (distance, height) is put on that line and projected 2:1 isometric.
Depth per pixel. The room is drawn once into a color buffer and a depth buffer; characters, steam, splashes and the curtain check that depth as they draw, so the bridge rail, the loft's post and the doorway pass in front of Elfy, and the back wall stays behind her, with no hand sorting.
Telegraphs survive the trip. Rings on the track become isometric ellipses, lanes become lines along the track at the right height, arcs are drawn in the world. The grammar is the same: outline first, then the real thing.
Enemies can leave the track. The kappa walks back into the room to refill its dish at the pool, and steps aside to bow Elfy through. Off the track it cannot touch her (in the inset it turns to a dotted square); it is only dangerous on the line.
The camera. It looks at the room from a little in front rather than square on its corner, so the track runs nearly level across the screen and the room reads like a stage; depth goes down to the left. The camera never quite stops: its angle sways a few degrees over about fourteen seconds, and it drifts toward the middle of the fight (averaged over the last second, so the kappa's leaps don't jerk it). Because the whole room is redrawn from code every frame (about 12 ms), any angle is free, and every pixel reads its own spot on the textures, so the boards don't shimmer as it moves.
The corner. Where the track turns, the camera swings a quarter turn around the house, so forward is still to the right. The scene is redrawn from code at every angle of the turn: no second set of art. Halfway round, the cut moves with it, the way a dollhouse would be built: the end wall is cut away and the front wall goes back up, so you still look into the warm room from the new side.
Light on the characters. Elfy and the kappa pick up the lanterns (warm) and the moon (cool) by where they stand, so they read in the room's dark corners and change color as they cross it.