WEBVTT

00:00.000 --> 00:04.800
We're going to add a box Collider 2D, and we're going to set it to trigger something like this much.

00:04.800 --> 00:06.080
We're going to create Y.

00:06.080 --> 00:12.480
We're going to create, uh, because, uh, if we just collide with this box Collider 2D, then we're

00:12.480 --> 00:14.040
going to spawn the next one.

00:14.040 --> 00:17.520
So that's why we're going to create in order to set up the logic.

00:17.800 --> 00:20.560
So let's select our ground underscore one GameObject.

00:20.560 --> 00:23.880
So make basically make sure you just select the parent GameObject.

00:24.320 --> 00:27.160
Uh select that and then go over to Inspector.

00:27.200 --> 00:29.080
Then click on this add component.

00:29.080 --> 00:32.120
And we're going to add a component box Collider 2D.

00:32.120 --> 00:34.040
So let's find Box Collider 2D.

00:34.040 --> 00:36.360
And let's attach that by hitting enter.

00:36.560 --> 00:39.040
As you can see now we attach.

00:39.040 --> 00:43.360
So we're going to adjust this collider 2D as the size of our ground.

00:43.360 --> 00:45.560
And we're going to make it something like this.

00:45.560 --> 00:49.400
So let's go to Box Collider 2D and then click on this Edit Collider.

00:49.400 --> 00:52.600
And we're going to edit the Collider something like this.

00:54.680 --> 00:59.770
And now sorry we're going to move this one.

01:02.530 --> 01:03.130
I don't know.

01:03.650 --> 01:05.490
We need to move it over here.

01:06.490 --> 01:09.250
Let's move it down a little bit.

01:10.010 --> 01:11.970
We just want to fit our area.

01:11.970 --> 01:15.130
So that's why something like this much.

01:15.450 --> 01:18.450
And in the why we're going to trigger it.

01:18.450 --> 01:23.210
Some thing like this and this is okay.

01:23.210 --> 01:25.130
And we're going to move this one here.

01:28.010 --> 01:31.130
I don't know why we not able to move this.

01:37.730 --> 01:45.890
So we can just set this up so you can move over to this box Collider 2D then offset.

01:45.890 --> 01:49.290
You can just play around with this and you're going to get it.

01:49.850 --> 01:52.290
And we can see this is fine now.

01:52.570 --> 01:56.010
And from the bottom we're going to move it something like this much.

01:56.370 --> 02:01.190
So let's select the bottom and we're going to move it something like this.

02:01.190 --> 02:08.310
Or you we can just leave it like this as well and make sure you just take this trigger box or else our

02:08.350 --> 02:14.790
player game object just gonna, uh, register or this player game object not gonna able to enter this

02:14.790 --> 02:16.070
box Collider 2D.

02:16.070 --> 02:21.430
So make sure you just go to Box Collider 2D component and then it's trigger and check it.

02:21.430 --> 02:24.790
So this player game object easily can pass through this box.

02:24.790 --> 02:29.150
Collider 2D or easily can enter this box Collider 2D.

02:29.150 --> 02:35.070
So when this player game object just collide with this ground or collide with this box Collider 2D,

02:35.110 --> 02:40.310
as you can see, we attach, then we're gonna spawn the next one from this position.

02:40.310 --> 02:42.910
So we also created a next position.

02:42.910 --> 02:47.230
If you haven't then select the ground underscore one basically the parent.

02:47.230 --> 02:51.390
So select that right click on it and then create an empty game object.

02:51.390 --> 02:55.110
And then move that game object something over here.

02:55.150 --> 02:59.480
And if you just want to choose an icon, then select the game object.

02:59.480 --> 03:00.720
Then go over to Inspector.

03:00.720 --> 03:05.840
Click over here in order to choose an icon and name it to something like Next Position.

03:05.840 --> 03:09.040
As you can see, I just name it to next position.

03:09.040 --> 03:15.840
So firstly create an empty game object and then move it somewhere around here or the gap that you just

03:15.840 --> 03:18.640
want to have to spawn the next ground.

03:18.640 --> 03:19.840
So you can just play around.

03:19.840 --> 03:25.840
You can move this point or this game object or this position further away from this ground.

03:25.840 --> 03:31.760
So uh, the next ground just gonna spawn that, spawn that from that position.

03:31.760 --> 03:34.880
So that's why I just created, as you can see.

03:35.360 --> 03:41.680
So this is the cool thing, uh, because I just want to spawn the next round from this position, so

03:41.680 --> 03:48.040
just, uh, so that is the reason I just move it over here and also name it to something like Next position,

03:48.040 --> 03:52.960
as I did over here to just distinguish distinguish easily.

03:53.480 --> 03:54.500
And that's it.

03:54.860 --> 04:01.500
Uh, so, uh, so why we attach this box collider 2D to this ground, underscore one game object, because

04:01.500 --> 04:06.300
we want to check if this player game object just trigger with this box Collider 2D.

04:06.300 --> 04:11.700
Then we're going to spawn the next round from this position or from somewhere over here.

04:11.700 --> 04:13.820
So that's why we just set it up.

04:13.860 --> 04:20.660
The logic also what we want to do, we just want to assign this ground underscore one game object with

04:20.660 --> 04:22.140
something else tag.

04:22.300 --> 04:29.220
So we're gonna tag this ground underscore one game object something like like like that box we can say.

04:29.420 --> 04:33.820
So let's make sure you select the parent game object first in the hierarchy.

04:33.820 --> 04:35.900
Then go over to Inspector, then tag.

04:35.940 --> 04:38.500
It says un tag as you can see.

04:38.500 --> 04:41.140
So just click there and then click on this add tag.

04:41.140 --> 04:42.540
And we're going to add a tag.

04:42.540 --> 04:45.220
So click on this plus icon in the inspector.

04:45.220 --> 04:47.740
And we have to name the tag what we want.

04:47.780 --> 04:51.220
So we're going to call it something like box box.

04:51.340 --> 04:52.430
Uh something like that.

04:52.430 --> 04:57.310
We're going to call and let's click on that save and make sure you select the parent game object one

04:57.310 --> 04:57.790
more time.

04:57.790 --> 05:02.190
So in my case this crown underscore one game object in the hierarchy.

05:02.190 --> 05:05.470
So select that game object in the hierarchy the parent game object.

05:05.590 --> 05:08.710
Then move over to Inspector one more time and tag.

05:08.750 --> 05:10.550
As you can see it says untagged.

05:10.550 --> 05:13.230
So click there and we're going to assign it to box.

05:13.230 --> 05:16.150
What I just recently named it as you can see.

05:16.150 --> 05:21.270
So I assign it this crown underscore one game object as a box tag.

05:22.030 --> 05:23.870
You can see in Inspector.

05:23.870 --> 05:30.430
So why I just assign it this crown underscore one object as a box tag because I just want to distinct

05:30.470 --> 05:31.350
distinguish.

05:31.350 --> 05:37.550
Basically if this player game object collide with this box tag or this Collider 2D, as we attach this

05:37.550 --> 05:42.030
box, Collider 2D, as you can see, then we're going to spawn the next one.

05:42.030 --> 05:48.750
So that's why I just assigned this box Collider 2D or this one or this crown the parent game object

05:48.750 --> 05:54.970
as a box tag, as you can see in the inspector, you can just assign it with any tag that you would

05:54.970 --> 05:55.930
like to go with.

05:55.970 --> 05:57.970
It's basically totally up to you.

05:58.370 --> 06:00.010
And this is awesome things.

06:00.010 --> 06:03.090
And make sure you just go to Inspector then overrides.

06:03.130 --> 06:08.770
Select the parent game object first in the hierarchy, then go to Inspector overrides, click overrides

06:08.770 --> 06:10.050
and then apply all.

06:10.050 --> 06:16.890
So the changes we made over here, it's gonna save into prefab of this ground underscore one object

06:16.930 --> 06:18.010
as well.

06:18.250 --> 06:24.810
And we can just play our game in order to check out if the player game object is able to just passes

06:25.210 --> 06:27.770
passes through this box, Collider 2D or not.

06:27.770 --> 06:28.850
So let's check it.

06:28.850 --> 06:32.810
So we're going to click on this play button in the top in order to see that.

06:35.210 --> 06:37.010
So just wait for it to compile.

06:37.130 --> 06:37.570
Sorry.

06:37.610 --> 06:39.930
Just wait for it to play our game.

06:40.570 --> 06:41.650
We can see.

06:41.650 --> 06:45.570
So make sure you just go to a box collider and then check this trigger.

06:45.570 --> 06:48.740
So as you can see we are able to enter this box.

06:48.740 --> 06:49.540
Collider 2D.

06:49.580 --> 06:50.060
Why?

06:50.100 --> 06:52.260
Because we just move it over to this box.

06:52.260 --> 06:55.180
So later 2D and we just set its trigger to true.

06:55.180 --> 06:56.140
So that's why.

06:56.180 --> 07:00.700
And we easily can pass it through this box Collider 2D as you can see.

07:00.700 --> 07:06.900
So make sure you just go to Box Collider 2D and check this trigger to check basically means true or

07:06.940 --> 07:10.540
else why this player game object not going to able to enter this box.

07:10.540 --> 07:11.900
Collider 2D.

07:11.900 --> 07:16.220
So let's get out of play mode and let's create the other ground as well.

07:16.220 --> 07:21.900
So what we can simply do we can select our ground, underscore one GameObject or basically the parent

07:21.940 --> 07:23.180
of ground GameObject.

07:23.180 --> 07:25.060
And we can press down in order.

07:25.140 --> 07:28.660
Press Down control D in order to duplicate one.

07:28.660 --> 07:30.620
And we can select the duplicate one.

07:30.620 --> 07:33.140
And we can just move it somewhere around here.

07:33.340 --> 07:36.780
But instead of doing this, we're going to do something else.

07:36.780 --> 07:40.020
And we're going to approach something else something like that.

07:40.020 --> 07:44.420
So what we will do, we will select our duplicate one and let's delete that.

07:44.700 --> 07:45.860
And why we delete it.

07:45.860 --> 07:51.550
Because if we select our crown and the changes we made in this parent game object and then go over to

07:51.590 --> 07:54.310
Inspector Overrides and then click on Apply All.

07:54.310 --> 08:00.310
So the changes we made in this game object, it's going to save into duplicate as well.

08:00.310 --> 08:01.590
And we don't want that.

08:01.590 --> 08:07.830
We're gonna have multiple types of ground some some gonna have green grasses something like that.

08:07.830 --> 08:13.350
So that is the reason we're gonna do we're gonna duplicate that game object from that prefab folder.

08:13.350 --> 08:19.670
Because if we duplicate this in our hierarchy and then change some settings in our the first one, then

08:19.710 --> 08:23.350
move over to this inspector overrides and then click on Apply All.

08:23.350 --> 08:27.830
So the changes we made it's gonna save into duplicate one as well.

08:27.830 --> 08:30.990
And we don't want to uh happen that.

08:30.990 --> 08:36.070
So that's why we're gonna duplicate this ground underscore one game object in our prefab mode.

08:36.070 --> 08:41.190
Basically what we have to do, we need to move over to this project tab, then assets folder.

08:41.190 --> 08:46.570
And then let's move over to this prefabs folder basically where we just made it prefab.

08:46.570 --> 08:52.850
So in our case this prefab folder, as you can see, and we have the ground underscore one game object.

08:52.850 --> 08:56.450
So we're going to open that up by double clicking on it or what.

08:56.490 --> 09:01.210
Simply we can do we can select that ground underscore one game object or that ground.

09:01.210 --> 09:04.890
And we can simply press down Ctrl D in order to duplicate.

09:04.890 --> 09:11.090
So we just duplicating from here uh because we don't want to change or we're going to have multiple

09:11.130 --> 09:12.130
types of ground.

09:12.130 --> 09:17.330
So that's why we just duplicating over here instead of doing in our hierarchy.

09:17.330 --> 09:20.410
So we're going to select our ground prefab game object.

09:20.410 --> 09:21.930
So or the tile map.

09:21.970 --> 09:24.210
As you can see we have it over here.

09:24.210 --> 09:25.250
We're going to select that.

09:25.250 --> 09:28.610
And then we're going to press down Ctrl D in order to duplicate.

09:28.610 --> 09:31.290
And now we're going to select our duplicate one.

09:31.290 --> 09:33.370
And then we're going to name it to something else.

09:33.370 --> 09:35.090
So you can just right click on it.

09:35.090 --> 09:37.250
Then click on this rename in the top.

09:37.250 --> 09:40.450
And we're going to name it something like ground Underscore one.

09:40.450 --> 09:46.620
So we're going to name it ground Underscore sorry, we're not going to name it underscore one.

09:46.620 --> 09:49.220
Basically this one is underscore one.

09:49.220 --> 09:53.380
So the duplicate one we're going to name it something like underscore two.

09:53.620 --> 09:58.420
So let's call it underscore two and hit enter in order to save the name.

09:58.420 --> 10:02.620
And then we're going to select our ground underscore two game object from that folder.

10:02.620 --> 10:04.220
So in our case prefab.

10:04.340 --> 10:08.500
So let's select that and drag it over to the scene view or into hierarchy.

10:08.660 --> 10:13.900
And I'm going to move the this ground underscore two GameObject in our hierarchy.

10:13.900 --> 10:16.260
And I'm going to move it something over here.

10:16.260 --> 10:18.900
Now we can just change around this ground.

10:18.900 --> 10:25.180
And it's going to not going to save into this one or the first one because this is the duplicate one.

10:25.180 --> 10:27.900
And we just duplicate it from that prefab folder.

10:27.900 --> 10:32.660
So whatever changes we're going to make and then move over to this overwrite in the inspector.

10:32.700 --> 10:34.620
Then click on this apply all.

10:34.620 --> 10:39.260
So the change is just going to be saved into this duplicate uh into this one.

10:39.260 --> 10:45.200
And it's not going to change or it's not going to influence any way to the first one.

10:45.200 --> 10:51.720
So that's why we just have done instead of duplicating from in hierarchy, we just duplicate it from

10:51.720 --> 10:56.680
that prefab folder and we're going to select our ground underscore two game object.

10:56.680 --> 10:59.880
And we're going to play or just going to change a little bit.

11:00.120 --> 11:02.880
So let's select our ground underscore two game object.

11:02.880 --> 11:05.520
And let's click over here in order to expand.

11:05.520 --> 11:09.120
And let's move over to this crate and this ground tiles.

11:09.120 --> 11:11.320
Or you can select the simply grids.

11:11.520 --> 11:15.640
And in this interview you're just going to able to see this open tile palette.

11:15.640 --> 11:17.560
And I'm going to move this here.

11:17.560 --> 11:22.000
And let's click on this Open Tile palette in order to open up our tile palette.

11:22.200 --> 11:28.080
And we can just rearrange this ground in order to make a different type of ground tiles.

11:28.840 --> 11:31.920
So I'm going to make it this one green something like that.

11:34.160 --> 11:38.840
And now and I have it over here.

11:42.410 --> 11:49.490
And and you can just move this next position or that you just created an empty something over here.

11:49.810 --> 11:56.050
Uh, so the next, uh, just going to spawn from that position, uh, if you just want to have different

11:56.050 --> 11:59.530
type of grounds, then you can just play around this next position.

11:59.530 --> 12:03.770
So make sure you just drag it from the ground a little bit further away.

12:03.890 --> 12:06.930
So you're gonna have the, uh, gap.

12:07.170 --> 12:09.450
So it's going to be perfect for that.

12:09.770 --> 12:11.450
So basically that is the thing.

12:11.450 --> 12:15.850
So what I'm gonna do, I'm gonna move this next position, something over here.

12:15.850 --> 12:20.530
So let's select our next position underneath our crown underscore two game object.

12:20.530 --> 12:23.450
And I'm going to cut this open tile palette for now.

12:23.450 --> 12:25.330
Or that tile palette tab.

12:25.570 --> 12:27.650
And let's select the move tool from here.

12:27.650 --> 12:31.090
And I'm gonna move this next position something over here.

12:31.090 --> 12:35.930
So the next uh crown just going to spawn from that position from this position.

12:35.930 --> 12:40.110
So you can just play around with that because I just want to expand this round.

12:40.110 --> 12:44.870
So that's why I just move it this next position a little bit further away.

12:45.030 --> 12:47.550
So let's place our tiles.

12:47.550 --> 12:49.270
So let's select the create.

12:49.430 --> 12:51.910
And we're going to click on this open tile palette.

12:52.630 --> 12:55.590
And what I'm going to do I'm going to copy this.

12:56.510 --> 13:02.030
And sorry we need to select this tool which is the mark or pick tool.

13:02.030 --> 13:05.110
And the shortcut key you can see is the right eye.

13:05.710 --> 13:07.230
So I'm going to select this.

13:07.230 --> 13:13.390
And I'm sorry we need to select our round tiles or this tile map underneath our game object a grid game

13:13.430 --> 13:15.590
object first in our hierarchy.

13:15.830 --> 13:17.030
Then we can do so.

13:17.030 --> 13:21.590
Now we're going to select this and we're going to paste it something like this much.

13:21.870 --> 13:27.510
And make sure you just make make it a little bit gap between this next position and the ground.

13:27.510 --> 13:30.790
So we're going to have the gap and it's going to be perfect for that.

13:32.150 --> 13:38.560
So let's drag and I want this to be here.

13:41.720 --> 13:43.240
And I'm gonna erase this.

13:43.240 --> 13:43.800
Styles.

13:46.040 --> 13:46.640
And.

13:48.760 --> 13:50.560
This is awesome.

14:02.200 --> 14:05.800
And I want this one to be here.

14:06.320 --> 14:10.320
I want this, uh, basically green over here.

14:10.320 --> 14:12.280
So I'm going to replace that.

14:12.280 --> 14:15.880
So we're going to select our, uh, print styles from here.

14:16.200 --> 14:19.560
And we can just paste it something like this.

14:19.920 --> 14:25.000
And this is, uh, this seems awesome as you can see.

14:26.760 --> 14:29.080
And we can just paste it here.

14:36.490 --> 14:38.370
Dee dee dee dee dee dee dee dee dee.

14:43.770 --> 14:45.130
I guess this is fine.

14:45.130 --> 14:48.010
Now we're gonna select our grass tile map.

14:48.290 --> 14:53.770
Uh, from that underneath our grid game object, and we're going to paste our, uh, grass.

14:53.970 --> 14:57.930
And we're not going to attach any collider 2D from this grass, basically.

14:57.930 --> 14:58.890
Tilemap Collider.

14:59.130 --> 15:01.050
Uh, and we don't want to do that.

15:01.050 --> 15:04.690
Basically, we're not going to attach any collider to this ground.

15:04.690 --> 15:09.170
So this player game object just gonna easily passes through this grass.

15:09.170 --> 15:13.690
You can simply say, so that's why we just created an another tile map.

15:13.850 --> 15:18.490
Uh, so basically what you have to do, you need to select the grid GameObject first.

15:18.490 --> 15:24.090
Right click on it, then go to 2D object, then Tile Map over here as you can see.

15:24.130 --> 15:29.170
And then choose this rectangular and you can just rename it to something like grasses.

15:29.170 --> 15:35.870
Or you can just name it to something like steps if you just want to have something like a box somewhere

15:35.910 --> 15:43.110
over here or some trees, then you can do and do and make sure you just don't add any collider to that

15:43.110 --> 15:48.190
one, or else your player game object just gonna stack on that.

15:48.190 --> 15:52.030
So that's why and we're going to paste our grasses.

15:52.030 --> 15:57.030
So we're going to select our grass underneath our create GameObject in our hierarchy.

15:57.030 --> 15:59.350
And we're going to paste our grass by now.

15:59.350 --> 16:06.030
So we're going to move uh we're going to paste it here and let's paste it.

16:06.910 --> 16:08.310
This seems awesome.

16:09.910 --> 16:12.790
And we're going to paste this grasses.

16:16.110 --> 16:19.990
And as you can see this one seems pretty nice.

16:20.310 --> 16:22.430
Uh pretty nice as you can see.

16:22.790 --> 16:23.990
So this is cool.

16:24.230 --> 16:27.670
And we can also just play around with this as well.

16:28.510 --> 16:30.510
And now what I'm going to do.

16:30.510 --> 16:34.240
So Make sure you select your ground underscore two game object by now.

16:34.520 --> 16:37.400
And and we just forgot to do that.

16:37.400 --> 16:41.720
Basically we need to adjust this box collider as the size of our ground.

16:41.720 --> 16:47.480
Basically we need to make it a little bit uh or we just need to little bit expand in.

16:47.480 --> 16:51.600
The x axis is as you can see, it's not fitting perfectly.

16:51.600 --> 16:52.800
So we need to do that.

16:52.800 --> 16:58.120
So we're going to select our ground or the parent game object first then move over to Inspector Box

16:58.120 --> 16:59.040
Collider 2D.

16:59.040 --> 17:04.160
And then we're going to edit the Collider something this we're going to move it here in order to fit

17:04.160 --> 17:05.080
it perfectly.

17:05.080 --> 17:07.360
So we're going to move it something like this.

17:07.360 --> 17:13.560
Because once this player game object let's suppose trigger out, then we're going to delete this destroying

17:13.560 --> 17:16.720
what is left behind from this player game object.

17:16.720 --> 17:19.400
We're going to destroy after some period of time.

17:19.560 --> 17:23.640
And once this player game object just enter this box Collider 2D.

17:23.680 --> 17:27.360
Then we're going to spawn the next ground from this position.

17:27.360 --> 17:32.580
So that's why we created an empty game object and we just name it to.

17:32.700 --> 17:35.380
We just named it to Next Position.

17:35.740 --> 17:41.740
So now we're going to select our box this ground underscore two GameObject in our hierarchy.

17:41.740 --> 17:45.260
Let's go to Inspector Overrides and then click on Apply All.

17:45.260 --> 17:49.540
So the changes you're gonna make a it's going to be saved into this ground.

17:49.580 --> 17:53.420
And also underscore two GameObject prefab as well.

17:53.420 --> 17:55.620
So now we're going to create the next ground.

17:55.620 --> 17:57.180
And what we will do.

17:57.540 --> 17:59.980
Uh we're going to delete this one.

18:00.260 --> 18:03.700
Uh for now we're going to select our ground underscore two GameObject.

18:03.700 --> 18:05.380
And I'm going to delete that one.

18:05.740 --> 18:11.460
And uh make sure you just go to that prefab folder and you just made it, uh, make sure you select

18:11.460 --> 18:14.540
the prefab and then control D in order to duplicate.

18:14.540 --> 18:20.100
And don't do it in this in hierarchy because we're going to have multiple types of ground.

18:20.100 --> 18:22.020
So that's why we need to do that.

18:22.020 --> 18:24.460
So we're going to move over to this prefabs folder.

18:24.460 --> 18:26.780
And we're going to select this ground underscore two.

18:26.820 --> 18:31.350
Or you can simply select the first one as well, which is the underscore one.

18:31.350 --> 18:34.470
But I'm going to select my this which is the duplicate one.

18:34.950 --> 18:36.710
Uh or sorry, not duplicate one.

18:36.710 --> 18:39.510
Basically the second graph I'm going to select that.

18:39.510 --> 18:43.030
And we're going to press down Ctrl D in order to duplicate.

18:43.030 --> 18:45.190
And we're going to select our duplicate one.

18:45.190 --> 18:47.470
And let's rename that to something else.

18:47.470 --> 18:48.750
So we're going to select that.

18:48.750 --> 18:49.870
Let's right click on it.

18:49.870 --> 18:51.910
Then click on this rename in the top.

18:52.030 --> 18:55.870
And I'm going to name it to something like round Underscore three.

18:56.350 --> 18:58.990
And we're going to select our underscore three.

18:59.030 --> 19:00.070
Now by now.

19:00.070 --> 19:05.310
Or you can just simply double click on it in order to open it up in prefab mode.

19:05.310 --> 19:07.750
And you can just play like this.

19:07.750 --> 19:13.070
But instead of doing that I'm going to approach a second way to do it.

19:13.070 --> 19:17.030
So in hierarchy you're going to see an arrow icon to go back.

19:17.030 --> 19:20.670
So just click on that in order to move over to this scene view.

19:20.710 --> 19:26.450
As you can see now I'm going to select my underscore three game object from that prefab folder.

19:26.450 --> 19:28.530
And I'm going to drag it in this hierarchy.

19:28.770 --> 19:33.770
And I'm going to move this one from here by selecting this move tool here.

19:35.370 --> 19:36.210
And uh.

19:36.410 --> 19:38.250
And I'm going to remove this crown.

19:38.250 --> 19:39.610
So what I'm going to do.

19:39.610 --> 19:40.770
So let's select the crown.

19:40.810 --> 19:44.250
Underscore three then create and crown tiles.

19:44.450 --> 19:46.490
And I'm going to remove these tiles.

19:47.130 --> 19:48.810
So let's do that.

19:49.650 --> 19:55.610
Let's click on this open tile palette and I'm gonna replace that.

19:55.930 --> 19:58.250
So let's select the eraser tool from here.

19:58.570 --> 19:59.530
And we're going to move.

19:59.610 --> 20:01.010
We're gonna erase this.

20:03.890 --> 20:05.850
Something like this much.

20:07.210 --> 20:09.930
And this seems pretty great.

20:11.210 --> 20:15.250
And we also need to remove this grasses as you can see.

20:15.250 --> 20:17.130
So let's select the grass tile map.

20:17.170 --> 20:19.130
Underneath our grid game object.

20:19.290 --> 20:22.450
And let's select the eraser tool from this tile palette.

20:22.450 --> 20:24.020
And we're going to erase it.

20:24.340 --> 20:26.580
So we're going to erase it like this.

20:27.060 --> 20:29.540
And this is this seems fine now.

20:30.020 --> 20:32.620
So we need to adjust it over here.

20:32.620 --> 20:34.740
So let's select the ground trials.

20:35.100 --> 20:39.340
And we're going to select the edges of the tiles edges tiles.

20:39.500 --> 20:40.980
So this basically this.

20:41.620 --> 20:44.460
And we're going to paste it something like this.

20:44.660 --> 20:46.340
And this seems pretty much cool.

20:46.700 --> 20:47.940
As you can see.

20:48.660 --> 20:50.500
And I guess this is fine.

20:50.940 --> 20:57.980
And I'm going to have a some you can say ropes and empty space somewhere around here.

20:57.980 --> 21:00.020
I'm going to do that basically.

21:00.180 --> 21:05.860
So what I'm going to do I'm going to select my ground tiles or this tile map, and I'm going to have

21:06.420 --> 21:10.380
some, a pendulum, something like that.

21:10.540 --> 21:15.740
So I'm going to select this and I'm going to move this one here I guess.

21:16.420 --> 21:21.140
And I'm going to move this uh or what we can simply do.

21:21.140 --> 21:24.310
You and I guess I.

21:24.590 --> 21:27.030
I want to move it a little bit up.

21:27.110 --> 21:32.390
So what I'm gonna do is select the move tool from here, which is the shortcut key is S.

21:32.790 --> 21:36.910
And I'm going to select this area in order to move it a little bit up.

21:36.910 --> 21:40.870
So we're going to select this next tool which is the uh move selection.

21:40.870 --> 21:42.630
And the shortcut key is M.

21:42.630 --> 21:44.550
And I'm going to move it a little bit up.

21:44.550 --> 21:47.510
And somewhere around here something like this.

21:47.710 --> 21:52.550
And I'm going to click I'm gonna uh just gonna have a second as well.

21:53.230 --> 21:55.110
So I'm gonna move this here.

21:55.670 --> 21:56.190
Sorry.

21:56.550 --> 21:57.990
This shouldn't be.

21:58.550 --> 22:02.310
And we're gonna have some ropes and we don't want those.

22:02.510 --> 22:06.390
Uh, basically, we're not going to attach any collider to those ropes.

22:06.390 --> 22:09.270
So this player game object just easily passes through.

22:09.270 --> 22:12.030
So that's why I'm going to select my create game object.

22:12.190 --> 22:16.150
Uh, in my hierarchy underneath this crown underscore three game object.

22:16.150 --> 22:18.550
So let's right click on this create game object.

22:18.550 --> 22:26.170
Then go to 2D object and then move over to this tile map and then click on this rectangular rect rectangular

22:26.170 --> 22:27.130
and this tile map.

22:27.130 --> 22:32.010
I'm going to call it something like ropes and ropes ropes.

22:32.010 --> 22:34.330
And now we are ready to paste our ropes.

22:34.330 --> 22:37.210
And ropes are something like this as you can see.

22:37.410 --> 22:39.930
And I'm going to paste it from here.

22:40.730 --> 22:44.370
And we can just do is as well.

22:44.650 --> 22:45.210
Sorry.

22:46.330 --> 22:47.890
This will be this one.

22:50.490 --> 22:51.370
I guess.

22:57.450 --> 23:00.050
And I guess this is fine.

23:15.730 --> 23:20.460
So what we're going to do now we need to just erase this for now.

23:21.380 --> 23:22.780
Let's select the rope.

23:26.660 --> 23:29.420
I don't know, it's not fitting at all.

23:39.380 --> 23:44.180
Do do do do do do do do do do do do do do do do do do do.

23:45.940 --> 23:47.500
I don't know why it's not fitting.

23:47.500 --> 23:51.780
So let's select the ground tiles and I'm gonna erase this.

23:53.180 --> 23:55.980
Let's select the this one.

23:57.580 --> 23:59.140
And this seems fine now.

23:59.260 --> 24:01.020
And let's select the rope style map.

24:01.060 --> 24:02.260
Underneath our game.

24:02.380 --> 24:04.580
Great game object in a hierarchy.

24:04.820 --> 24:06.260
And we're going to paste it.

24:07.980 --> 24:10.500
So I really don't know why.

24:10.820 --> 24:12.820
Or we can just leave it like this.

24:12.820 --> 24:14.380
So let's leave it like that.

24:14.660 --> 24:20.160
And we can simply paste our ropes you can see over here.

24:20.200 --> 24:21.520
As you can see.

24:24.360 --> 24:26.320
And this seems pretty much fine.

24:27.280 --> 24:32.640
And we're not going to attach any collider, uh, this to this, uh, rope style map.

24:33.080 --> 24:33.840
Uh, any collider.

24:33.840 --> 24:39.240
Basically, if we select our ropes, then go over to Inspector, click on this add component and we

24:39.240 --> 24:43.080
can simply find our Tilemap Collider 2D and we can attach.

24:43.080 --> 24:45.880
But as you can see we attach Collider.

24:45.880 --> 24:50.760
So this player game object not going to able to pass through this uh these things.

24:50.760 --> 24:53.560
So that's why we're gonna remove our collider 2D.

24:53.560 --> 24:55.120
So we're going to select our ropes.

24:55.280 --> 24:57.560
Uh, you can simply say rope style map.

24:57.560 --> 24:58.600
So let's select that.

24:58.600 --> 25:02.000
Go over to Inspector and we're going to right click on this Tilemap Collider.

25:02.000 --> 25:07.440
And we're going to click on this remove component because we don't want to attach as you can see now

25:07.440 --> 25:11.560
we just removed uh, those uh individual colliders.

25:11.560 --> 25:16.970
So this player by now just gonna able to pass through this, uh, things.

25:17.210 --> 25:19.410
And that's, uh, that's the thing.

25:19.410 --> 25:22.490
I hope you get the idea that what we're really doing.

25:22.530 --> 25:23.210
And now what?

25:23.210 --> 25:27.930
I'm going to select my ground, underscore three game object, uh, three game object.

25:27.930 --> 25:31.770
And let's move over to Inspector, then overrides and then apply all.

25:31.770 --> 25:37.970
So the changes I made over here in this ground underscore three game object, it's going to be saved

25:37.970 --> 25:42.010
into this ground underscore three GameObject prefab as well.

25:42.290 --> 25:45.210
But before it we just forgot to do this one.

25:45.210 --> 25:52.250
So we need to adjust our edge tile edges over here as you can see.

25:52.290 --> 25:56.130
So I'm going to select my Create game object underneath my hierarchy.

25:56.370 --> 25:58.130
And we're going to adjust this.

25:58.130 --> 25:59.970
So let's select the ground tiles.

25:59.970 --> 26:02.130
Let's click on this open tile palette.

26:02.330 --> 26:09.330
And we're gonna uh just arrange our edges or we need to finish the edges as you can see.

26:09.650 --> 26:11.530
So I'm going to do it something like this.

26:14.950 --> 26:19.510
And also I want to remove some grasses from here, as you can see.

26:19.510 --> 26:20.670
So we need to remove.

26:20.830 --> 26:25.150
So let's select the grass tile map underneath our grid game object.

26:25.270 --> 26:27.110
And we're going to erase that.

26:27.390 --> 26:29.430
And this seems pretty much fine.

26:29.470 --> 26:30.630
As you can see.

26:31.110 --> 26:35.710
And let's select the ground underscore three game object one more time in our hierarchy.

26:35.910 --> 26:40.550
And we can just go over to Inspector Overrides and then click on Apply All.

26:41.030 --> 26:41.990
And that's it.

26:42.190 --> 26:43.590
I hope you get the idea.

26:43.590 --> 26:47.950
And I'm going to press down Ctrl s in order to save my project.

26:47.950 --> 26:53.590
And I'm going to create multiple grounds, something like I'm going to have ten or you can just create

26:53.630 --> 26:59.510
as many ground you want as we have done this ground underscore one, two and three.

26:59.510 --> 27:01.430
So basically do the same thing.

27:01.750 --> 27:04.230
How many types of ground that you want.

27:04.270 --> 27:05.350
You can create.

27:05.350 --> 27:11.910
So I'm going to create something like more um ten or something like 7 or 5 more grounds.
