WEBVTT

00:00.080 --> 00:00.620
Hello guys.

00:00.620 --> 00:01.640
Welcome to the video.

00:01.640 --> 00:03.500
In this one you're going to do something simple.

00:03.500 --> 00:07.430
We're going to get assets that we're going to use to make this platformer game.

00:07.430 --> 00:13.490
For that we have to go to this button asset store and find button asset store web.

00:13.520 --> 00:16.820
If you don't have this button here for some reason.

00:17.480 --> 00:21.200
You can just go to window and find Asset Store over here.

00:21.200 --> 00:27.260
So once you click it, it's supposed to open Asset store inside of unity or in the browser.

00:27.260 --> 00:30.140
I always prefer to work with it in the browser.

00:30.140 --> 00:31.730
This is more comfortable for me.

00:31.730 --> 00:34.640
So here is my web page with the asset store.

00:34.640 --> 00:37.310
Here you can see the link if you need it.

00:37.310 --> 00:41.720
And then in the search field over here we have to type Pixel Adventure.

00:41.720 --> 00:44.540
Now it's going to find the asset we're going to use.

00:45.560 --> 00:48.710
It's quite a while for me for some reason, but I know it's there.

00:48.740 --> 00:49.100
Okay.

00:49.100 --> 00:49.760
Don't know what's up.

00:49.760 --> 00:50.660
Let me try again.

00:50.660 --> 00:52.400
I'm just going to update asset store.

00:53.410 --> 00:54.670
Supposed to be faster.

00:54.700 --> 00:59.140
Okay, I'm not sure what's up with this one, so I'm just going to try to do it in a different browser.

00:59.140 --> 01:00.490
And it's supposed to work.

01:00.730 --> 01:03.490
Unity asset store.

01:04.160 --> 01:04.670
Yeah.

01:04.700 --> 01:05.510
All right.

01:05.510 --> 01:07.700
So let's just try to dive here.

01:07.700 --> 01:08.480
Pixel.

01:11.470 --> 01:12.880
This one works a bit faster.

01:12.880 --> 01:14.260
That's interesting.

01:14.990 --> 01:17.360
Actually, we need Pixel Adventure.

01:19.550 --> 01:24.740
And over here we have two assets Pixel Adventure one and Pixel Adventure two.

01:25.250 --> 01:28.160
For me, I'm going to copy link and open in the edge.

01:28.160 --> 01:30.710
Because edge is connected to my unity.

01:30.710 --> 01:33.050
I believe I have the logged in here.

01:33.050 --> 01:33.920
Yes.

01:33.920 --> 01:35.690
So this is the asset we need.

01:35.690 --> 01:39.980
I'm going to attach link to this lecture so you can get it if you can't find it yourself.

01:39.980 --> 01:44.510
And then over here uh, yours will say something like add to my assets.

01:44.510 --> 01:49.370
But mine says open in unity because I already have it in my, you know, among my assets.

01:49.370 --> 01:52.970
So I'm going to click Open in Unity and it will pop up like that.

01:52.970 --> 01:57.350
And here we'll have to download it and then install it.

01:57.470 --> 02:01.160
So after you finish downloading over here you click import.

02:01.700 --> 02:06.740
And then we can choose everything except this demo scene at the bottom.

02:06.740 --> 02:07.580
We don't need it.

02:07.580 --> 02:10.430
It is just the set of all sprites together.

02:10.430 --> 02:11.660
We don't really need to see them.

02:11.660 --> 02:12.230
That's okay.

02:12.230 --> 02:19.760
So let's click import and while it is importing, let's go back and find the second link that we have

02:19.760 --> 02:20.600
there.

02:22.120 --> 02:23.290
Okay, so here it is.

02:23.290 --> 02:25.210
Pixel adventure two again.

02:25.210 --> 02:29.830
For some reason it opens only in this browser for me, but for you it should be fine.

02:29.830 --> 02:34.420
So you get that and you just type it here just like that.

02:35.020 --> 02:37.300
Here I have the second set of these assets.

02:37.300 --> 02:40.690
This one contains mostly enemies, but we're going to use some of them.

02:40.690 --> 02:42.310
So let's get this asset as well.

02:42.310 --> 02:44.770
I'm going to click Open in Unity here.

02:44.770 --> 02:48.280
We also need to download it and then import to project.

02:48.280 --> 02:53.920
Let's just uh uncheck this scene and demo and click import.

02:57.640 --> 02:58.480
Very nice.

02:58.480 --> 02:59.740
Very, very good.

02:59.770 --> 03:01.510
Now let's close this.

03:01.510 --> 03:05.770
And we've got two folders Pixel Adventure one and Pixel Adventure two.

03:05.800 --> 03:08.500
This will be a bit difficult to manage if they are like that.

03:08.500 --> 03:12.460
So somehow we need to bring them all together in one folder.

03:12.490 --> 03:18.250
For that I'm going to create folder here and I'm going to call it graphics.

03:19.540 --> 03:22.600
And then I'm going to click create button Show in explorer.

03:22.600 --> 03:26.710
And over here in the assets I'm going to choose Pixel Adventure one.

03:27.620 --> 03:29.720
Here I'm going to select all of the assets.

03:29.720 --> 03:32.540
And I'm going to click right button and press cut.

03:32.660 --> 03:35.750
Then I'm going to go back to Assets Graphics.

03:35.750 --> 03:38.240
And I want to paste this in here.

03:39.620 --> 03:41.240
Then let's go back to assets.

03:41.240 --> 03:48.680
Find Pixel Adventure two assets and we can just take this folder with enemies, cut them, go back to

03:48.680 --> 03:51.890
Assets Graphics and paste it in here.

03:52.720 --> 03:53.920
And just like that.

03:54.190 --> 03:54.880
Very good.

03:54.880 --> 04:01.180
Now, if we go back to unity, we have everything arranged under the same folder, which is pretty clean

04:01.180 --> 04:02.380
and useful for us.

04:02.710 --> 04:03.430
There it is.

04:03.430 --> 04:06.010
Graphics with characters, enemies, everything.

04:06.010 --> 04:10.240
And these two folders are empty so we can safely delete them.

04:11.870 --> 04:12.740
Very nice.

04:12.740 --> 04:14.720
Now we're almost done with these assets.

04:14.720 --> 04:19.220
We just need to do one single step to make it work correctly.

04:19.220 --> 04:22.280
And I'm going to show you one single step for one set of sprites.

04:22.280 --> 04:24.770
And then I will ask you to do it for other sprites.

04:24.770 --> 04:28.760
So let's go to graphics main character.

04:28.760 --> 04:31.790
And here we have four different main characters.

04:31.790 --> 04:34.160
You can choose which one you want to work with.

04:34.190 --> 04:35.990
There is this mask dude.

04:35.990 --> 04:41.360
There is a ninja frog, there is a pink man and there is a virtual guy.

04:41.480 --> 04:47.060
It doesn't matter which one you choose because they have, uh, this very same set of animations.

04:47.060 --> 04:51.530
So we can set up any of them first, and then I'm going to show you how to make changeable skin for

04:51.530 --> 04:52.190
the character.

04:52.190 --> 04:55.700
So it doesn't really matter what you choose because we can always switch it later on.

04:55.700 --> 04:57.350
Now let's go here to the left.

04:57.350 --> 05:01.520
And instead of three aspect, I want to choose 1920 by 1080.

05:01.550 --> 05:05.600
This is the most common resolution that people use on computers or mobile phones.

05:05.600 --> 05:07.670
So this will work very well for us.

05:07.670 --> 05:13.040
Now let's take this sprite, maybe this full sprite, and drag it into the scene like that.

05:13.040 --> 05:15.500
And first of all, we can see it is very small.

05:15.500 --> 05:20.660
If you cannot see it on your screen at all, you just go here to transform and click reset.

05:20.660 --> 05:20.990
Okay.

05:20.990 --> 05:22.220
It's going to be in the middle.

05:23.700 --> 05:29.910
Now it is very small because of the pixel per unit we have set over here by default.

05:29.910 --> 05:37.080
What we need to do to change it is to select it, type 16 and hit apply and this will make it bigger.

05:37.080 --> 05:38.940
This will make it as it's supposed to be.

05:38.940 --> 05:43.230
And we're going to work with this pixel per unit on all of the sprites.

05:43.230 --> 05:49.260
Now we have to take all of them because others are small so we cannot see them.

05:49.260 --> 05:50.160
I'm sorry for that.

05:50.160 --> 05:52.020
So let's take all of them.

05:52.020 --> 05:54.750
Choose pixel per unit 16 and hit apply.

05:54.750 --> 05:55.650
Very good.

05:55.650 --> 06:00.690
Now your task would be to go to the other assets if you're going to use them like Ninja Frog and Pink

06:00.690 --> 06:04.050
Man, and do that for that sprites as well.

06:04.050 --> 06:04.500
Okay.

06:04.500 --> 06:05.280
Very good.

06:05.280 --> 06:07.350
There is nothing else we're going to do in this video.

06:07.350 --> 06:08.490
So we're done.

06:08.490 --> 06:09.540
Let's go to the next one.

06:09.540 --> 06:12.330
We're going to discuss Windows and Tools of Unity.

06:12.330 --> 06:13.260
I'll see you there.
