Every run of WRECK happens on a mountain nobody has seen before, including us. The trail isn't designed level by level; the game builds it a little way ahead of you as you roll. This note explains how that works and why it's done this way.
Built in sections
The trail is made of sections laid end to end. Each section is one kind of terrain with its own rules: a steep straight, a rolling stretch, a wide flat, a narrow ridge, a set of stairs, a blind crest you can't see over, a turn, a split around a crevasse, a diagonal where the trail slides across the slope, a tightrope bridge, or a gap you have to jump.
When the game needs more trail ahead of you, it picks the next section. The choice depends on how far you've gone: early on, it favours gentle sections with room to learn; further down, the harder ones become more common and appear closer together.
Fair, not just random
Pure randomness would be unfair. It could put a jump right after a blind crest, or three boulders in a narrow ridge. So every section comes with rules about what can sit next to it and what can be placed on it. A jump always has a straight run-up. Obstacles aren't placed where the trail is too narrow to get around them. Snow piles are laid in trails you can follow, so that staying alive is always possible if you play well.
That's the line we try to walk: the mountain should surprise you, but a crash should always feel like your mistake, not the game's.
Things on the trail
Once a section's shape is decided, the game places what's on it: snow piles, pine trees, ice blocks, boulders and holes. How many, and how big, depends on distance. The first boulders appear a little after 250 metres and become steadily more frequent. Crumbling bridges start at around 220 metres. Frozen lakes appear in the valley beside the trail every few hundred metres.
The world around the trail
The trail runs through a valley that's also built as you go. The snow on either side is shaped with long rolling hills, bowls and gullies so it doesn't look like a flat sheet. Further out are the mountains, placed on both sides of the valley at their own spacing and checked so they never block your view of the trail ahead. Far away, the snow fades gently into the sky so there's no hard edge to the world.
Why build it this way
- Every run is new. You can't memorise the mountain, so you have to read it.
- It never ends. There's no last level, so the only limit on a run is you.
- It stays small. Because the mountain is built as you go, the game doesn't need to store a huge world, which keeps it quick to download and light on your phone.
Want to see it in action? Play in your browser and pay attention to how the trail changes as you get further down.