How to Create a 3D Game in Unity
ACCESS the FULL COURSE here: https://academy.zenva.com/product/rpg-academy/?zva_src=youtube-rpg-academy
TRANSCRIPT
Hey, guys, my name is Austin Gregory and in this course we're going to create a simple game using Unity, based on what we learned in the Unity 101 course. So we're going to develop and build a very basic game idea so we can understand how all these things that we've learned tie in together to make an actual game. So what is the idea? We're gonna be able to control a cube that can move around in our scene, in our game world, and also jump. We're going to be able to collect coins spread throughout these levels. And these coins are gonna be protected by enemies that we have to weave around or even attack to kill and get out of the way. And once we have all the coins, we can go to the goal, and if we have completed and checked off every coin in the level, then we can go to the next level, which again will have coins spread out in a different way, with different enemies that you have to avoid and/or kill. So the idea, we're going to have these enemies here that you can see. Now, enemies can be any shape or form. They're all just gonna be the same type of thing, you run into it, you die, you start over that level. Right, and you have these coins spread throughout the world there. These are just in between each of these obstacles. And for this one, you have to get three coins before you can go to the goal down here to go to the next level. And we can do anything with these enemies and the movement system that they have. They actually move based on what's called a waypoint system. So we have, in this case we have two points per enemy. So we have a point down here and then a point up in the air somewhere. And it moves between the two, back and forth. But as you can see up here, we can also have three waypoints, or as many as we want. This one moves in a triangle format, so it's gonna move up here and then down here, and then over there. And it just keeps cycling through those. And you can add as many waypoints and place them wherever you want, per enemy, and you'll just get this cool movement system. Now, if you run into them, you will die and start over.
So that's the whole idea here. And if I wanted to, I could use my sword that you see here to attack these enemies, and it will kill them and get them out of the way. So I can make it a bit easier to get the coins. Now, that's something you could do, and it may not actually have much use in this type of level. If you have a lot of enemies, it may be worth the risk to try to kill them to get around them. Then you're also gonna have a main menu that you're gonna be able to click Play and it's gonna take you into the first level. And then inside of that, you're gonna have a Pause menu, as you can see there, it's gonna allow you to go back to the main menu, continue or quit to the desktop. It's gonna be pretty simple stuff, pretty fun stuff, and it's gonna teach us a lot about Unity, and then we're going to expand on everything that we've learned so far.
So the first step, we going to create a new project. We're gonna setup our folder structure, so we're just gonna create some folders that's going to kind of guide where we place our files in our project, and then we're gonna create our simple little player cube, and that's gonna be it for the first step. And then the next one, we'll actually lay out our level that we're gonna be playing in, as we're designing our systems. So let's open up the Unity Hub. Now, I am using the latest version available to me, which is 2018.2.12f1. Using this, I'm click Create a New Project. Now let's call this A Simple Game. And I'm gonna use the latest version 2018.2.12, and we're gonna use the 3D template for this. And I'm gonna click Create Project. Now that we are in our new project, what I want to do is I'm gonna go in my assets folder here. I'm gonna create a new folder, and we're gonna create a folder that's gonna store all of our script files, all the C# files we're gonna write, they're gonna be placed inside of this Scripts folder. Now, inside of this, we could also add some sub-folders that will add, more specific types of script folders, so if we had player scripts and we had enemy scripts and we had stuff like that, but in our case we're gonna use just the single scripts folder for all of our scripts. I also want a folder that's gonna be for our materials. We're gonna create all these different colored materials so we can make out different objects in our world. So we're gonna have a floor that's gonna be a color, our player's gonna be a color, our enemies are gonna be a color, that kind of thing. So I'm gonna call this Materials. And inside this we'll have all of our materials.
Видео How to Create a 3D Game in Unity канала Zenva
zenva, zenva lounge, tutorial, programming, coding, software development, web development, online course, unity, game development, transform objects, move object, scale object, rotate object, vertex snapping, surface snapping, creating materials unity, object oriented programming, OOP, vectors unity, rigidbody, game manager unity, waypoint unity, object tags unity
TRANSCRIPT
Hey, guys, my name is Austin Gregory and in this course we're going to create a simple game using Unity, based on what we learned in the Unity 101 course. So we're going to develop and build a very basic game idea so we can understand how all these things that we've learned tie in together to make an actual game. So what is the idea? We're gonna be able to control a cube that can move around in our scene, in our game world, and also jump. We're going to be able to collect coins spread throughout these levels. And these coins are gonna be protected by enemies that we have to weave around or even attack to kill and get out of the way. And once we have all the coins, we can go to the goal, and if we have completed and checked off every coin in the level, then we can go to the next level, which again will have coins spread out in a different way, with different enemies that you have to avoid and/or kill. So the idea, we're going to have these enemies here that you can see. Now, enemies can be any shape or form. They're all just gonna be the same type of thing, you run into it, you die, you start over that level. Right, and you have these coins spread throughout the world there. These are just in between each of these obstacles. And for this one, you have to get three coins before you can go to the goal down here to go to the next level. And we can do anything with these enemies and the movement system that they have. They actually move based on what's called a waypoint system. So we have, in this case we have two points per enemy. So we have a point down here and then a point up in the air somewhere. And it moves between the two, back and forth. But as you can see up here, we can also have three waypoints, or as many as we want. This one moves in a triangle format, so it's gonna move up here and then down here, and then over there. And it just keeps cycling through those. And you can add as many waypoints and place them wherever you want, per enemy, and you'll just get this cool movement system. Now, if you run into them, you will die and start over.
So that's the whole idea here. And if I wanted to, I could use my sword that you see here to attack these enemies, and it will kill them and get them out of the way. So I can make it a bit easier to get the coins. Now, that's something you could do, and it may not actually have much use in this type of level. If you have a lot of enemies, it may be worth the risk to try to kill them to get around them. Then you're also gonna have a main menu that you're gonna be able to click Play and it's gonna take you into the first level. And then inside of that, you're gonna have a Pause menu, as you can see there, it's gonna allow you to go back to the main menu, continue or quit to the desktop. It's gonna be pretty simple stuff, pretty fun stuff, and it's gonna teach us a lot about Unity, and then we're going to expand on everything that we've learned so far.
So the first step, we going to create a new project. We're gonna setup our folder structure, so we're just gonna create some folders that's going to kind of guide where we place our files in our project, and then we're gonna create our simple little player cube, and that's gonna be it for the first step. And then the next one, we'll actually lay out our level that we're gonna be playing in, as we're designing our systems. So let's open up the Unity Hub. Now, I am using the latest version available to me, which is 2018.2.12f1. Using this, I'm click Create a New Project. Now let's call this A Simple Game. And I'm gonna use the latest version 2018.2.12, and we're gonna use the 3D template for this. And I'm gonna click Create Project. Now that we are in our new project, what I want to do is I'm gonna go in my assets folder here. I'm gonna create a new folder, and we're gonna create a folder that's gonna store all of our script files, all the C# files we're gonna write, they're gonna be placed inside of this Scripts folder. Now, inside of this, we could also add some sub-folders that will add, more specific types of script folders, so if we had player scripts and we had enemy scripts and we had stuff like that, but in our case we're gonna use just the single scripts folder for all of our scripts. I also want a folder that's gonna be for our materials. We're gonna create all these different colored materials so we can make out different objects in our world. So we're gonna have a floor that's gonna be a color, our player's gonna be a color, our enemies are gonna be a color, that kind of thing. So I'm gonna call this Materials. And inside this we'll have all of our materials.
Видео How to Create a 3D Game in Unity канала Zenva
zenva, zenva lounge, tutorial, programming, coding, software development, web development, online course, unity, game development, transform objects, move object, scale object, rotate object, vertex snapping, surface snapping, creating materials unity, object oriented programming, OOP, vectors unity, rigidbody, game manager unity, waypoint unity, object tags unity
Показать
Комментарии отсутствуют
Информация о видео
7 декабря 2018 г. 20:00:00
00:06:56
Другие видео канала



















