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

КОМЕНТАРІ • 24

  • @VlkSamotar
    @VlkSamotar Рік тому +2

    It's a nice exercise for programmers, thanks.👍

    • @mooict
      @mooict  Рік тому

      You are welcome!

  • @cabdirizaqaxmed8786
    @cabdirizaqaxmed8786 Рік тому +2

    Worked for me thank you so much

  • @sakkarinsawad548
    @sakkarinsawad548 2 роки тому +2

    The best but I need more ti to make 100% best soft hehehehe thanks for the video bro.

  • @hasanmahmudkhan966
    @hasanmahmudkhan966 2 роки тому +2

    excellent. From Bangladesh

    • @mooict
      @mooict  2 роки тому

      Welcome to the channel Hasan. Glad you enjoyed the project

  • @OnderUlasGungor
    @OnderUlasGungor 2 роки тому +1

    What can be done to make it rotate in the middle when space is pressed?

  • @Lhsbysareena
    @Lhsbysareena 23 дні тому

    Can i do it in webform

  • @alifibnetouheed3960
    @alifibnetouheed3960 7 місяців тому

    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

  • @arsalanasif5105
    @arsalanasif5105 Рік тому

    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.

  • @MarisolRamos-1971
    @MarisolRamos-1971 2 роки тому

    Gracias 😊

  • @youniverseapparel539
    @youniverseapparel539 2 роки тому

    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

  • @houssamkr7587
    @houssamkr7587 2 роки тому

    "Here we have the P atterns. Now these P atterns are..."

  • @banghudihitam
    @banghudihitam 7 місяців тому

    how to add music?

  • @shero_u
    @shero_u 2 роки тому

    It’s cool

  • @serratv5567
    @serratv5567 Рік тому

    Hi, Why lblScore.Parent = pictureBox1; is not recognised in my Program i did the same thing

    • @mooict
      @mooict  Рік тому

      Did you name the label lblScore?

    • @serratv5567
      @serratv5567 Рік тому

      @@mooict Yes I did, In the desing part.

    • @mooict
      @mooict  Рік тому

      @@serratv5567 is the top picturebox called picturebox1 in your project.

    • @serratv5567
      @serratv5567 Рік тому

      @@mooict yes, but idk why intellisense dont recognised

  • @tayaro2453
    @tayaro2453 2 роки тому

    nice game

  • @abhay8855
    @abhay8855 2 роки тому

    Can this game be made compatible on mobile?

    • @mooict
      @mooict  2 роки тому +1

      Yes it can. You’ll have to use Xamarin or Maui to make it mobile compatible

  • @guba7714
    @guba7714 2 роки тому

    Complicated