Role
Level Generation
Technology Used
Phaser
Javascript
Team Size
4 people
Cyber Sk8r is a game about a hoverboarder riding through a city and performing flips to earn points. While working on Cyber Sk8r it was my responsibility to create the level that the player would be riding across. Since the level needed to be infinite I decided to randomly generate the level in front of the player as they move forward. I created individual spawn points on the ground for potential obstacles to spawn and then weighted those spawns based on how common we wanted certain obstacles and pickups to spawn. I also ensured that obstacles would stop spawning once the player reached a certain height so they could do a jump from the top of the map to the bottom and earn lots of points. I also refined these spawn weights and the maximum map height through feedback from several playtests.