Besides using Winforms to create business or statistical applications, we can also create a game with it. This is a project for entertainment as well as to help me better understand C# Winform.
All assets used in this project do not belong to me but it's free so feel free to use this project even commercially. I would really appreciate it if you credited me 😃 .
https://github.com/VaderNgo/2D-Pixel-Shooter-Game-In-C-Sharp-Winform-With-SQL-Database.git
Here is how to install it
NOTE: You need to install this tool or something else to be able to execute the SQL file
Excute this SQL File
Open Solution -> Tools -> NuGet Package Managger -> Manage Nuget Packages for Solution -> Find System.Data.SqlClient 4.8.5 and install it.
- Use arrow key to control player.
- "A" to attack (close range or long range depend on your current weapon).
- "U" to open Weapon Upgrade Window.
- "I" to open Inventory Window.
- "S" to open Shop Window.
- Easy
- Medium
- Hard
- Zombie - Close range attack, no special ability.
- Wizard Skeleton - Long range attack, can keep its distance to attack the player
If you lose but you want to play again that game to finish it. Go to LoadPlay in main menu, connect your database , find your gameplay you want, select it and play again.
Distributed under the MIT License. See LICENSE.txt
for more information.