Jetpack Joyride
The Idea
My own remake of Jetpack Joyride, written in C# with Windows Forms. You fly through a scrolling level and dodge lasers. The longer you survive, the higher your score and the harder the game gets.
Controls and Lasers
Hold the spacebar and the jetpack fires, so you rise. Let go and gravity pulls you down. While you fly, the jetpack shoots yellow bullets downward. Three kinds of lasers come in from the right: horizontal ones at random heights, ones that rise from the floor, and diagonal ones that bounce up and down. With every score milestone the lasers get faster, show up more often and come in bigger groups.
Under the Hood
- Game loop with a Windows Forms timer (16 ms per tick, about 60 fps)
- Gravity, thrust and a speed limit with
Math.Clamp() - Detecting collisions with
Rectangle.IntersectsWith() - Creating, moving and removing panels at runtime
- Tying speed, spawn interval and
lasersPerSpawnto the score - Tracking the highscore and offering a restart after game over
Project details
Year2026
TypePersonal Project
PlatformWindows
StatusCompleted