How to make Flappy Bird in Unity (Complete Tutorial) 🐤💨

  Рет қаралды 240,108

Zigurous

Zigurous

Күн бұрын

Learn to make the mobile arcade game Flappy Bird in Unity. Flappy Bird is a mobile game developed by Vietnamese video game artist and programmer Dong Nguyen. The game is an infinite side-scroller where the player controls a bird, attempting to fly between columns of green pipes without hitting them.
0:00 - Intro
0:30 - Project Creation
1:25 - Importing Sprites
3:07 - Scene Setup
6:32 - Input & Movement
12:56 - Sprite Animation
17:12 - Background Parallax
26:49 - Pipes: Prefab
31:06 - Pipes: Spawning
36:36 - Pipes: Movement
41:43 - Game State & Scoring
48:13 - UI Design
54:55 - Menu Interactions
1:03:17 - Fixes
1:06:03 - Outro
🖥️ Source code and assets: github.com/zigurous/unity-fla...
👍 Subscribe for more Unity tutorials: kzbin.info?sub...
💬 Join our Discord community: / discord
👑 Become a Patreon supporter: / zigurous
❤️ Support my work: www.paypal.com/donate?hosted_...
⭐ Download my Unity assets: zigurous.com/assets
········································­­·······································­·­····
► Learn more about my work: zigurous.com
► Follow for news and updates: / zigurous
#unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity

Пікірлер: 376
@Zigurous
@Zigurous 2 жыл бұрын
Visit the GitHub page for the most up to date source code: github.com/zigurous/unity-flappy-bird-tutorial View the FAQ for answers to common questions: github.com/zigurous/unity-flappy-bird-tutorial/wiki
@BERRE599
@BERRE599 10 ай бұрын
Hello Adam, I am a new follower, I speak Arabic, and your name is Arabic. Do you speak Arabic?
@mmustahsanraza
@mmustahsanraza 9 ай бұрын
I've done exactly as you did but my score is not adding up colliders are not working and my game is not going over. I'm not colliding with ground and pipes I'm using Unity 2022 can you please help me?
@kiddbrawlic
@kiddbrawlic 4 ай бұрын
So I am using 2022 unity and at the end the click for the button is different. its asking for a target assembly and a method name and i dont know what to do.
@wer...-.....-..-....
@wer...-.....-..-.... 8 күн бұрын
can u give a version of pc
@north3269
@north3269 2 жыл бұрын
I absolutely love your videos! I'm actually new to coding and stuff and I'm outta plans. Your tutorial is so easy and simple to understand while these thing usually hurt my brains. There are only a FEW KZbinrs who can actually explain it simple and stuff and you're included! You're actually too Underrated.
@treroldan8707
@treroldan8707 2 жыл бұрын
This is an amazing tutorial, love your overall vibe! I am brand new to both coding and game creation and this was so easy to follow. I love how you take the time to actually describe what each line of code is doing and why. Definitely going to be subscribing and checking out your other content. Thank you so much, and keep making videos!!
@panaxio_oficial
@panaxio_oficial 7 ай бұрын
Bro I love you so much, starting with Unity was my new year's resolution, and today (almost at the end of the year) I finally stopped blaming myself for not being consistant with the official courses that I was watching, and your videos have reminded me that definitely the best way to learn is by doing and not just watching boring videos from an official course. THANK YOU SO MUCH!!
@Zigurous
@Zigurous 7 ай бұрын
Thank you so much for your support!
@silverglasss6786
@silverglasss6786 Жыл бұрын
Coldn't be more pleased with a tutorial than this! It worked out perfect. The background music created a really good atmosphere as well.
@JamesTolias
@JamesTolias 11 ай бұрын
This tutorial is absolutely incredible! I am a new software engineer with about 1 year of experience and I am getting into Game Development, and this guy uses the best practises, makes a pixel perfect game, and explain everything pretty accurately!
@adityaburadkar9002
@adityaburadkar9002 Жыл бұрын
Thank you! if anyone having problem with scoring as a TMP then add 'using TMPro;' and instead of text use 'public TextMeshProUGUI scoreText;' and that should solve the problem.
@LaurenArmiland-yw9vh
@LaurenArmiland-yw9vh 7 ай бұрын
Thank you!!!!
@seemslegittome7726
@seemslegittome7726 2 жыл бұрын
Such an underrated channel, I love the wole tutorials since he explained what is the use of the codes and really fixed the problems. I hope you gain more subs and views cause you deserved it. Hoping to learn more about your tutorials.
@UchihaAshuke
@UchihaAshuke 2 жыл бұрын
Thank you for all your effort. I have started learning unity again after multiple failed attempts earlier. Love your contents. Keep up the good work.
@soular7159
@soular7159 2 жыл бұрын
This was the first time I've ever worked with c# and the first 2d game I've made with u you it was such a help to have this tutorial. Thank you so much!
@SierraGuerrero
@SierraGuerrero 2 жыл бұрын
Amazing tutorial! Thank you so much for taking the time to create, share, and explain the process.
@DarkMaaastersTubeLoL
@DarkMaaastersTubeLoL 2 жыл бұрын
I don't have any patience usually but man I've watched your tutorial fully. Very nice explained and it went smoothly. Keep it up.
@rfernandez83
@rfernandez83 2 жыл бұрын
Bought me a mac about a month ago to get in the game app biz. This definitely helped learning how things work, because the unity tutorial like John Lemon doesn't feel like it's explaining very well what it all does compared to how you are doing it. Thanks for the video.
@CreativeBeginnings-
@CreativeBeginnings- 2 жыл бұрын
Great video! Your teaching style is excellent and a perfect pace!
@rafaelpatricio8022
@rafaelpatricio8022 8 ай бұрын
This video helped me a lot to produce a project for school and to learn a lot more about “Unity”, which is why you just gained a follower. Thank you very much.
@sreemayeeghosh
@sreemayeeghosh 6 ай бұрын
Extremely well explained steps! All assets and scripts have been carefully cleaned up, organized and rendered bug free👍🏻👏🏻
@yazanjordan3103
@yazanjordan3103 2 жыл бұрын
i liked the video before i watch it because i trust this channel and i just added it to my future project thank you zigurus
@_game_x7847
@_game_x7847 2 жыл бұрын
Awesome Work Sir! I actually needed this!! Thank You :D
@sd003ds
@sd003ds 2 жыл бұрын
Really amazing tutorial. Helped me a lot as I am just starting my game development journey. Thanks a lot for making this!!
@juliangubbels5217
@juliangubbels5217 2 жыл бұрын
Wake up! Zigurous posted!
@JackJack-tl1nm
@JackJack-tl1nm 2 жыл бұрын
Another banger video! As a suggestion for possible future tutorials, I would love to see a tower defense style game such as bloons td :)
@stanislav_5312
@stanislav_5312 2 жыл бұрын
Thanks for this tutorial! Really easy to get into with your narration.
@absolubouess932
@absolubouess932 4 ай бұрын
My FIRST game ever ! Thank you man , I appreciate it
@abhilashlr9259
@abhilashlr9259 2 жыл бұрын
Great video man, I love your tutorials. Like the other comment said, how about a tower defence next?
@scottbarba9247
@scottbarba9247 5 ай бұрын
These are great!! I'm teaching game design using Unity in AP Computer Science Principles at the high school level and your use of functions, calls, loops and arrays is perfect for meeting AP's criteria!!!
@mrworldwide9172
@mrworldwide9172 2 жыл бұрын
Thanks man i really appreciate what you do I want to be a game developer and your tutorials are extremely helpful
@joshfatal
@joshfatal 5 ай бұрын
Thank you so much for making this channel. I'm a nobody hobbyist game developer still trying to learn as much as I can and I felt like there was no hope to getting into this field (no degree, no experience.) Aside from learning a lot from your tutorials (which are very well produced and paced) I'm planning to make most, if not all of the games you've taught on here, and add my own modifications so I can some day put to gather a portfolio website. For Flappy Bird, so far I've added a feature that puts a translucent copy of the next set of pipes on the right side of the screen shortly before they pop into view. I have the game set in 9:16 aspect ratio to mimic a phone, so this feature I feel makes the game a little bit less frustrating (not really, it's still Flappy Bird.) It's a little buggy but it actually works and I'm proud of it. Thank you again for doing this, keep on creating!
@Liforus1
@Liforus1 2 жыл бұрын
Oh wow. I did Flappy Bird yesterday all by myself as a first game without tutorials. But your tutorial will be watched from start to end as always 👍
@itsfazzeliv259
@itsfazzeliv259 2 жыл бұрын
Thank you, the best tutorial I have found!
@waldojams
@waldojams 2 жыл бұрын
Awesome tutorial!
@ThePraQNome
@ThePraQNome 5 ай бұрын
Great tutorial, working 100% without any bugs in 2024. Thank you.
@rsr9377
@rsr9377 Жыл бұрын
Thank you so much for this Zigurous! I just made my first game in Unity and it's great because I'm also a software developer. The tutorial was easy and well explained. Thank you!
@burak7861
@burak7861 2 жыл бұрын
This is an amazing tutorial. Thank you so much !
@paolo-hy3iy
@paolo-hy3iy 2 жыл бұрын
This is amazing!! It's incredible that you have only 2k subs....
@nicklansbury3166
@nicklansbury3166 2 жыл бұрын
Greetings from the UK. Thanks for this great lesson. You mentioned in the lesson we could suggest further tutorials. I'd love to see a version of Atari Missile Command using Unity. Keep up the great work.
@safakaya2904
@safakaya2904 Жыл бұрын
That was amazing tutorial !
@JoinGaming-ze4vm
@JoinGaming-ze4vm 9 ай бұрын
Regarding the moving background tutorial in this video... this one actually worked compared to many others of there!! Thank you for this video!
@vanshrana9508
@vanshrana9508 Жыл бұрын
Thanks a lot for the tutorial man Awesome one :)
@lucamaltempo723
@lucamaltempo723 2 жыл бұрын
thanks man, this tutorial is amazing
@Brian-nu9rp
@Brian-nu9rp Жыл бұрын
This guy is amazing he tought amlost every detail in this game. Thanks dude!
@nemanjasimovic37
@nemanjasimovic37 2 жыл бұрын
Thank you very much for this tutorial! Keep up the good work! Cheers!
@hasnatasim1609
@hasnatasim1609 Жыл бұрын
Amazing! Well explained! Thankyouuu!
@clericbezoe1644
@clericbezoe1644 9 ай бұрын
I've done it! completely finished the tutorial without a hitch! definitely going to try other tutorial!
@Kmir-uh2wk
@Kmir-uh2wk 11 күн бұрын
This is an amazing tutorial. Thank you so much. Keep it up.
@ryuu6531
@ryuu6531 Жыл бұрын
This is an amazing tutorial, learnt a lot thanks mate!!! : )
@fahrezyman
@fahrezyman Жыл бұрын
Brother, thank you for the tutorial. You explain the Code really clear. I appreciate
@wavesarered9436
@wavesarered9436 2 жыл бұрын
The most comprehensive and easy to follow tutorial with good explanations. Awsome work ! I just did the game and I am so happy :D Only complaint i have, please lower the background music volume.
@revox3046
@revox3046 Жыл бұрын
Well, gonna leave my sub here. Great job I was totally beginner and you did exactly what I was looking for, some programming with explaination for everything :)
@rocketsama
@rocketsama Жыл бұрын
Thanks for this tutorial. Great Job!
@_abrahamxxv_962
@_abrahamxxv_962 2 жыл бұрын
Most helpful person on the internet
@telocim
@telocim 9 ай бұрын
Excellent tutorial, thank you!
@adamdanas
@adamdanas 2 жыл бұрын
Just WOW. Thank you 😊
@yecebeci5316
@yecebeci5316 Жыл бұрын
Thanks man. That was really for begginners! Do more videos about like this game
@Mackenzzz26
@Mackenzzz26 29 күн бұрын
Thank you for saving my project
@munner7
@munner7 Жыл бұрын
Great work bro
@teamshuriken5231
@teamshuriken5231 2 жыл бұрын
Thank you, very newbie friendly!
@thaitrinh9642
@thaitrinh9642 Ай бұрын
This guys is insane. thanks for the tutorial
@drradium1616
@drradium1616 2 жыл бұрын
Best tutorials ever. 😀I was thinking maybe centipede next?
@cx717cx717
@cx717cx717 6 ай бұрын
Great lesson. Thank you!
@imem007
@imem007 4 ай бұрын
bro i used this tutor , i just 0% on unity skill, try ur tutorial and finally did it and have a priceless emotion bout this project. best regard to u sir, even it take 7 hour nonstop for me to make it hahaha.
@psycho8842
@psycho8842 3 ай бұрын
Best tutorial ever❤
@justsapiens8627
@justsapiens8627 4 ай бұрын
Yeap, I completed and now working perfectly thanks... It was so enjoyable...
@jeffersonguimaraes5500
@jeffersonguimaraes5500 2 жыл бұрын
your videos are amazing and help me a lot.Thank you from Brazil !!
@davidvieira16
@davidvieira16 3 ай бұрын
great tutorial!
@DyHeart-Studio
@DyHeart-Studio 2 ай бұрын
Thanks bro Video is really great I really enjoy your video
@david04x
@david04x 2 жыл бұрын
Amazing video. Thank you so much!!!
@ayushsidam289
@ayushsidam289 2 жыл бұрын
Thanks sir for this awesome tutorial. I'm a beginner in game development and this tutorial is really helpful.😇🙏🏻
@jawa_random
@jawa_random Жыл бұрын
Thanks a lot man, you really help me dive into the unity faster than I thought. Gonna dive more into your video soon
@mek_channn9421
@mek_channn9421 Ай бұрын
Thank you adam. You are best
@about15hobos
@about15hobos Жыл бұрын
Great video!!
@MrJeepty
@MrJeepty Жыл бұрын
This was great. Nice and simple code. I followed the tutorial using Unity 2021.3.16 without any issues.
@Opuntiaindica
@Opuntiaindica 28 күн бұрын
Im about halfway through all your tutorials, leaving mario for last. You've really helped me fully understand some concepts, I can only hope you upload a new vid before I'm done with Mario, either way Thank you so much, and I completely understand if you needed a break from youtube, once again thank you.
@spacecow456ify
@spacecow456ify Жыл бұрын
Amazing tutorial. I can make my first game thanks to you. I did some update by added background music and bird rotation when falling.
@Aerionix1
@Aerionix1 24 күн бұрын
Doubt anyones looking these days but curious why we use time.deltatime for the change to direction using the gravity var and also for updating our position, but not when we change direction earlier with our strength var. Thanks for these man, i dunno if you're still doing this stuff but looks like it helped a lot of folks.
@user-dp5ku4ql1d
@user-dp5ku4ql1d Жыл бұрын
omg i love it, thank u!!!!
@3ddeseigner527
@3ddeseigner527 3 ай бұрын
great work thanks
@amaripop902
@amaripop902 4 ай бұрын
nice tutorial still works
11 ай бұрын
Thanks for this very helpful :)
@hmstark
@hmstark Жыл бұрын
thanks a lot man super explanation.♥
@naughtyboy1974
@naughtyboy1974 9 ай бұрын
Thanks for video ,this help me so much
@waynenguyen7365
@waynenguyen7365 10 ай бұрын
thanks for the Tutorial
@iteacherarmy
@iteacherarmy Жыл бұрын
You are the God for students like us💕
@LeeTaylorTV
@LeeTaylorTV Жыл бұрын
Great tutorial. Never made a game in any engine and been wanting to learn for a while and came across your, I'm glad I found this, easy to follow and understand, really did learn a lot, took me around 4 hours as making my own sprites and background. Would love to know how to add add the sound when you click/tap the screen for the bird 🤔
@Blankname17391
@Blankname17391 Жыл бұрын
THANKYOU THIS IS SUCH A GREAT VIDEO YOU EARNED A SUB!!!
@toovuil
@toovuil 2 жыл бұрын
Great! Thanks so much for this. Would love to see you do Angry Birds.
@uniKorn8
@uniKorn8 2 жыл бұрын
👍
@MatMadikPCA
@MatMadikPCA Жыл бұрын
MASTER PIECE!!!
@huzaifaarsalan
@huzaifaarsalan 21 күн бұрын
thanks a lot for this.
@gaychin8654
@gaychin8654 Жыл бұрын
Thank you so much!
@sherminshams9647
@sherminshams9647 2 жыл бұрын
I have made frogger with your tutorial. Continue you tutorial, they are awesome 👌 👏 👍 😍 💖.
@lucasbats
@lucasbats 2 ай бұрын
I did it, it's working!
@adihpocketmailrocket
@adihpocketmailrocket Жыл бұрын
thank you , your tutorial help me a lot ..
@Ali-xt2ex
@Ali-xt2ex 2 жыл бұрын
Thank you so much...i didn't really understand the coding part much because i don't have experience but still tried and it eorked
@stempycat4s
@stempycat4s Жыл бұрын
Amazing!
@alsowow
@alsowow 3 күн бұрын
A fun tip for people who just finished the tutorial is to add some more things to your game with the things you learned throughout the tutorial! like a simple highscore counter for example
@riasaraiya1930
@riasaraiya1930 2 жыл бұрын
Thank you, kind sir
@Tahir-Guliyev
@Tahir-Guliyev Жыл бұрын
Thank you!
@user-ic1wi4do9z
@user-ic1wi4do9z 4 ай бұрын
Did Finish it Today! With the Github Element for the New Text I needed to Create a TextProMesh Font to use it. Also I somehow overlooked the Part where you did add 2DBoxCollider to the Player and was endlessly long struggling to find out why my bird aint colliding. Me as a Newbie didn't understand that RigidBody2D not count as a Collider.. :D Beside the New Text I also needed to declare the text differently in game manager but beside that The Video still works in 2024! Loved it as Entry. Now im Going through Unity Learn and come C# Free Course to learn the Basics. Flappy Bird here rly helped me to understand some basic parts , even tho I did almost copy paste a lot. Thanks for this!
@justanameyy
@justanameyy 2 жыл бұрын
I can't thank you enough!
@AliDouiyek
@AliDouiyek 2 жыл бұрын
Thanks , Your tutorial is awesome ! There is one more minor fix to do : the ground speed and pipe speed are slightly different, so they need to be adjusted.
@Zigurous
@Zigurous 2 жыл бұрын
Thanks! Feel free to adjust the speeds to your preference.
@seddickhachanni1302
@seddickhachanni1302 2 жыл бұрын
Amazing Thank U
Animation vs. Geometry
9:17
Alan Becker
Рет қаралды 622 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 3,9 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 59 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
7 DEVS Make a GAME without COMMUNICATING! (centipede edition)
17:16
Blackthornprod
Рет қаралды 1 МЛН
How I designed Fruit Ninja
22:58
Luke Muscat
Рет қаралды 6 МЛН
I Tried Making a Game Better Than ChatGPT
15:25
Rye
Рет қаралды 1,7 МЛН
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 436 М.
The Unity Tutorial For Complete Beginners
46:39
Game Maker's Toolkit
Рет қаралды 3,2 МЛН
Winning My First Ever Game Jam? | Godot Devlog
10:25
mz_eth
Рет қаралды 279 М.
6 DEVS Make a GAME without COMMUNICATING! (HARDCORE edition)
20:12
Blackthornprod
Рет қаралды 1,6 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 661 М.
Scratch - Most Realistic Flappy Bird Tutorial #1
10:16
ZonxScratch
Рет қаралды 18 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 59 МЛН