Skip to content

C# 2D platformer in WinForms using GDI+ with custom physics and sprite rendering.

Notifications You must be signed in to change notification settings

laurentbarraud/AnimSprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnimSprites

This is the beginning of a lightweight 2D platformer developed in C#, using the built-in GDI+ graphics API within Winforms.

Release GitHub release downloads

screenshot of the platformer

The goal was to implement a robust sprite animation system, integrated with platforming mechanics such as movement, collision, and dynamic object handling.

Features

  • 🎮 Smooth sprite animations for walking, jumping, and attacking
  • 🎯 Precise collision detection with platforms and screen boundaries
  • 🛠️ In-game platform builder: create, move, and delete platforms or bushes at runtime
  • 🌿 Interactive objects — bushes can be placed and struck with a lightning effect
  • 🌧️ Toggleable rain effect via the build menu
  • 🧩 Modular architecture for easy extension and maintenance

How to run

  1. Clone the repository with Git
  2. Open the '.sln' file in Visual Studio 2022
  3. Build the project with Ctrl+B
  4. Run it

Download

Go to the Releases section to download a ZIP archive containing the compiled executable (for Windows 7 and above, x64-based).

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.

If you find this project useful or inspiring, please consider starring the repository — it's always appreciated !