Games › Guides › Devlog: how we made Yokai Corridor
Devlog: how we made Yokai Corridor
Yokai Corridor went from an empty project to a finished browser game in about four weeks. This is how it came together, taken from our own development log.
By SPR Game Studio · Updated 5 December 2026
Week one: a dungeon that came first
The project started on 31 October 2026, and it did not start as a horde game. The first version was a room-by-room dungeon: the ninja carried a lantern through dark rooms of a moss garden, fought small groups of yokai, chose charms at shrines and bought items in shops. In that first week we built most of the technical foundation that the final game still uses:
- A renderer built on three.js using WebGPU, with a WebGL2 fallback for browsers without WebGPU.
- Pixel art drawn upright in a 3D scene, with real lights and shadows, and a post-processing chain for glow and colour.
- A simulation that runs in fixed steps of one sixtieth of a second, separate from the drawing, so a run plays the same on a fast desktop and a slow phone.
- Seeded random numbers: the same seed and the same inputs always produce the same run, which made bugs reproducible.
- The feel of combat: hit flashes, knockback, short freeze frames on heavy hits, and the roll with its invulnerability window.
On 1 November, after looking at screenshots, we raised the camera so more of the floor is visible, and fixed an early phone problem where double-tapping to roll made Safari zoom the page.
The switch to a horde
On 10 November we started what is now Yokai Corridor: a "horde mode" on one large open map, inspired by the survivors genre. The dungeon's combat, rendering and input carried over; almost everything else was new.
A horde game lives or dies on how many enemies it can move. Our quick prototype of the enemy store, which keeps every enemy's data in flat arrays instead of separate objects, moved 2,000 enemies in about 1.9 milliseconds per frame. The final game caps the field at 300 yokai at once, on every device.
Over the next few days the systems arrived one by one: the spawning director and mass waves, two hero types, embers and level-up cards, the stat cards, elements and reactions, 14 skills and 14 fusions in total, and the HUD and menus. On 14 November the horde mode replaced the dungeon as the game you get when you open the page.
One hero for this release
The game has data for a second hero, an onmyoji who throws paper talismans, with three ranged skills and three fusions of its own. For the first public release we chose to ship only the ninja, so the version you play has 11 skills and 11 fusions. Keeping one hero let us spend the remaining time on balance and polish.
Balancing with scripted players
We could not watch thousands of runs by hand, so we wrote scripted players and let them play hundreds of runs at full speed:
- an idle player who never moves,
- a wanderer who walks about without much plan, standing in for a first-time player,
- a kiter who keeps moving, dodges red warnings and favours fusion cards, standing in for an experienced player.
Each design target became an automatic check. Standing still must lose before the boss. The wanderer should fall somewhere around the seven-to-nine-minute mark. The kiter should beat the Giant Frog in roughly a quarter to a half of its runs, and late in the run basic yokai should still die in two or three hits.
Hitting all of those at once took several rounds. Among the changes: the Giant Frog went from 6,000 to 20,000 health; Bamboo Arrows, which originally started shooting at 3:00, now wait until 9:00; early touch damage from snakes, bats and Kappa was lowered and Kappa became rarer; red hearts became more common and heal one and a half hearts instead of one; the frog's attacks were made faster and harder; froglets became much tougher. The full log of every round is kept with the project.
Sound
Sound came in on 24 November: 14 sound effects and two music tracks, one for the courtyard and one for the boss. Getting it right was mostly about restraint. With hundreds of hits per second, every sound has a per-second limit, ember pickups rise slightly in pitch as you collect a chain of them, and only the Giant Frog's warnings make a sound, because Bamboo Arrow warnings would never stop. The pause menu gained a mute switch and three volume levels.
What playtesting changed
Two changes on 25 November came straight from playing the game rather than from the numbers. First, the Giant Frog looked like a solid white blob during the fight: a full build hits it dozens of times a second, and every hit restarted a white flash. Now it flashes at most twice a second. Second, players who stood still were being hit by Bamboo Arrows they never saw fire. The arrow is now drawn flying along its red line, hit or miss, so you can see what got you.
Testing before release
By the end of November the project had about three thousand automated tests (3,006 test cases in 153 files on 25 November), plus browser checks that load the real built game in portrait, landscape and desktop windows, play through it, and fail if anything goes wrong: a black screen, a console error, a button covered by another, a page that scrolls when you press Space.
Credits
Art and audio come from the CC0 asset pack Ninja Adventure by Pixel-boy and AAA. The pixel font is Fusion Pixel (SIL Open Font License 1.1). Seven skill and fusion icons were made with the AI tool PixelLab. Game design and programming by SPR Game Studio.
See every dated change in the patch notes, or play the game.
Play Yokai Corridor All guides
More guides
- Beginner's guide: your first run
- All 11 skills explained
- Level-up cards explained
- All 11 skill fusions and how to unlock them
- Enemy guide: every yokai and how to handle it
- Giant Frog boss guide
- Survival tips: rolling, kiting and positioning
- Build guides: three strong setups
- Mobile and touch play guide
- Patch notes
- Frequently asked questions