A little snowboarder boards down a mountain, weaving through trees.

Snowboarding prototype

Jun 2017

Overview

A little prototype for a chill downhill snowboarding game. The player can steer left/right and jump. Nothing else, just an infinite randomly-generated mountain slope.

Development

The snowboard physics was quite fun to get right. All it does is apply extra friction perpendicular to the direction of movement, but a lot of tweaking and finesse went into making it feel right. There's a lot of subtle mechanics that it just didn't feel correct without (e.g. how fast you're able to turn based on how much speed you have).

But my favorite part was the line renderer that's used to draw the snowboard's path through the snow. I tried a bunch of different techniques, but settled on five individual line renderers placed at different parts of the board. This isn't always perfect—sometimes it creates gaps where you can see one or two pixels of snow peeking through—but I found the imperfection made it feel more natural.