How to make a Helicopter Shooting Game in Windows form and C#

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 35

  • @mooict
    @mooict  3 ปีที่แล้ว +2

    Download this project github.com/mooict/Helicopter-flying-and-shooting-game-windows-form

  • @FooBarBash
    @FooBarBash ปีที่แล้ว +1

    Fantastic tutorial. Great explanation, very straightforward. My only feedback is that it would be helpful if your font size was larger - it's a bit harder to read.
    Thanks for this!

    • @mooict
      @mooict  ปีที่แล้ว +1

      Hi, Thanks for the feedback. I'll make adjustments in the future tutorials :)

  • @Zonacalcio.official2024
    @Zonacalcio.official2024 3 ปีที่แล้ว +3

    Thank you, man, that was cool! Continue!

  • @icanghana6014
    @icanghana6014 2 ปีที่แล้ว +1

    great works BOSS. thank you for sharing and inspiring me to learn more from you.

  • @tayaro2453
    @tayaro2453 2 ปีที่แล้ว +1

    nice game. I like how you have all the material for download. Great Explanation.

  • @icanghana6477
    @icanghana6477 2 ปีที่แล้ว +1

    KEEP UP THE GOOD WORK. THUMPS UP

  • @gospelforeveryone.8640
    @gospelforeveryone.8640 3 ปีที่แล้ว +2

    Thanks for sharing. It's really good.

  • @potterhead1439
    @potterhead1439 3 ปีที่แล้ว +3

    Thanks it worked (:

  • @mahdimokhtarpour1007
    @mahdimokhtarpour1007 2 ปีที่แล้ว +1

    Tanks bro
    I love you ♥️♥️♥️

  • @arvsnacs422
    @arvsnacs422 4 ปีที่แล้ว +1

    Done it. Thanks.

  • @a2motivationshortvideos207
    @a2motivationshortvideos207 3 ปีที่แล้ว +1

    OP 😘🙏

  • @stuzifer_val6166
    @stuzifer_val6166 2 ปีที่แล้ว

    hey i have studio 2022 and for me it dousnt work to put keycode in keyisup in keyis down it works fine

  • @BlacklightProgramming
    @BlacklightProgramming ปีที่แล้ว

    I know this is old video, but it's still a great practice. I'm stuck at the bullet problem. It doesn't show up. Everything is correct, I checked atleast five times. The thing is that my player is supposed to move left, right and can jump on the platforms. But I don't think that this can cause the problem.

  • @maheshmorem5665
    @maheshmorem5665 3 ปีที่แล้ว +1

    Well I executed it But the pillers are struck frequently..........What should i do?

    • @mooict
      @mooict  3 ปีที่แล้ว

      You can space the pillars out or make them shorter in the game so it's easier to navigate with the helicopter.

  • @PrideMarasha
    @PrideMarasha ปีที่แล้ว

    there is an error on the VOID when coding

  • @muskanjalkhare9571
    @muskanjalkhare9571 3 ปีที่แล้ว +1

    Its cool but bullet is not working and it is not moving smoothly too can you suggest something ??

    • @mooict
      @mooict  3 ปีที่แล้ว

      Check the timer properties and make sure the interval is set to 20.

  • @PumpedUpKicksShoes
    @PumpedUpKicksShoes 3 ปีที่แล้ว +1

    I just get a blue box, then the fail box comes up.

  • @crisbueno3802
    @crisbueno3802 3 ปีที่แล้ว +1

    Can you share the project?

  • @sonyloking960
    @sonyloking960 2 ปีที่แล้ว

    How to add a timer in this game ?

  • @021_nguyenhuuhoang2
    @021_nguyenhuuhoang2 3 ปีที่แล้ว

    Thanks You Bro

  • @muhammadaldinorasendriya8684
    @muhammadaldinorasendriya8684 4 ปีที่แล้ว

    how to make a pause button to pause the game ? Answer my question pls ASAP

    • @mooict
      @mooict  4 ปีที่แล้ว +1

      Hi Muhammed, You can put a button and inside the event say gametimer.stop(); to pause the game and do gametimer.start(); to play again. I didn't need to have a pause option for these type of games because they are single round quick play types of game but you can implement it in ways you want to.

  • @baranthedev
    @baranthedev 2 ปีที่แล้ว

    How can I make ufos come when also we don't shoot them?

    • @mooict
      @mooict  2 ปีที่แล้ว

      Hi in around the end there's a if statement inside the timer event it goes if( ufo.left < -5 || ... Delete that part from ufo.left to the || symbols in the if statement and game should carry on when the player misses the UFO. Hope this helps

  • @epallejohnbaptiste393
    @epallejohnbaptiste393 3 ปีที่แล้ว

    Can you help me with my spacecraft game ? 🙏coding

  • @tirolocomcleod
    @tirolocomcleod 4 ปีที่แล้ว +1

    I have two questions for you. What if I wanted to have more than 1 enemy appear at once? What if I wanted to add a sound every time the player shoots?

    • @mooict
      @mooict  4 ปีที่แล้ว +2

      You can add sound quiet easily, if you want to add sound to the program you will need to get a WAV sound file for the sound effect you need and add it the resources for the project. Inside the C# script you can use the SoundPlayer class- here is a sample you can use - stackoverflow.com/questions/3502311/how-to-play-a-sound-in-c-net. All the best.

    • @tirolocomcleod
      @tirolocomcleod 4 ปีที่แล้ว

      @@mooict Ok that worked perfectly thank you very much. I have another questions for you. How do I add more UFOs on the screen to appear? I wanted to have the green and pink UFO to appear at the same time, so I could have 5 enemies to shoot.

  • @Zagxz
    @Zagxz 3 ปีที่แล้ว

    This doesn’t help at all bruh

    • @emmanuelgiouvanopoulos8273
      @emmanuelgiouvanopoulos8273 2 ปีที่แล้ว

      Please stop being aggressive! Just because you can't understand something doesn't mean you should start freaking out, and writing two comments to ask and complain separately. Calm down ok? =)

  • @Zagxz
    @Zagxz 3 ปีที่แล้ว

    WHAT THE F IS X

    • @maheshmorem5665
      @maheshmorem5665 3 ปีที่แล้ว

      its a local variable and the type of the variable is control . PictureBox , gameTimer,Lable these are the controls and we are accesing these controls by creating instance I.e i