This is a lightweight 2D platformer engine developed in C#, using the built-in GDI+ graphics API within Winforms.
The goal was to animate sprites and handle basic platforming mechanics (movement, collision, dynamic objects).
- Smooth sprite animations for walking, jumping, and attacking
- Precise collision detection with platforms and screen boundaries
- Interactive objects (e.g. bushes can be placed, hit, and removed)
- In-game platform builder: create, move, and delete platforms at runtime
- Toggleable rain effect via the build menu
- Modular architecture for easy extension and maintenance
- Clone the repository
- Open the solution in Visual Studio 2022
- Build and run the project
Go to the Releases section to download a ZIP archive containing the compiled executables (compatible with x64 systems running Windows 7 or later).
- Sprite movement and animation consistency
- Platform collision from above and below
- Screen boundary enforcement
- Runtime object management (platforms and interactive elements)
- Level serialization and deserialization integrity
- (in French): https://sources-codes.commentcamarche.net/forum/affich-878141-comprend-pas-les-sprites
- Three basic steps for using DrawImage: https://docs.microsoft.com/en-us/dotnet/framework/winforms/advanced/how-to-render-images-with-gdi
Only royalty-free resources were used in this project.