Make Flappy Bird in 5 Minutes (Unity Tutorial)

Ойындар

Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - / sasquatchbgames
Join our Discord Community! - / discord
Make flappy bird with this quick Unity tutorial. We'll even manage to squeeze in a highScore system by the end!
Download The TileSet :
www.spriters-resource.com/mob...
Download The Flappy Bird font
www.dafont.com/04b-19.font
---
In need of some Unity Assets? Using our affiliate link is a great way to support us. It's free, and we get a small cut that helps keep us up and running: assetstore.unity.com?aid=1100lwgBQ
---
Who We Are-------------------------------------
If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.
Wishlist our Games:
Wishlist Samurado on Steam! - store.steampowered.com/app/23...
Wishlist Veil of Maia! - store.steampowered.com/app/19...
Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!
Follow us on Twitter for regular updates!
/ sasquatchbgames
#unitytutorial #unity2d #unity3d

Пікірлер: 95

  • @xxnickxx5716
    @xxnickxx5716Ай бұрын

    I just started working with unity this week and this took me 2 attempts to follow. It was extremely frustrating at parts making me feel like this was his fault for moving too fast. I got stuck making the scoring work for hours until I figured out you have to add the pipe move script to the pipe prefab and not the individual pipes. But in the end I figured everything out, learned a lot about unity, and have some code to reference for other projects so I’d say it’s a solid tutorial.

  • @ErenleTrenn

    @ErenleTrenn

    8 күн бұрын

    Omg ty i was searching for that

  • @SenguMuramasa
    @SenguMuramasa Жыл бұрын

    That's how tutorials should be done: short, straight to the point, clear in the explanation. Brilliant. Btw the link for the TileSet is not working anymore

  • @sasquatchbgames

    @sasquatchbgames

    Жыл бұрын

    Thanks for that, I've fixed the link!

  • @mr.commonsense6645
    @mr.commonsense66455 ай бұрын

    A complete beginner wouldn't be able to follow this

  • @Melotoni

    @Melotoni

    Ай бұрын

    THATS WHAT IM SAYING I DONT EVEN KNOW HOW TO MAKE A FOLDER

  • @GRIM7153

    @GRIM7153

    28 күн бұрын

    exactly this video is just going through one of my ears and out the other its like he's talking in 2x speed

  • @ADox_Short

    @ADox_Short

    Күн бұрын

    just look up the basics

  • @hamzehsuccar270
    @hamzehsuccar2708 ай бұрын

    This is what i have been looking for! Thanks!

  • @FishyPlayzThis
    @FishyPlayzThis8 ай бұрын

    Thank you for this tutorial, I now made flappy bird. I was stuck on a script so I cam here and re did the entire game. (I made it myself first, then came here).Thank you again.

  • @WeirdGoat
    @WeirdGoat Жыл бұрын

    Great mini and interesting project! You could do 5 things to bring your Unity skill to the next level 1. Object Pooling: Pipes; 2. Use scriptable object to make "Score" and "Best"; 3. Replace UnityEvent with scriptable object event. 4. Port a android app. 5. Port a iOS version.

  • @Opt4grunt
    @Opt4grunt4 ай бұрын

    Thank you for helping me learn. I have a question about the restart game part. What do you mean by "dont forget to add scene management name" do I have to add the string in the script. I am juatvwondering because I have 0 XP in scripting and am trying for some time byt cant figure out how to get the button to work

  • @valentindanev1703
    @valentindanev17033 ай бұрын

    Amazing content! Thank you so much

  • @iliachakarov7285
    @iliachakarov728510 ай бұрын

    OMG THIS IS SOO GOOD!

  • @uCanCallMeBob
    @uCanCallMeBob Жыл бұрын

    good and quick but i wouldnt recommend it to someone whos never used unity

  • @uCanCallMeBob

    @uCanCallMeBob

    Жыл бұрын

    my bird barely goes up

  • @JonelKingas

    @JonelKingas

    Жыл бұрын

    I started unity 2 weeks ago and at least about unity i know a lot already code pretty much 0

  • @F.J.Gaming5063
    @F.J.Gaming50637 ай бұрын

    I have a question, my highscore will go back to 0 if you die. but then start working again once you reach your original highscore? How do i fix that

  • @LeshaTheBeginner
    @LeshaTheBeginner8 ай бұрын

    Good job on doing tutorial!

  • @helloworldsev
    @helloworldsev7 ай бұрын

    Thank you for video!

  • @jerpa985
    @jerpa985 Жыл бұрын

    So when im writing the "PipeIncreaseScore" code it keeps on saying error CS0122. any way to fix it?

  • @bobotv377
    @bobotv3779 ай бұрын

    Scoring is not working on me, i check everything but still the trigger is not working.. i guess but the things are same but still not working. can u help me?

  • @iCrazy414
    @iCrazy414 Жыл бұрын

    Do you use a specific snippet extension for VSCode? I can't get it to autocomplete Unity code for me. Not a big deal, just a quality of life kind of thing.

  • @andrzejwlasowski7716

    @andrzejwlasowski7716

    4 ай бұрын

    It's Visual Studio, not VSCode.

  • @midniteoilsoftware
    @midniteoilsoftware Жыл бұрын

    Brilliantly done!

  • @FloppaAndBoxieVR
    @FloppaAndBoxieVR8 ай бұрын

    i don't find the sprite button,can u please help?thanks

  • @Punchmememe
    @Punchmememe3 ай бұрын

    Thanks man! I have challanged my selff to make 15 small games with futures like score and yhea movement, (Just new in unity and scripting) So i tought this would be an amazing start. I already have done the traditional Pong game, And a basketball game, Now lets do flappybird. Still have 28 Days to go so hopefully i will reach my goal.

  • @user-mp4yq9du3v
    @user-mp4yq9du3v3 ай бұрын

    how am I supposed to bring the sprites form the sprite editor to the project

  • @MusicFlowDaily
    @MusicFlowDaily3 ай бұрын

    Strange, I wrote the exact script for pipes "MovePipe", added box collider, but they just ain't moving, and there's no errors also

  • @lloyda2025
    @lloyda2025 Жыл бұрын

    This should be an official speedrun.

  • @user-dd7yn4cw8q
    @user-dd7yn4cw8q4 ай бұрын

    thank you very much!

  • @agro23
    @agro23 Жыл бұрын

    Completely worth subscribing for this video alone.

  • @malufonseca7143
    @malufonseca7143 Жыл бұрын

    I have a big problem: the pipes are being spawnered out of the scene or just a piece of them are showing. And I dont know how to fix it. I watched the video many times but cant fix it. Can someone help me?

  • @cocolennon_

    @cocolennon_

    8 ай бұрын

    Did you set their position properly in the prefab?

  • @Bruno-vn3qq
    @Bruno-vn3qq Жыл бұрын

    nice video dude

  • @HarrisonMace-dc4is
    @HarrisonMace-dc4isАй бұрын

    How do you get outlines on the text

  • @KhattakVibess804
    @KhattakVibess8042 ай бұрын

    Assets\Script\FlapBehaviour.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

  • @adz.e

    @adz.e

    22 күн бұрын

    Yo had this problem just fixed it. You have to open the package manager, theres a tab that says "Packages: In Project", click to change it to "Unity Registery", then search & install input system. Hope it helps!

  • @zippyftw
    @zippyftw5 ай бұрын

    where did you learn to code????

  • @Bazerath
    @Bazerath3 ай бұрын

    So I'm trying really hard to make this without a tutorial. I've looked at the Unity documentation and tryed googling awnsers to get the pipes to move left for a total of 4 hours split between two days. I broke, and now I'm here just to learn it was 1 line of code.

  • @danthon1267
    @danthon1267Ай бұрын

    which extensions do you use on vscode to program c# and for unity?

  • @danthon1267

    @danthon1267

    Ай бұрын

    or isn't this vscode, perhaps?

  • @iliachakarov7285
    @iliachakarov728510 ай бұрын

    All good. Amazing tutorial. But LoopGround be buggy. My ground disappears. I've done everything the same. NW though. Disable it and everything's perfect. Cool speedrun!!

  • @omargaber3122
    @omargaber3122 Жыл бұрын

    Can I get this project open source please?

  • @viraj3944
    @viraj39448 ай бұрын

    I don't understand the height range script. Why didn't you have to put coordinates to spawn the pipes

  • @angelgiron4811

    @angelgiron4811

    8 ай бұрын

    When the code is running, a new spawn location is being generated at x = 0, or the center of the Empty Game Object, and then, the script choses a random "y" value, between the negative of your height range through the postive of your height range, so there is and equal chance of it spawning over/under the middle. So, if the script chooses ".5" as your "y" value, then the spawnPos = (0, .5), thus you do not have to manually create an infinte list of coordiantes. Also, these are not global coordinates, but instead local to the PipeSpawner GameObject!

  • @AnnieLRoach
    @AnnieLRoach11 ай бұрын

    where's the link

  • @secretz748
    @secretz748Ай бұрын

    how to drag the files in to the project

  • @Esoteric_Games
    @Esoteric_Games Жыл бұрын

    Awesome video!

  • @MELODIFY16
    @MELODIFY1611 ай бұрын

    How to make starring ui

  • @iiropeltonen
    @iiropeltonen Жыл бұрын

    Impressive.

  • @FootballCenterStudio
    @FootballCenterStudio3 ай бұрын

    can I get the codes of the game you made, this is very important for me

  • @TheCrowReviewer
    @TheCrowReviewer Жыл бұрын

    Really cool!

  • @KareemAnabtawi
    @KareemAnabtawi3 ай бұрын

    Dont know if anyone has faced this issue too. But my box colliders keep on spawning to the right of the pipes. Where the player never touches them. Anyone face this and find a fix?

  • @KareemAnabtawi

    @KareemAnabtawi

    3 ай бұрын

    If anyone runs into this issue make sure you press Apply on the pipes prefab overrides

  • @FootballCenterStudio
    @FootballCenterStudio3 ай бұрын

    can you give the unity files of the game

  • @Ambussing
    @Ambussing11 ай бұрын

    i wish you wouldn't cut the small parts like where to find an animation or how correctly use sprite editor, I could've spent 20 more seconds and not search and watch 20 min videos, but overall this is a great video, at least I know where I should start

  • @uCanCallMeBob
    @uCanCallMeBob Жыл бұрын

    wait what extensions do u use xd

  • @corrier4532

    @corrier4532

    Жыл бұрын

    dude, its apps, not extensions

  • @har3nz
    @har3nz8 ай бұрын

    I stil ldie when i enter the score collision between pipes

  • @zaglossus3530

    @zaglossus3530

    6 ай бұрын

    be sure to mark down isTrigger option in the box collider

  • @adz.e
    @adz.e20 күн бұрын

    Everything except from the scoring system is working for me, no errors, just no scoring is happening when i go through the pipes :(

  • @adz.e

    @adz.e

    20 күн бұрын

    Figured it out! I hadnt put the move pipes script onto the object with the box collider for scoring, so it wasn't spawning into the game at all

  • @animativity7400
    @animativity7400 Жыл бұрын

    this was best

  • @IRZMO
    @IRZMO Жыл бұрын

    3:45

  • @Mirach7
    @Mirach710 ай бұрын

    Norsk Game?

  • @mkespieditz6485
    @mkespieditz648510 ай бұрын

    Where is the sprite editor

  • @VavaDragons

    @VavaDragons

    9 ай бұрын

    yes where is it

  • @nwoooyz

    @nwoooyz

    28 күн бұрын

    If you haven't found it by now: Select the image in your PROJECT tab, Where you set the SPRITE MODE from "Single" to "Multiple" directly under that will be a button that says "Sprite Editor", Click that button and locate the corner of each sprite and drag the border to fit the entire sprite on every sprite, click APPLY after you have finished fitting a sprite into the border, once your finished with every sprite and have clicked APPLY on the last one you can close the window and continue with the project. Hopefully this helps you!

  • @ziertier9689
    @ziertier96893 ай бұрын

    Trying unity for the 15th time, this time I'm trying to actually make something, a video said to make flappy bird, I thought it would be easy, but this is so fast it took me 30 minutes to figure out how to do what the first 35 seconds of the video said to do, the sprites weren't working so I had to watch a separate video, I don't want to hate or be a hater but I was having a literal headache trying to process what you were doing and saying at the same time.

  • @Nuclups
    @Nuclups10 ай бұрын

    muy buen viedo pero, solo lo necesito en español saludos

  • @WhimzyInteractive
    @WhimzyInteractive Жыл бұрын

    Classic

  • @yetiimp
    @yetiimp Жыл бұрын

    Title : " In 5 mins" Video : "6 mins" Jokes aside, very nice tutorial

  • @ShadowexOficial
    @ShadowexOficial7 ай бұрын

    4:28

  • @VavaDragons
    @VavaDragons9 ай бұрын

    Guys under the video it should say 'Subscribed' Not 'Subscribe'

  • @HistoryHHT1
    @HistoryHHT1Ай бұрын

    Doesn’t work. I click with my mouse and it still won’t jump. Waste of time

  • @alexeuan1101
    @alexeuan11013 ай бұрын

    i love u

  • @HarriForUnity
    @HarriForUnityАй бұрын

    This video is bad, ive had to go to other videos to get blocks of code and replace half of the code in this video with code from another. I cant follow along because your too fast and Im not pausing every millisecond just to get one line of code... and to mention ive had so many bugs and glitches its unimaginable to see how bad a "tutorial" can be.

  • @Coco-gg5vp
    @Coco-gg5vp Жыл бұрын

    First

  • @guarryReal
    @guarryReal Жыл бұрын

    I have dislike option, this video got 0 dislikes like it should

  • @shivcenzo4008
    @shivcenzo40089 күн бұрын

    go slow you are not telling how to do few steps

  • @jaexuka
    @jaexuka9 ай бұрын

    wasted my time

  • @soup_bone
    @soup_bone6 ай бұрын

    using System.Collections; using System.Collections.Generic; using UnityEngine; public class PipeIncreaseScore : MonoBehaviour { public Score scoreInstance; // Reference to the Score instance private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.CompareTag("Player")) { Score.Instance.UpdateScore(); } } } Assets\Scripts\PipeIncreaseScore.cs(13,19): error CS0117: 'Score' does not contain a definition for 'Instance' How do i fix this so the game has a scoreboard.

  • @zaglossus3530

    @zaglossus3530

    6 ай бұрын

    you got to set the instance to static " public static Score scoreInstance; "

  • @KhattakVibess804
    @KhattakVibess8042 ай бұрын

    using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class FlapBehaviour : MonoBehaviour { [SerializeField] private float _velocity = 1.5f; [SerializeField] private float _rotationSpeed = 10f; private Rigidbody2D _rb; private void Start() { _rb = GetComponent(); } private void Update() { if (Mouse.current.leftButton.wasPressedThisFrame) { _rb.velocity = Vector2.up * _velocity; } } private void FixedUpdate() { transform.rotation = Queternion.Euler(0, 0, _rb.velocity.y* _rotationSpeed); } } what is erorr

  • @HarriForUnity

    @HarriForUnity

    Ай бұрын

    have you installed InputSystem in package manager?

  • @Matt12mjc
    @Matt12mjc3 ай бұрын

    You should consider making longer format content instead of clickbaiting people with a "MAKE X GAME IN 5 MINUTES!" title. The video isn't even 5 minutes long, and the user will obviously spend more than 5 minutes creating the game following you along. The hardest part of your tutorial should be conceptually understanding what you are teaching, not literally trying to follow what you are doing, which in fact should be the easiest part of your tutorial. There are several instances where you don't mention a change you made to properties, gameobjects, etc. as well as several changes that were shown on screen for > .15 seconds in real time. Additionally, since you didn't take the time to explain why/what the things are that you did, I would bet that most people that followed along don't even know what they did/learned very little, and would not even be able to recreate this project on their own/apply the concepts used in this video to other projects if they had to. Just some things to consider if you actually want to teach people.

  • @OtisdubYT

    @OtisdubYT

    2 ай бұрын

    ...you do realize you're the bottom comment, right? (no hate, but I'm not joking.)

  • @Matt12mjc

    @Matt12mjc

    2 ай бұрын

    @@OtisdubYT if by “bottom” you mean least liked of course it is, it’s two weeks old on a video from a year ago. Regardless, what I said is constructive but more importantly true. You should care about what people are actually saying, not how popular what they are saying is (ad populum fallacy). This tutorial is a textbook example of what many developers call “tutorial hell”.

  • @OtisdubYT

    @OtisdubYT

    2 ай бұрын

    @@Matt12mjc I get that you're trying to tell the truth. BUT, what he means by 5 minutes is a short amount of time.

  • @nwoooyz

    @nwoooyz

    28 күн бұрын

    I've been doing this for 40 minutes and i'm only 1:30 through the video, it's crazy

Келесі