How to make Dino Game in Unity (Complete Tutorial) 🦖🌵
Learn to make the 2D Google Chrome "Dinosaur Game" in Unity. The Dinosaur Game is a browser game developed by Google and built into the Google Chrome web browser. The player guides a pixelated Tyrannosaurus rex across a side-scrolling landscape, avoiding obstacles to achieve a higher score. The game was created by members of the Chrome UX team in 2014.
0:00 - Intro
0:39 - Project Creation
1:23 - Importing Sprites
5:30 - Scene Setup
7:50 - Jumping
21:27 - Game Speed
28:15 - Ground / Side-scrolling
36:39 - Animated Sprites
46:00 - Prefabs
54:21 - Spawner
1:08:23 - Obstacles
1:15:40 - Game Over
1:20:30 - UI
1:28:17 - Scoring
1:37:51 - Hiscores
🖥️ Source code and assets: github.com/zigurous/unity-din...
👍 Subscribe for more Unity tutorials: kzread.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
Пікірлер: 84
Visit the GitHub page for the most up to date source code: github.com/zigurous/unity-dino-game-tutorial View the FAQ for answers to common questions: github.com/zigurous/unity-dino-game-tutorial/wiki
@fernandoivanalvaradovalsec7964
Жыл бұрын
Me podrías ayudar porfavor para un scrip para el player, para que funcione el touch en Android
Why are this channel so underrated ? I mean i watched a couple of your videos and this is literally one of the best guides I've seen so far!
Tutorial literally helped me so much to program something with similar mechanics. Very easy to understand and Zig was very quick to answer questions on discord. Super helpful
You are a life saver!!! Loved the tutorial and keep up the great work!
Thank you my friend this was a very fun project. Your tips are awesome and very straight forward. Great tutorial
Thank you so much for the tutorial! Your code is so concise and easy to understand.
The king has posted !
Thank you for the tutorial, you saved me a lot of time! You are a life saver! The tutorial is nice and easy to follow, nothing too complicated. I subscribed to you for this! Keep up the good work and hoping for a better future for this channel and its videos!
Great tutorial very detailed, man i just love your contets great job
Thanks Adam. Great video.
Thank you so much! Dont stop!👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻
Absolutely love your vids, clean, concise, and simple enough for beginners like me to follow! Keep it up!
love your video, helped me with my seminary work
I finished this one too, great video!
Acabei de descobri seu canal. Achei muito top! Vou acompanhar.
This is a bit late but thank you so much for the video! really learned a lot!!
🙌hands down! good teacher thank u so muchhhhh!
Great work brother... regained interest in unity after following ur channel...if possible throw in a 3d game tutorial when u have time for it 👍👍
thank you mate !
thank you so much.... that's really helpful
great work!
loved this, ty
Thanks you help me a lot, God Bless you.
the best f*cking unity channel on KZread. I would love to see how you tackle a Mortal Kombat/Street Fighter-like game.
You are doin great
Thank you.
thank you
thx man
Wow 😮
Thanks
Just finished this video, I thought it was great! But in the chrome version you duck under the birds and they vary in height. How would I go about doing that?
@Zigurous Great video! I have one question. Could you tell me how to make a responsible jumping like in the original game?
👌😍👍
How can u sit there and just do this like its nothing. This video was very helpful and I learnt a lot, thank you. I just don't understand how you can do this like its nothing, you make it seem so easy, and it was easy to follow.
I AM DEFINITELY GOING TO MAKE THIS!!!!!
@SirGor010
Жыл бұрын
Same
I tried to but it put the Vector 3 in first IT was Green in the second IT was blue idk what od the problem
THX so much, bro. You teach me program a game. 1+ Subscribe!
nice video ,but if I wanted to implement a play button before the game, how could I do that?
Does anyone else have this issue when the character touches the ground it starts colliding with the ground and starts shaking or something. Like in this part 35:38 his player isn't moving but mine is going up and down like shaking. If yes please reply on how to fix it.
Can you make an additional tutorial on how to add a "Play" button? So that the game won't actually start on its own the moment it is loaded. Thank You!
Does anybody know how can I have also have those dropdown choices like in 1:39:04?
why does on ground part say reference object not set to an instance
what no duck? say it isn't so!
But how do you add crouching action
Does anybody know how to jump with mobile buttons instead of the spacebar
How come I can see the Canvas in-game???
How to build and run this game on mobile?
When I finish the obstacle part in 1:20:00 it shows to me error that says name Player could not be found (missing using directive or an assembly reference)
@styline_0947
Ай бұрын
Same brother. Have you found a fix?
What Visual Studio version did he use ?
@PhantomMurderer
Ай бұрын
Visual Studio Code (You can also use Visual Studio Community 2022 or 2019)
Hi Adam, dumb question but how do you reset the high score?
@Shivani_thakur01159
Жыл бұрын
Did you find the solution???
@michaelmarshall9259
Жыл бұрын
@@Shivani_thakur01159 hey, I unfortunately I forgot about it!
@Shivani_thakur01159
Жыл бұрын
@@michaelmarshall9259 my game is run fine but dinasour didn't die
@michaelmarshall9259
Жыл бұрын
@@Shivani_thakur01159 that’s no fun! I remember I got most of it to work!! I had to glue together multiple tutorial and come up with my own game
How to implement Ads to this game ??
@adam plz reply me under brick breaker game
plesase make a 3d unity shooter
Amazing tutorial! But it is just me or is the spawnrate not parallel to the gamespeed? Does anyone have an idea on how to increase the spawnrate, as the game progresses? This code is too complex for me :')
@luismanuelvalencia9109
Ай бұрын
I might be a little late bit you may have used the object script twice
Great for beginners but we want better games like Defender , Q-Bert and other ARCADE CLASICS !!! PLEASE !
At 13:04 it's says Can't add script component 'player'
@meespadberg6235
Жыл бұрын
Never mind fixt it
@strahinja1910
Жыл бұрын
you probably changed the name of the script but it has to have the same name as the class
I need help. How can I reach to you
46:03
It only works for me i think i tried it and it worked😅
I know this is a tutorial but... Using Unity to make the dino game is like hunting rabbits with a .50 cal. A bit overkill😂
🔖
@_myoon
9 ай бұрын
7:51 이미지 배치
@_myoon
9 ай бұрын
9:45 강체 사용x , 캐릭터 마스킹
50:37
my box collider does not work idk why the dino falls through it
@fionawiryadi7541
5 ай бұрын
same idk what to do
@patrickfarmer7793
3 ай бұрын
Same here I got the issue and been trying to figure it out
@patrickfarmer7793
3 ай бұрын
Just figured it out you need to make sure that the size for the box collider on the z axis is set 1 not the big number it makes
@raelee-jj7ty
Ай бұрын
Turn off 2d in the game view thing and edit your colliders, your spawner might not be aligned with your player :D
🕋
Hi Zigurous, your works are amazing! This is a design company looking for cooperation! Please check your Twitter message. Thank u!
27:47