Skip to content

Recreation of the 2007 game Peggle in made using the modern Visual Studio engine. Features a fully functional 2D-phyiscs engine made from scratch, a homescreen, a demo level, and a leaderboard displayed using txt files.

Notifications You must be signed in to change notification settings

LogaGill489/Peggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peggle


Peggle is a 2D game developed in C# using Visual Studio 2022 that was inspired by the original 2007 game of the same title. The game features a custom, 2D phyiscs engine created entirely without the use of any external libraries, handling motion, dynamic collisions, and gravity.

The collision algorithm was created using derivative logic, running continuously within the game loop. I also made use of object-oriented programming for the pegs, the ball, and keeping track of the score. This was by far the most technically challenging game I've worked on, as it required recreating physical forces in a simplified, 2D environment. Despite the difficulty, it pushed me to consider how these forces could be realistically approximated, and I'm quite happy with the result.

Physics engine included in the ball.cs class. Main game screen runs the game using a few timers. Enjoy!

About

Recreation of the 2007 game Peggle in made using the modern Visual Studio engine. Features a fully functional 2D-phyiscs engine made from scratch, a homescreen, a demo level, and a leaderboard displayed using txt files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages