Installing Unity

7 minutes
Share the link to this page
Copied
  Completed

Transcript

So if you're absolutely brand new to game development, a lot of what we talk about and do will be a little bit confusing to you. And that's totally okay. When I first started out, I did not understand anything, I was so confused with the most simple concepts. I didn't understand what variables were, I couldn't understand what functions did. I didn't understand how hard was put into a game. How do you put a game on the App Store, these were all very, very confusing for me.

So if you don't understand everything perfectly, that's totally fine. Just follow along with the tutorial and I guarantee by the end you'll have a working game. When you understand the whole concept from a game from start to finish, you better be able to understand the concepts that we talked about at the beginning of the session without being overwhelmed. So the first thing we're going to do is go to unity 3d COMM And click get unity. Unity is a free game engine that basically 90 off tonight, like 60 or 70% of all games are made on you can make mobile games you can make 3d games, you can make amazing games. It's pretty it's pretty, pretty awesome and free.

Game Engine, so we're just gonna click try personal post As the same as pro or plus with just a few little features removed like so for example, we can't have our own splash screen on, on personal you have to have the created by unity, which is totally fine my games I've got that click, I can confirm download the installer for Windows or for Mac or whichever operating system that you're on. It will download. You'll see some free assets here to help you get started some free tutorials, you can open up the installer and just run through that to install the latest version of unity. Don't worry if you don't have the exact same version of unity anything over this will work fine for everything that we're doing in this tutorial. So don't stress about that though, because I've already installed unity. I'm just going to open it here.

But before we do that, I'm going to download the project files. So what are the project files? The project files are things like audio, which is like a theme song or it's things like sound effects. Things like out sprites for the game. And just things like that little assets that you can't create inside of unity but will be used in this project. If you want to use your own assets, that's totally fine.

You can use your own sounds and your visuals if you want to use all the visuals that are in this project for your own game and release it on the Android store or the iOS store. In any type of game, that's totally fine as well. Do what you do you. Okay, so let's start a new unity project. So start up unity, we're going to click New. Make sure you sign in with your account, which I'm sure that you do.

Get to choose 3d template. We're going to name it balloon beach. I always thought balloon wrong. Labels playing wrong now, but I'm not going to check and we're going to check the location I'm going to choose location of where to save again, choose just anywhere that you feel comfortable saving it on your hard drive. You can eat you can leave Google Analytics on or off. It doesn't really matter.

We're going to create Create Project usually will now create a new project and set everything up for us. Okay, so when you only start stuff, this is what you'll see. If you've never opened up before. Once again, you'll be overwhelmed, but don't worry, we'll get through it. Okay, the first thing we're going to do is we're just gonna do a little bit of tidying up. So I don't, you don't need to start off by creating a folder called scenes.

I don't really think we need that. So we're just going to delete that. Then we're going to drag in our project files. So just click them and drag them into the assets window here. Okay, fantastic. So now we have a new unity project.

With a that is all ready to rock and roll, we can press play and see what our game does. Right now it does nothing. So it's a camera in an empty space. We can see over here we have our services. So we have like unity ads turned off in the analytics, which turned on which was that that question at the stamp club is a bunch of other stuff that we don't really need to worry about. We can click over to The inspector inspector is something that we'll be using for most of the game.

So if I click on something like the camera, you can see all the information that we have for the camera that's in the game or the directional light. Over here, we have our scene, we have all the info, all the items that are now seen. Over here we have our scene view. So we can if you right click, you can like kind of move around the scene. If we wanted to, like, you know, add a cube, we could add a cube and we could like move it around. And you can see over here in the game game view, you can kind of see the cube.

If you wanted to make the cube bigger, you could come over to the cube up here and drag the X or you can drag the the y and the scale make it bigger or smaller. You could do whatever you like. Or you could Click these buttons up here. So you could get the Hand tool, move around. You got the actual code the move tool, we can move it along different accesses, so you can just, you know, grab that and just move around, you got the rotation tool, which, obviously you can rotate, and all these. All these work with messing around with the transform information up here.

So it's all just based on numbers. So for example, if I'll show you an example in a sec, but say if we also wanted to like grab, you can also grab the Scale tool. You can scale things like this pretty simply, and so on, you can just play around these tools if you like. But say if we wanted to, let's just delete this cube because we don't need it. So if we want to grab a new cube, and let's just say cube, and we wanted to make sure the cube was right in the center, we could change the x position to zero. Its y position to zero and the Z position to zero.

And now this is exactly in the center, and we know that the cube is one one has a width of it. x value of one, a y value of one and a Z value of one. So if we want to create another cube, copy, paste, now the cube, the other cube is inside the vacuum, and say if we just want it to be right next to the cube, we could just change the x scale to sorry, not the scale. Sorry, the position to to. Not once all right, so one, then we know that these two are right next to each other, which is pretty cool. Do you think that we need to worry about let's just delete them because we don't need them is down here we have our assets.

These are the the the items, I suppose you could say like our scripts, our audio, things like that things that are actually going to be in our game and included in the build. So if you like making a song and you wanna drag it in, you can just drag it in. We've got a console down here, which is used for debugging code. We'll be using this a fair bit. And we have animations which is used for creating like animations like, whatever we want to do like we want like a Bounce or something, we can create that in the animation section.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.