C# Tutorial - Make a flappy bird game in windows form

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

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

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

    Download this project github.com/mooict/C-Flappy-Bird-Game-Windows-Form

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

      Is GUI involved in this code?

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

      Great vid!
      Btw, may I ask what switches are you using in your keyboard?
      I've got a mix of BOX Navy and BOX Jade in my 'board but yours sound like you're getting more tactile feedback.
      I was going to switch mine out for BOX Royals but they're five pin and the GMMK only supports three pin switches.
      You can scalpel off the extra two pins but it's not a perfect solution by any means.

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

      After the game is over I want to assign a key so that the game restarts whenever that key is pressed. But I don't know how to do that. Pls help!!

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

      @@aneeshkumar2613 You can put the game function in a "while" statement (basically a loop) and end the game with a blank console.readline(); so that the user has to press enter at the end of every game which would restart the loop.

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

      Look! We have almost the same amount of subscribers!

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

    At the beginning I thought he said " we are going to create a f***ing good game" im like. Da*n like the confidence lol

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

      no swearing bro, but i like the joke its funny lol

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

      :)))))

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

      If you want to develop a Speech Recognition, view these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

      hahaha

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

      @@mustafaaljanabi4818 No swearing?
      Fuck that shit balls!
      Swearing is cunt fucking awesome!!

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

    You are the real programmer, I appreciate your hardworking and as well as your logic this game is impossible without this, keep going sir.

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

      Thank you Arham, that's very kind.

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

    Bro the typing and clicking of your mouse and keyboard is so satisfying to hear for some reason

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

      lol thanks

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

    Just A Newbie Person with not know anything about code. Thank You So Much to you Mr. MOO. It is easy to understand the code, logic, KEEP GOING MR. MOO !!!!!!!!!!!

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

      Mr Moo lol 🤣

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

    imagine this guy did it in 20 minutes while my prof trys to explain it in 3 months....

    • @FromRootsToRadicals_INTP
      @FromRootsToRadicals_INTP 11 หลายเดือนก่อน +1

      Lol yep. I taught myself starting at 9. Born in 85. I took one semester of college was like nope. Id rather buy the books and read em. Senior lead full stack now. And growing…. 😉

    • @sal-so2rw
      @sal-so2rw 10 หลายเดือนก่อน

      ​Wow that's amazing any advice I'm in my second year of college software engineering student

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

    You have gave me positive vibes bro..as a beginner in this field i am so confident after watching your project..

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

    I was trying to make my own game and i dont know how to do it and now i know it and you help me so much. Thank you

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

    This is what I needed,. Thanks man, you have given me the the seeds to sew my own game!

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

      and did you see it?

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

      If you want to develop a Speech Recognition, view these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

    Great tutorial. And it leaves plenty to play around with and add to. Like instead of having an end game for flying too high, I just changed it to if the box gets above a height, it just resets to that same height.
    Some other things for others to try are to change the pipe positions (a random range for the pipes to be set. Or if you're like me and have the pipes like the original game, set one's height then the other a set distance gap), make the bird rotate while rising or falling, changing the button press to have a gradual change in gravity instead of an instant shift and a constant press no longer works, and setting up a game start screen along with a button on gameover to return to that or play again immediately.

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

      Hi, these are great suggestions for this game. Thank you 😊

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

    Thank you so much!! This is super awesome, easy to understand - and not useless (like some other tutorials) It was genuinely fun to code!!
    Can't thank you enough!

  • @nicholasjackson8709
    @nicholasjackson8709 4 ปีที่แล้ว +8

    I wondered why i was learning about windows forms this semester....THIS is why!

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

    instead of using pipe.Left < -150, you could use Pipe.Right < 0, which means that the offset inside the if statement gives a more user friendly control for how long they are offscreen

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

      Thanks!!

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

    Thank you very much! This is my first C# project and its working great!

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

    I don't understand English very well, I'm a beginner in programming, but I did everything perfectly, the game is excellent, thank you very much for the nice explanation.
    Greetings from the Republic of Srpska. 😊

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

      Greetings. Thank you for the kind comment. I’m glad it worked for you.

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

    Great tutorial. Thanks for giving me a base. I am going to make a advanced game from this, with proper start and end game screen, etc.

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

      Hey do you think I could see your code if you ever got it done?

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

      If you want to develop a Speech Recognition, view these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

    I am really finding it useful and am able to learn C# really well

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

    Hey, I am an old business app programmer, but have been curious about game programming since I was a kid. Back in the 80's, attempted to create space invaders on a TRS-80 Color Computer. It was such a disaster, I never tried game programming again. You, sir have shown me the way. This is an AWESOME first project. Not sure I'd ever think to bind the timer event to move stuff on the screen. Thanks for posting this.

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

      Thanks Brad you are very kind. I'm glad this tutorial helped 😃

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

      You should use a game engiene it is much easier than just c##

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

    you just made it look easy wow, coding should be fun like this. A great tutorial to follow. btw, I just subscribed to ur channel to learn more.

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

      Thank you and welcome aboard 😊

  • @rayscarface5244
    @rayscarface5244 4 ปีที่แล้ว +9

    Thanks man, good for people just getting started A.K.A noobs like me.

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

    Awesome!
    Not very hard to code and easy to understand :)
    I did it from scratch and add features for my project.

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

    The name of my game will be "Crappy Bird"

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

      LMFAO

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

      If you want to develop a Speech Recognition, view these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

      Crappy turd

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

    Thank you sir for teaching basic of making game in windows form

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

    Wow at last a soft tutorial I can follow! you sir are a genius

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

    Wow I learned so much. Thank you for explanation

  • @paci.rossy25
    @paci.rossy25 3 ปีที่แล้ว

    this help me a lot from online class. thank you so much. i learn a lot from this video!

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

    bro thanks so much. dis video is tiless 3 years ltr n still great

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

    Absolutely wonderful! Fun, Cool and easy to follow tutorial! A joy to code! Thanks a million, brother! :)

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

      Glad it helped!

  • @VladChis-gh7bd
    @VladChis-gh7bd หลายเดือนก่อน

    love you man, God bless you

  • @СавелийСпицин
    @СавелийСпицин 2 ปีที่แล้ว +1

    thank for tutorial, you are awesome, keep pushing bro!!!!

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

      Thanks, will do!

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

    Thanks dude i made this Game and its briliant and interesting to learn

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

    Hello, it was great.❤😍
    It is better to add a reset button so that there is no need to close and open the program again👍👌

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

    moo ICT...yu r briliant!!!

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

      Thank you. I'm glad you enjoyed it

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

    Great tutorial! Thanks!!

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

    Thank you so much sir

  • @ee_niko6943
    @ee_niko6943 4 ปีที่แล้ว +13

    Excellent tutorial!!

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

    Thank you for video!

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

      Welcome!

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

    How to make a restart button when you lost?

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

    U R GOD, U SAVED ME

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

    I really want to make game and thanks to this video I can make flappykoala
    I didn't know we can make games with visual studio 😐

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

      Flappy Koala 🐨 sounds amazing. Well done 👍🏽

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

    This was amazing

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

    Great tutorial. Good job!

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

    Very nice tutorial. Thank you.

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

    cool work

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

    Excellent tutorial! Thank you! 💜

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

    Thanks!

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

    Thanks for this valuable tutorial .
    Please make a video for deployment this kind of games on browser or play store .
    You can also reply the steps in the comments

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

      To make this kind of games for web or phones use Unity. It has built in support for webgl- play it on the browser or app can be built to submit to android or iOS.
      Hope this helps

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

    Thanks for this tutorial! Great work! I have never programmed anything like this and I can do it.
    BUT that sniffing is horrible with headphones. Get well.

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

      Hi thanks. I'm glad the tutorial helped. I had a cold when I was recording this one, I'm much better now thanks. The future videos will be better. 😸

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

    Thank You! Keep it up

  • @TL-Edu-r
    @TL-Edu-r 2 ปีที่แล้ว +1

    hello, please make a tutorial on the "play again" button

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

    Windows Forms App was really hard to work with for me. I used the .NET Core version and it kept freezing and I couldn't import the images the same way.
    It worked without problems in .NET Framework. Thank you for the tutorial.

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

      This project uses .net framework not the .net core.

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

      View these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

  • @fk3239
    @fk3239 4 ปีที่แล้ว +6

    Those image stretches hurt my soul

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

    Do u have a installation tutorial video.

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

    What is your visual studio version?

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

    Great tutorial! Thank you

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

      Your welcome glad you liked it

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

      View these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

    Nice Tutorial

  • @kinzasheikh-xn9oe
    @kinzasheikh-xn9oe ปีที่แล้ว

    sir i have an important question how you insert key up key down function i really can't understand

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

    Pls clarify my doubt sir does it have tabla soft????? Pls tell sir

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

    i don't have the toolbox bar with the options there...

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

    Which software did you use to program this?, In the software where i program is not that good..

  • @PraveenKumar-br9ry
    @PraveenKumar-br9ry 3 ปีที่แล้ว +2

    *variabul* lol...BTW Thanks for the tutorial

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

    Thanks!
    The "KeyDown and KeyUp" property is missing.
    I'm using Visual Studio Express 2015. Can You help me, please!

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

    Did, though how would I restart the game once is game over?

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

    Hey man how do i fix the images having the square border when obove the other images? Thanks.

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

      Unfortunately windows form picture. Boxes do not support transparency but you can try the WPF C# version of it where the images don't have that problem. Here is the tutorial th-cam.com/video/rdxylTJJv5c/w-d-xo.html

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

    Is there any chance that program can spawn pipes with random height?

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

    thank you! awesome tutorial, I would suggest explaining everything as you go instead of waiting til the end. But it made sense nonetheless. Again Thank you!

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

      If you want to develop a Speech Recognition, view these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

    In the code part of the game it says that the private void endgame has 0 references how do I fix this

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

    soo cool dude

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

      Thanks Hamza.

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

      @@mooict could tell, how can we count highest score ?

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

    there must be a speedrun music
    It`s good, by the way

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

      View these tutorials: th-cam.com/video/Zk_pAoc4kNI/w-d-xo.html

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

      @@justinlinwoodrossakarythor63 dude stfu stop spamming

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

    You are the best bro. Like)

  • @hs34-t9s
    @hs34-t9s 4 ปีที่แล้ว +1

    Thanks man

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

    what about if you want to restart the game ??

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

    this is amazing. great work. I'm starting now and i have a question... How do you get the images or how do you make the images that you use in your games?

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

      You can download the images for this project from the link in the description.

  • @Unknown-ts4rk
    @Unknown-ts4rk 4 ปีที่แล้ว +2

    Thank you bro

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

      You're welcome.

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

    where to put the endGame()????
    I can't label it

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

    Thank You Very Much Sir, buh How to resize the elements of the form with the form itself? like If you wanna play it in Fullscreen mode, You can maximize it.

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

    Keysisup and keyisdown can't use , how to fix it , can you help me

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

    Excellent video, but can you zoom the TEXT, it is difficult to read

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

    Nice tutorial, but why use windiws firms when there are extent third party cross platform libraries ? Din't get me wrong windows forms is ok but I fail to see thevreason for tying your app to be windiws onky, unkess I'm missing something

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

      It's just for fun really. I like the idea of making something just for the sake of making it and it's great for beginners to get comfortable with programming while learning something new and fun.

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

      @@mooict good, point, tho pointing beginners to windows only ( an iirc winforms us already maintenance only) tech.. well you mske the call. This was just my to cents, i did not mean to detract anything ftom the work you put into it, bs as i msy have gathered englush is not my first language sp a quick comment on yt might mot allwas be as well expressed as I mightbwish

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

    Hola! How would I make a restart button?

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

    Thank you

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

    Keyboard name please. Love the sound

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

      It's my laptop key sound.

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

    Thanks.

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

      Your welcome 🙏

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

      @@mooict thanns

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

    pls i would like to know more about the If( pipedown.left < -50). why -50

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

      -50 is the position on far end of the left side of the screen. We use this line so when the pipe has gone off the screen then it will be replaced to the far right so it can continue to move towards the bird.

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

      @@mooict thanks man

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

    Great 👏

  • @lemillion6206
    @lemillion6206 4 ปีที่แล้ว +10

    Thx for this awesome video mate, really easy to follow and everything worked great for me! Wondering if you could help out with adding a "restart button"

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

      Hi you can make a restart button and make sure its disabled and hidden when the game starts, when the game is over you can run the click event from that button to reset the bird, pipes, score and time back to the their default positions and disable/make the button invisible from inside the event too. You can make the button visible again when the game over function runs. Have a go

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

      a shortcut if the restart button/method is too hard is to change to a second form and then comeback. Maybe you can use the second one like a menu

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

      @@mooict When i press the restart button and then when i start playing and press Space it keeps restarting the game like i am pressing restart button over and over again but i dont .Any help?

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

      @@tr0x219 when you press the restart button disable the button by buttonName.Enabled = false; this way the forms focus won't be on the button when the game restarts. Then when the game ends enable the button again so it can be clicked on.

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

      @@mooict It worked man, thank you!

  • @xaga-g5p
    @xaga-g5p 4 หลายเดือนก่อน

    que teclas utilizas, para jugar porfavor

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

      Space bar only

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

    how can i put transparent background on my pictures? i saved it as png but in vs studio theres a white bg. hop[e anyone can help

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

    QUESTION
    Are the variables Gravity, Pipspeed and score automatically recognised by the game or wouldnt you have to specify what the variables relate to within the game?

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

      How would the game recognize them?
      If you look more carefully, he's using them like here:
      PipeBottom.Left -= PipeSpeed
      Which means that every tick the position is adjusted by the value of PipeSpeed.

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

      @@TheShadowArtCom ....oh yeah

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

    Hello nice video but I didn't understand one thing at 10:03 I saw that you did PipeBottom -= PipeSpeed; same to top pipe but why would you do -= isnt that like substrate nothing by 8 I'm new to coding but nice video it taught me a lot of things

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

      Hi, pipeBottom.Left -= pipeSpeed means it will move the pipes x axis 8 pixels towards left of the screen with each interval of the timer. It updates on the screen so you could see how the pipes move towards the bird and then respawn on the right again. We did the same thing with the pipeTop.Left because they both will need to do the same animation.

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

      ​@@mooictOHH thank you

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

    using this and never lagging

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

    how do i get the properties tab pls help i am new

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

      Right click on the form and select properties it's usually on the bottom right hand corner of the screen

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

    Hi. I don't understand what singnal you typed at 15:41 for represents the pipes. Is a square brackets?

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

      Its the pipe symbol it's right next to the shift key on the keyboard on the backward slash key. It represents OR in side of a if condition

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

      @@mooict thanks!

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

    Why do you not mention calling of timer1.Start() in your implementation (either in Form1_Load or the Constructor) ?

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

    Hello! I dont have windows form?

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

    Good job

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

    umm did everything n everything works fine but when both the pillars render into the game screen screen game plays out at very low fps (my tickrate of the timer is 20 and everything is done fine).. plz tell me how can i fix this laggy mess???

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

    when i start the project it starts the endgame function instantly and i don't know why

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

    So I kinda understand why you can do Control.Left and Control.Top but not Control.Right and Control.Bottom cuz the latter 2 are read only and it has to do with how windows scale and all. But is there a way to work around this if I wanted to say make this game play from right to left instead?

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

      If you want the pipes to move right rather then left you can use += sign in the time when linking to the pipe speed. TopPipe.Left += pipeSpeed; will move the top pipe picture box towards the right of the screen. Then just move the bird picture box to the right it won't need any code since it only moves up and down. Only thing you will need to change is flip the bird picture so it's facing left instead of right.

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

    life saver