Skip to content

laurentbarraud/AnimSprites

Repository files navigation

2D Platformer Prototype using WinForms and GDI+

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).

GitHub release downloads

screenshot of the main form

Features

  • 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

How to Run

  1. Clone the repository
  2. Open the solution in Visual Studio 2022
  3. Build and run the project

Download

Go to the Releases section to download a ZIP archive containing the compiled executables (compatible with x64 systems running Windows 7 or later).

Unit Tests

  • 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

References:

Only royalty-free resources were used in this project.

Languages