C# Projects - Create a Gravity Run Game with Windows Form in Visual Studio
Вставка
- Опубліковано 6 лют 2025
- Get Source Code and Images- www.mooict.com...
In this tutorial we will make a fun gravity run game using windows form in Visual studio. This game will be made using the windows form .net and we will use all of the default tools available in visual studio. We will not be using any games engine or libraries, so you can simply load up visual studio and follow along with this tutorial. In this tutorial we will show you how to use windows form components creatively to create a simple game start to finish. In this game you can jump using the space bar, with each jump player will switch gravity and jump from bottom platform to the top platform. We are using animated GIF images for the player, there is two GIF image one for each platform landing.
To make the game more challenging we’ve added two obstacles that gets positioned randomly in the game and will move towards the player, this will make the play jump between the two platforms and last as long as possible in the game. The game will keep score and a high score. End of the game you will be able to see how much you score and if it gets saved to the high score value.
Hope you enjoy this tutorial. Thank you for watching.
See you on the next tutorial. MOO ICT
It's a nice exercise for programmers, thanks.👍
You are welcome!
Worked for me thank you so much
The best but I need more ti to make 100% best soft hehehehe thanks for the video bro.
excellent. From Bangladesh
Welcome to the channel Hasan. Glad you enjoyed the project
What can be done to make it rotate in the middle when space is pressed?
Can i do it in webform
Hello in my code the player is not landing in my down platform. It kept falling down but the player landed on the upside platform. Can you solve this problem
Nice game bro but I need to stop the player running when it hit the obstacle Can you please provide the image for it thanks.
Gracias 😊
is there a setting Called Program*, its default is set to *Agressive TEwNice tutorialch is making that sNice tutorialtty static soft, change that one, once to
"Here we have the P atterns. Now these P atterns are..."
how to add music?
It’s cool
Hi, Why lblScore.Parent = pictureBox1; is not recognised in my Program i did the same thing
Did you name the label lblScore?
@@mooict Yes I did, In the desing part.
@@serratv5567 is the top picturebox called picturebox1 in your project.
@@mooict yes, but idk why intellisense dont recognised
nice game
Can this game be made compatible on mobile?
Yes it can. You’ll have to use Xamarin or Maui to make it mobile compatible
Complicated