This project is my own take on the classic Jetpack Joyride gameplay concept, built in C# using Windows Forms. The player steers a character through a scrolling level, dodging three different laser types and surviving as long as possible. The longer you last, the higher your score — and the harder the game gets.
Holding the spacebar fires the jetpack, pushing the player upward — releasing lets gravity take over and the character falls. At the same time, the jetpack shoots yellow bullets downward. Three laser types race in from the right: horizontal lasers at random heights, bottom-up lasers that rise from the floor, and diagonal lasers that bounce up and down. With every score milestone, laser speed, spawn rate and the number of simultaneous lasers all increase.
Math.Clamp()
lasersPerSpawn grow with the score