Shooter Game in C# Visual Studio using .Net Framework By Rohit Programming Zone

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

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

    thanks i maked a gdi game engine using the gameloop and i maked exactly this game thnx for the idea

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

    @Rohit Programming Zone Thank you for this helpful tutorial. I do have a question cause I want to add some sound effects for the bullets and explosion. How can I add sound effects in it?

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

    Thank you for this tutorial it really helped me a lot. I do have a question for you. I wanted to make the game more challenging by having the enemies shoot back at me. I made a separate function and put all of the code from the previous tutorial in it (Makes enemies shoot at me). Nothing happens, the enemies bullets appear infront but don't move. I also tried to put that code in movebullet and nothing happens.

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

      Programming is all about practice.
      You can create a collision function for enemies bullet & for the player.
      I think you are missing collision .or .you can check my strategy game may it's help....

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

      @@rohitprogrammer You're right it was something simple I was missing. I was making the enemies bullet move at the same speed as the ship. So it wasn't moving away from the enemy. Thank you again for everything and please keep up the good work of making more and more tutorials. I am a fan.

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

      @@tirolocomcleod try this...
      Include this function and change the names
      public void Enemy_bullet()
      {
      //your enemy bullet name //
      if (bullet_2.Top > 500)
      { // you enemy name here //
      bullet_1.Top = enemy_1.Top;
      bullet_1.Left = enemy_1.Left + 20;
      }
      bullet_1.Top += 7; //your bullet name //
      //your bullet name //
      if (b_3.Top > 500)
      { //your enemy name //
      bullet_2.Top = enemy_2.Top;
      bullet_2.Left = enem_2.Left + 20;
      }
      bullet_2.Top += 8; //your bullet name //

      }
      Call this function inside the timer event..
      Enemy_bullet();

  • @Affectus113
    @Affectus113 9 หลายเดือนก่อน +1

    Когда пуля попадает в enemy или alien, то они появляются в том же месте, а не в новой локации.

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

    Thank you for this tutorial; its awesome! im making an abreviation of this game where you literally just have to dodge the enemies but i want to make it so that you earn points by surviving. Firstly, what edits would i have to make, and secondly, i want the game to become more harder by making the enemies come down the screen quicker after, for example, 20 points. Sorry and thank you!

  • @MrRubio-rh3cn
    @MrRubio-rh3cn 11 หลายเดือนก่อน

    Hello please can you help me when i programmed exactly according to you the keys at the end not work the player doesn't move please help

    • @rohitprogrammer
      @rohitprogrammer  11 หลายเดือนก่อน

      Go through each and every step you will get your answer..👍

  • @dinithisathsarani5811
    @dinithisathsarani5811 6 หลายเดือนก่อน

    Sir please new video ❤❤❤

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

    the bullet.image = properties.resources.bullet_img is having an error can you please help us because its not showing bullet

    • @tomekrakocinskk6063
      @tomekrakocinskk6063 8 หลายเดือนก่อน

      u need to used file named bullet.img in the project :)

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

    Hello, where can I take the images for the game from ? Thank you

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

      There is link in the discription ..if u r not able to download then you can download from here..drive.google.com/file/d/18IT9iLjl2QnOCW2LgxMulbNZjqn25vmJ/view?usp=sharing

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

      @@rohitprogrammer Yes, I was not able to open the link, thank you a lot!!

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

      @@rohitprogrammer I can't download the image

  • @defneiskt7731
    @defneiskt7731 หลายเดือนก่อน

    Hello, where can I take the images for the game from ? Thank you. pleaseee🥹🥹

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

    Cho em xin soure code dc k ạ