Hello, guys.
Welcome to the course again.
My name is Alex and this is Unity.
If you feel like inside of a spaceship, don't worry about it.
It's going to become very comfortable environment for you very soon.
And all of the stops and windows will be just a tool for you that you use to make video games.
And again, you don't need to understand everything we're doing because with the time, eventually your
brain will just absorb the information and soon it will be just like, Wow, I know this, I did this
before, so please don't sweat it out.
Take your time.
And let's begin with simple.
Let's go to window layouts.
Two by three.
There are different layouts, but I prefer this one for 2D games because you can see your game window
and see in the window at the same time.
All right, I'm going to resize them a bit.
And before we continue, let's import unity package that I attach to this video and mine is on the desktop,
my very messy desktop somewhere.
Uh, or is it here?
How?
Import it.
Make sure you select all.
There are some audio we're going to use later and there is a Sprite for player that we are also going
to use later.
Click, import and reload.
In the project window, you can find all of the files that can be used in your game.
Anything you add to your project is going to be here.
For example, now we have graphics and audio in there, right in the hierarchy.
Over here you can see all of the game objects that are in the scene at the moment.
So right now we can see main camera that allows us to see the game.
There is a square, square one and square two on the right side, you can see Inspector, we use it
to inspect the game objects.
For example, square over here has two components transform enterprise renderer and I can see it in
the inspector.
We can add different components in here, but we're going to talk about them a bit later.
For now, we have just transform component, which is responsible for position of the object for its
rotation and a scale.
And if I change X over here, you can see immediately that my square moves to the left.
If I change it to the bigger value, it moves to the right and we can see changes in the scene window
and in the game window.
If I change Sprite renderer, let's say color, we can see changes as well.
Now there is a game window and a CIN window in the game window.
We see what camera sees, what player will see when he plays the game.
And in the scene window we can see everything that is, let's say, behind the curtain.
All right.
So we do all of the setup here.
For example, we need to move the square, we move it here.
We need to change the size, we move it, we can change it here and place, objects and so on.
So we don't have to change this X and Y in the inspector all the time.
It is easier to do it here.
I'm going to resize it a bit.
And if I click right mouse button over here and choose horizontal, this will become horizontal.
And I need it to explain the tools and their hotkeys.
It is very easy to remember them because we have view tool move to rotate tool scale, tool, rectal
and transform tool one after each other, just like a keys on the keyboard.
And watch this.
This is q w.
E.
R.
T y.
All right.
It's very easy to switch between them and very easy to remember them.
Now, what is a Q?
What is a view tool?
View tool allows us to navigate around the scene just like that move tool allows us to move the object.
So if I select the square, we can see this gizmo over here with the arrows and now I can move the object.
There is a rotation tool on the E and we can rotate it.
Then I press control Z to change it.
Back then there is a T scale tool which allows us to scale the object, but for scaling I prefer to
use Inspector.
I can put more precise value here to define what size I need.
And there is a tool which allows us to drag object like this to change its scale as well.
Very useful.
We're going to use it a lot for making platforms in this game.
Right.
And something else I want to say here to navigate around this scene, you don't need to choose View
tool every time you can just hold your will button on your mouse like that and navigate around.
That is very easy to do, right?
That is much more comfortable.
So let's say, and when I move my square, I change my view somewhere here.
So I just use my mouse for this.
Then I can rotate and change it again and so on.
Very useful, very easy to remember.
And basically that's all what I want to share in this video.
Thank you for attention.
And let's go to the next video.
Let's make something.