A 2D bullet-hell survival game made from scratch in C# using .NET 9.0 and Raylib-cs. Inspired by Vampire Survivors, this game recreates the core loop of auto-attacking, dodging, leveling up, and surviving increasingly intense waves of enemies.
- 🟦 Player movement with WASD
- 🔺 Enemies that chase the player
- 🔫 Auto-firing projectile system
- 💥 Projectile-enemy collision logic
- 🔁 Enemy spawner over time
- 🧪 XP gem drops + pickups
- ❤️ Player health system
- 🧱 Modular architecture for future expansion
Note: Currently using simple geometric shapes instead of textures or sounds for rapid prototyping.
- .NET 9.0 (C#)
- Raylib-cs (C# bindings for Raylib)
- VSCode or any C# editor
- Custom game loop (no engine)
- Install .NET 9 SDK
Run this inside the project folder:
dotnet add package Raylib-cs --version 4.5.0.2dotnet runVampireSurvivorsClone/
├── Program.cs - Entry point
├── Engine/
│ └── Game.cs - Main game loop
├── Entities/
│ ├── Player.cs
│ ├── Enemy.cs
│ ├── Projectile.cs
│ └── XpGem.cs
├── Assets/ (optional)
└── README.md
- Level-up system with random upgrade choices
- Weapon evolution logic
- Game over & restart screen
- Meta progression (gold + unlocks)
- Texture and sound integration
- Stage layouts and patterns
Screenshots will come after visuals are fleshed out — currently using shape-based placeholders.
This is an open educational project — contributions, ideas, and refactors are all welcome!
MIT License — use it freely, credit appreciated.