No video

How To Make A 2D Endless Runner For Beginners - Easy Unity Tutorial

  Рет қаралды 252,398

Hooson

Hooson

Күн бұрын

Пікірлер: 605
@hoosontech
@hoosontech 3 жыл бұрын
Hi guys! I hope you learned something from this tutorial! If you want to add more features to your 2D Endless Runner, here are some other unity tutorials which you can check out! 2D Character Creation And Animation For Beginners - Easy Unity Tutorial: kzfaq.info/get/bejne/gql-p5yolpjKgXU.html Adding BGM and On/Off Sound Button - Easy Unity Tutorial: kzfaq.info/get/bejne/d6yTe9Z8ycXFfaM.html How To Make A Pause Menu In 4 Minutes - Easy Unity Tutorial: kzfaq.info/get/bejne/qsyqqtx_uJewhY0.html
@YouTubeSPOiLER
@YouTubeSPOiLER 3 жыл бұрын
I can't get the background music page
@YouTubeSPOiLER
@YouTubeSPOiLER 3 жыл бұрын
Pls send the background music download link🙏🏽
@mvg4857
@mvg4857 3 жыл бұрын
I can't move the player
@alifi6148
@alifi6148 3 жыл бұрын
why wont my obstacles spawn😥,it didnt even show when played😭😭
@mallikanairy
@mallikanairy 3 жыл бұрын
when I insert script and try to play it shows all cpmilers must be fixed
@bloated.frog.studio
@bloated.frog.studio Жыл бұрын
I created my first game when started to learn unity by following this wonderfully explained video. It is sad see you now stopped making videos.
@GodOfAll300
@GodOfAll300 3 жыл бұрын
This was the best unity tutorial I have seen on KZfaq. Keep up the good job!
@allabouteverything4925
@allabouteverything4925 2 жыл бұрын
I made my first game thanks to this. Other Endless Runner tutorials gave me errors but this worked. Kudos to you.
@nickokonovalov40
@nickokonovalov40 2 жыл бұрын
did you have any problems placing the camera script over ? i can compile Jack!
@KevinChee
@KevinChee 3 жыл бұрын
Answers every single question I had to build this endless runner. Great stuff. The video is a little too quick but no big deal, can always rewind, stop and play :)
@KevinChee
@KevinChee 3 жыл бұрын
@FREEZE CODM Visual studio code I believe
@qusaiagha5852
@qusaiagha5852 2 жыл бұрын
@FREEZE CODM VS
@JDL_Official-
@JDL_Official- 2 жыл бұрын
@FREEZE CODM you can use notepad
@unidentifiedvr8828
@unidentifiedvr8828 3 жыл бұрын
This was amazing! Took me most of the day but I completed my first game! Thank you!
@GHoSTnerd694
@GHoSTnerd694 2 жыл бұрын
Congo
@claraabellia9004
@claraabellia9004 4 ай бұрын
this tutorial helped me sooo much!!! omg lifesaver so clear, concise & good explanations too. tysm!!!
@videostothepoint8671
@videostothepoint8671 3 жыл бұрын
Excellent tutorial! I turned mine into a space-themed asteroid dodging game. Next up: explosions!
@Tryftz
@Tryftz 2 жыл бұрын
can i ask you a question
@suarezjessica1992
@suarezjessica1992 2 жыл бұрын
This video was AMAZING. Totally worth to watch. Thanks for making everything so understandable (:
@aditya.magdum
@aditya.magdum 3 жыл бұрын
This is best workflow and project arangement I've ever seen.
@nuruljannah4817
@nuruljannah4817 Ай бұрын
A very good video with a very good explanation and a very good tutorial step by step without shortcut. Really loves your tutorial !!
@vampbat
@vampbat 2 жыл бұрын
This has been amazing so far, thank you so much! If folks have a hard time getting their particle system to show up like I did, make sure "Play on Awake*" in the Particle System menu is checked.
@jaykishansingh1
@jaykishansingh1 5 ай бұрын
Thank you so much. Completed the game.
@Vitor-ln2je
@Vitor-ln2je 3 жыл бұрын
Thank you so much! Best tutorial i've seen on KZfaq, easy.
@DzernTutorials
@DzernTutorials 2 жыл бұрын
I made a german 2d platformer but i like your style very much
@infiniter11
@infiniter11 2 жыл бұрын
Awesome step by step tutorial, created my first game from this
@satyajeetverma1951
@satyajeetverma1951 2 жыл бұрын
bro i need a help plzz help me
@monaibrahim1482
@monaibrahim1482 3 жыл бұрын
very useful and easy tutorial, it really helped me thank you so much
@zaicrombr5817
@zaicrombr5817 Ай бұрын
Thank you soo much, u helped me with my activity. You are the BEST
@harshasuresh4062
@harshasuresh4062 Жыл бұрын
Thank you so so much for this incredibly helpful tutorial with a very clear explanation!! ❤
@IlSense98
@IlSense98 5 ай бұрын
Thank you man, amazing tutorial
@siddhant92
@siddhant92 2 жыл бұрын
This guy really did what he said really made me more confident in making games now ,thanks dude may god bless you
@CodingWithAlbert-O
@CodingWithAlbert-O 11 ай бұрын
This is Amazing! this is exactly the tutorial I need! you are the best on this, some tutorials are too hard or too easy but yours is just fine!!!
@alexolsen13
@alexolsen13 3 жыл бұрын
Thank you! I created my first game
@Tryftz
@Tryftz 2 жыл бұрын
can i ask you a question
@BlussedKings
@BlussedKings 2 ай бұрын
This was perfect!!! Thank you so much for this video!
@gabrielhernandez6002
@gabrielhernandez6002 2 жыл бұрын
Muchas gracias, realmente quería impresionar con un buen proyecto de programación solo que no encontraba una buena solución. Te has ganado otro suscriptor.
@tackybob
@tackybob 2 жыл бұрын
YOOO FINALLY FOUND THE TUTORIAL I NEEDED THX MY GUY
@RopeyOrc41
@RopeyOrc41 3 жыл бұрын
This was an awesome video! You have now a new subscriber! Gorgeous!
@animeshots4382
@animeshots4382 7 ай бұрын
I done all same but at 20:54 when player hits obstacle, player disappears and restart button does not appears , please help me someone
@sakehsatoru
@sakehsatoru Ай бұрын
same like me, do u find the answer?
@Sahil_Ansari_5
@Sahil_Ansari_5 3 жыл бұрын
Thansk a lot brother I am from India and I am able to make my first game from your video thanks a lot for this 🙏🙏🙏😀
@RTPcanadaGames
@RTPcanadaGames 7 ай бұрын
THANK YOU SO MUCH!! I made a Pikachu/Goku version of this game thanks to your tutorial!!
@atikshagrawal7390
@atikshagrawal7390 3 жыл бұрын
bro my obstacle spawning isnt working it is not following the camera it is spawning out of scene
@jvugaming
@jvugaming 2 жыл бұрын
Really appreciated this game concept.
@ogunrindedaniel9230
@ogunrindedaniel9230 2 жыл бұрын
Thank you for this. All worked out perfectly.
@amifeeth
@amifeeth Жыл бұрын
BLESS YOU FOR THIS AMAZING TUTORIAL, GOOD SIR!!
@billyfrcs08
@billyfrcs08 2 жыл бұрын
thank u so much pretty much easier to understand :D
@unitymakegame8003
@unitymakegame8003 3 жыл бұрын
Nice! Keep up the good work!
@a.b.g9755
@a.b.g9755 3 жыл бұрын
Please make next tutorials on zig zag game and two cars game in unity for beginners with full explanation of c# logics.
@blackheart4417
@blackheart4417 Күн бұрын
my obstacle is always goes in background and i cant see it in game how can i solve this error
@BoBbY-Pal
@BoBbY-Pal 2 жыл бұрын
Nice i liked your instructions and the way of explaining things clearly! KEEP UP THE GOD WORK
@satyajeetverma1951
@satyajeetverma1951 2 жыл бұрын
bro i need a help plzz help me
@nirmalshah8066
@nirmalshah8066 3 жыл бұрын
If border part or enemy part is not working when you collide , make sure that their collider is triggered.
@user-vh6jq
@user-vh6jq 2 жыл бұрын
Still don't work I can go through my border
@recuda
@recuda 3 жыл бұрын
If a tutorial took over the world it would be this one!!!!
@togit4895
@togit4895 3 жыл бұрын
How can I add Highscore?
@Tryftz
@Tryftz 10 ай бұрын
this helped me make my first ever game
@infosys_force
@infosys_force 3 жыл бұрын
You are the best one bro. I Have started watching ur all videos
@haisse6811
@haisse6811 2 жыл бұрын
man, you explained it perfeclty, thank u so much
@SerraGk
@SerraGk 27 күн бұрын
my charekter stays when i play it but the background goes(like its spouse to) how do i fix that
@cheikhtidjanitweylib1154
@cheikhtidjanitweylib1154 Жыл бұрын
your content is so awesome. you really helped me, thank you
@haiangnguyen5216
@haiangnguyen5216 4 ай бұрын
it really helped me, thank you so much
@HPMusic.
@HPMusic. 6 ай бұрын
Great tutorial 😊 Well made 😎💪
@petviper1192
@petviper1192 2 жыл бұрын
For some reason it’s not letting me drag the player into the game
@vegasdealer777
@vegasdealer777 Ай бұрын
Great video! I'm learning. How would you make the obstacles move across the screen at varying speeds, some slower, some faster?
@marekpuchon4878
@marekpuchon4878 2 жыл бұрын
Hi. This is one of best manuals. But i have one problem. I tried 10times I begin from beginning but iam still stuck with Restart. He just dont want die of what. I have score, sounds but he dont die. Any one could help please?
@anhkhoanguyen6347
@anhkhoanguyen6347 2 жыл бұрын
The player touches the enemy but does not die Can you help me ?
@abubakerab7780
@abubakerab7780 3 жыл бұрын
when i write gameobjectwithtag it show errro
@SumeetChawla
@SumeetChawla 2 жыл бұрын
amazingly simple. thank you
@chuyenvegame388
@chuyenvegame388 2 жыл бұрын
Nice job! Keep it up dude!
@pa1n728
@pa1n728 3 жыл бұрын
once ive written the code like the video shows and dragged it onto player as a component nothing pops up so i cant change player speed, and a lot u typed when coding changed color, 90% om mine didnt, what did i do wrong?
@arrowred8176
@arrowred8176 15 күн бұрын
U found the solution?
@lolXDfacts70
@lolXDfacts70 3 жыл бұрын
Thank you so much 🤗
@JDL_Official-
@JDL_Official- 2 жыл бұрын
Very nice tutorial! I managed to build my first game with this tutorial!
@dhanashrithecoolbros3332
@dhanashrithecoolbros3332 2 жыл бұрын
me too
@compario
@compario Жыл бұрын
thank you. It's really help me in project.
@roveltz
@roveltz 3 жыл бұрын
I need help I followed everything the video showed but when i hit the obstacle the Game Over panel doesn’t show up and it just continues moving forward and the game over panel doesn’t show the restart button
@Ghxst00167
@Ghxst00167 3 жыл бұрын
Did u fix it ?
@farhan7215
@farhan7215 3 жыл бұрын
same problem, did u fix it?
@user-vg8dd4pk4n
@user-vg8dd4pk4n 3 жыл бұрын
I have the same problem but I solve. First select your obstacle game object , in the circle collider 2d component, you will be able to see a "is trigger" option. Make sure the is trigger option is checked. second check restart() function : SceneManager.LoadScene(SceneManager.GetActiveScene().name);
@roveltz
@roveltz 3 жыл бұрын
@@user-vg8dd4pk4n thanks
@Paugkeep
@Paugkeep 3 жыл бұрын
I knew the Problem, you must trun on the canvas and turn off the Game Over Panel :)
@Hikistnyaicu
@Hikistnyaicu 2 жыл бұрын
Thanks a lot for this video, it helped me a lot!
@Nin10doLetsPlay
@Nin10doLetsPlay 2 жыл бұрын
Thank you so much for this Tutorial! How do I make it so that it gets faster overtime?
@gyroseyesofheaven3216
@gyroseyesofheaven3216 3 жыл бұрын
After I set the “player” script up it keeps telling me the “Input Axis Vertical” is not setup. How do I fix this? Edit: spelt “Vertical” wrong
@edx__xd9971
@edx__xd9971 3 жыл бұрын
did you solve it ? cz i have the same erorr
@anshuman2259
@anshuman2259 2 жыл бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float playerSpeed; private Rigidbody2D rb; private Vector2 playerDirection; // Start is called before the first frame update void Start() { rb = GetComponent(); } // Update is called once per frame void Update() { float diectionY = Input.GetAxisRaw("Vertical"); playerDirection = new Vector2(0, diectionY).normalized; } private void FixedUpdate() { rb.velocity = new Vector2(0, playerDirection.y * playerSpeed); } } Try this it worked for me
@gyroseyesofheaven3216
@gyroseyesofheaven3216 2 жыл бұрын
@@anshuman2259 ok thanks! ill def try and use this when ever i get the chance. work has stopped me from coding sadly
@itzblikze
@itzblikze 2 жыл бұрын
@@anshuman2259 ty it worked :)
@gvuprise1465
@gvuprise1465 Жыл бұрын
Thank you so much #Hooson I really appreciate how you got to explain everything in this tutorial. Please do more! Thank you so much. ✌✌✌✌✌✌✌✌✌✌✌✌
@awsomegirlpower476
@awsomegirlpower476 2 жыл бұрын
Thanks for this! I really appreciate it!
@limoney5244
@limoney5244 3 жыл бұрын
@Hooson How can you make the borders move position depending on the device that is used. For example the borders might be seen on an ipad, but not on an iphone when being played?
@gamec6289
@gamec6289 2 жыл бұрын
Thank you very much, I have no words, thank a lot
@nightlabinteractive8744
@nightlabinteractive8744 2 жыл бұрын
Can anyone help me? I can't get the sidebar to destroy the obstacle objects ! I've repeated the process about 4-5 times now taking into account all the minute details and repeating them over and over again.
@leviruedisueli5812
@leviruedisueli5812 3 жыл бұрын
thx bro no one said that you need to save the script lol. but you dit so thank you so much
@rishixi3070
@rishixi3070 2 жыл бұрын
The Obstacles spawn but it is below the background and the player so its not visible what should I do.
@Guillen8606
@Guillen8606 Жыл бұрын
Hi Hooson, great video thanks. Just one question, how do you make the panel center to the camera when you create the gameoverPanel. It always comes as a big panel that I have to play around with measurements.
@user-gd3tk5tq4k
@user-gd3tk5tq4k 10 ай бұрын
I have issue named as "No cameras rendering" after adding ' Game over'
@billys1669
@billys1669 Жыл бұрын
Hooson I got a question when my player destroys restart button doesn't show up, what should I do?
@animeshots4382
@animeshots4382 7 ай бұрын
I have same problem, please help me
@CodeWithTomi
@CodeWithTomi 2 жыл бұрын
hi, does anyone knows how to convert the controller on this to work for mobile devices too
@niveydhithaarams8180
@niveydhithaarams8180 2 жыл бұрын
Beauty😍thx a lot to you! Really helps
@hardbliv5587
@hardbliv5587 2 жыл бұрын
thanks this is the best first tutorial thanks
@durumvfx
@durumvfx 3 жыл бұрын
my Game Over screen is not showing up
@JavardoMusic
@JavardoMusic 3 жыл бұрын
Hey man, loved this. But where is the start menu?
@domlapss
@domlapss 3 жыл бұрын
i think you need to make it yourself or you can use kzfaq.info/get/bejne/Y62HnaRnyc_chmg.html
@pedroaboffa
@pedroaboffa 3 ай бұрын
Thank you bro
@abubakerab7780
@abubakerab7780 3 жыл бұрын
My player is destroyed when i touch enemy but my game over panel ins not showing plzzzzz help
@NIKS_28
@NIKS_28 Жыл бұрын
Same here with me
@thevasquezbros506
@thevasquezbros506 3 жыл бұрын
This was really helpful thank you
@mgrootapb3662
@mgrootapb3662 Жыл бұрын
Hello, thanks for the tutorial, can you tell me how to do this for mobile?
@vaishnavibhat1962
@vaishnavibhat1962 3 ай бұрын
Can anyone help me with score text For me it’s the only thing thts not working
@chermainehoo214
@chermainehoo214 3 жыл бұрын
👍🏻👍🏻 GREAT WORK!
@hoosontech
@hoosontech 3 жыл бұрын
Thank you!
@RebootDaArcanist
@RebootDaArcanist 2 жыл бұрын
Great vid. Followed everything, but when I drag the Obstacle Spawn script into the Spawn Point it crashes Unity every time... not sure what to do there
@Tobiman12
@Tobiman12 2 жыл бұрын
Can u make a part 2 where u show how to use powerups and how to change their animation?? It would be really good
@hypdie
@hypdie 3 жыл бұрын
pls help i am stuck when my obstacles spawn they dont show up they spawn but they are hiden behind the background
@hoosontech
@hoosontech 3 жыл бұрын
Click on your obstacle game object, under the sprite renderer component there is a field called "Order in Layer". You can change the value to "1". Your obstacles should be appearing in front of your background after that
@hypdie
@hypdie 3 жыл бұрын
@@hoosontech it still not working
@nex6246
@nex6246 6 ай бұрын
Getting error while adding csharp file dragging to player
@VilleSantikko
@VilleSantikko 2 жыл бұрын
Obstacles not moving towards the player fix: Add script CameraMovement into GameManager and remember to add Camera Speed to 12 "Drag n drop the Camera Movement into GameManager (is done in the tutorial) but the speed is set to default 0.
@brummatejbeezmeghajthaver
@brummatejbeezmeghajthaver 2 жыл бұрын
You are right, this is the solution.
@maxzlochevsky
@maxzlochevsky 2 жыл бұрын
Thanks this helped a lot!
@MrCamdere
@MrCamdere 3 жыл бұрын
bro bro bro you make my day ! thanks a lot for this informativ and smart videos please make more vodeos about monetarizing ads and shop it will be cooooooooooooooooolll thanks !
@ajay1321
@ajay1321 2 жыл бұрын
Thanks . You helped me a lot
@vdbdutamas6960
@vdbdutamas6960 Жыл бұрын
thanks you very much for your tutorial
@noirblack7360
@noirblack7360 2 жыл бұрын
Thank you!!! More tutorials pleaseeeeee
@premdeepsethi4898
@premdeepsethi4898 3 жыл бұрын
Nice tutorial mate
@goat3593
@goat3593 2 жыл бұрын
Hey Hooson can i ask you why my obstacle spawn behind the background?
@dedsecoverlord7817
@dedsecoverlord7817 8 ай бұрын
I want to make it a Mobile Phone game and my characters get out and dissappears... Can someone help me? I've tried a lot of tutorials
@marixxyt
@marixxyt 2 жыл бұрын
How can I spawn random prefabs as obstacles? I would apreciate a answer!
@limoney5244
@limoney5244 3 жыл бұрын
@Hooson I really like your tutorial, but what would I do if I want to make my game for ios and android. How would that affect the camera settings? Also, how would I decide between the two, because I saw both of them as two options, and not an option to make in compatible with both.
@yunan9760
@yunan9760 2 жыл бұрын
go to game view and create custom resolution
7 DEVS Make a GAME without COMMUNICATING! (centipede edition)
17:16
Blackthornprod
Рет қаралды 1,1 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 94 МЛН
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 26 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН
Procedural Generation: Endless Runner Unity Tutorial (Updated 2023)
9:28
Rigor Mortis Tortoise
Рет қаралды 22 М.
How to make a 2D platformer - Unity Tutorial Crash Course
40:32
bblakeyyy
Рет қаралды 199 М.
Why Do Video Game Studios Avoid Blender?
6:49
The Cantina
Рет қаралды 523 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 1,7 МЛН
6 DEVS Make a 3D GAME without COMMUNICATING!
13:18
Blackthornprod
Рет қаралды 1,2 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 706 М.
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 94 МЛН