C# Projects - Create a Gravity Run Game with Windows Form in Visual Studio

Поделиться
HTML-код
  • Опубликовано: 10 сен 2022
  • Get Source Code and Images- www.mooict.com/c-tutorial-cre...
    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

Комментарии • 21

  • @cabdirizaqaxmed8786
    @cabdirizaqaxmed8786 Год назад +2

    Worked for me thank you so much

  • @VlkSamotar
    @VlkSamotar 7 месяцев назад +2

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

    • @mooict
      @mooict  7 месяцев назад

      You are welcome!

  • @MarisolRamos-1971
    @MarisolRamos-1971 Год назад

    Gracias 😊

  • @OnderUlasGungor
    @OnderUlasGungor Год назад +1

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

  • @sakkarinsawad548
    @sakkarinsawad548 Год назад +2

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

  • @hasanmahmudkhan966
    @hasanmahmudkhan966 Год назад +2

    excellent. From Bangladesh

    • @mooict
      @mooict  Год назад

      Welcome to the channel Hasan. Glad you enjoyed the project

  • @SRMUFA07
    @SRMUFA07 Год назад

    It’s cool

  • @youniverseapparel539
    @youniverseapparel539 Год назад

    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

  • @tayaro2453
    @tayaro2453 Год назад

    nice game

  • @houssamkr7587
    @houssamkr7587 Год назад

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

  • @arsalanasif5105
    @arsalanasif5105 5 месяцев назад

    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.

  • @abhay8855
    @abhay8855 Год назад

    Can this game be made compatible on mobile?

    • @mooict
      @mooict  Год назад +1

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

  • @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

  • @guba7714
    @guba7714 Год назад

    Complicated