It's time to make our level.
So what I'm gonna do, I'm gonna remove this, uh, coin as well as this heart and this drops and also
this enemy from this ground.
So let's select the ground.
So this, uh, I have.
So I'm gonna move over to my hierarchy, and this is ground six.
And what I'm gonna do, I'm gonna remove this, all of these things.
So let's, uh.
But before you remove, make sure you make make those prefabs.
So you're gonna have the copy, and later on, you are, uh, gonna able to place it in the ground tiles.
So I'm going to select my shuriken and this fire drop, and let's delete it from here.
And I'm gonna select this coin and this heart as well.
And I'm gonna delete that.
And also I will select this escalator enemy.
So I'm gonna select my enemy to basically this is enemy two and I'm gonna remove that.
So now this seems pretty much cool.
And I just want to expand a little bit this ground six.
And I'm gonna remove this ground six uh, from that a ground spawner.
Basically, I don't want to spawn this ground six, uh, ground six tile or this ground.
So that's why I'm gonna remove that.
And, and I want this one to be the default 1 or 1 once we start our game, I want this to be start,
uh, start with.
So that's why I'm gonna leave that and I'm gonna remove from that ground spawner.
So let's select our ground spawner GameObject in the hierarchy.
Let's go over to Inspect Inspector.
And I'm going to remove this ground underscore six.
So I will select that.
And let's click on this icon in order to remove that.
And we can see it's now removed.
And I just want to expand a little bit this uh water layer from the left side as to just feed it perfectly
in my scene view.
Uh, or in you can see, uh, you can say in this screen size, we're gonna fit it perfectly.
So let's go to ground underscore six game object, then create.
And then we're going to move over to this water layer or water tile map, as you can see.
And let's click on this open tile palette in the top left we have in our scene view.
You're gonna have it anywhere in this interview.
So make sure you just click on that and you're gonna get it.
And I just want to expand from the left side to just cover it.
So let's go to this tile palette and we're gonna choose this tool.
And the tool name is Mark or pick tool.
And the shortcut key is I.
So I'm going to select this water tile map.
And I'm going to paste it from the left side as well.
So this seems pretty much cool by now.
So I'm gonna press down Ctrl Z.
So you can just press down Ctrl Z on your keyboard if you have done any mistake.
So it's gonna undo that.
So you can simply press down Ctrl Z in order to undo anything that you want to do now that you undo.
So now this seems pretty much cool.
And if I just click on this play button by now.
It should be fine.
So just wait.
And once it's done, we are ready to do that.
And we can see.
Now this is a pretty fine.
And we're jumping a lot.
So I'm going to make my jump height a little bit slow.
So let's get out of play mode.
And let's select our player GameObject in the hierarchy.
And let's go to Player Script.
And I'm going to make the jump height something around 12 I'm gonna make and speed I'm gonna make it
something 3.5.
And this seems pretty much fine by now.
So we can just move over to this overrides and then click on Apply All.
And we are ready to place our traps in our ground.
But I'm gonna not gonna drag any traps or any coin.
Something like to this my ground underscore six and I don't want to spawn it.
So that's why I just remove that from that ground spawner script.
And I want this to start with.
So that is the reason.
But we're gonna place, uh, in other ground, our coin.
And those are so basically what we have to do.
We need to move over to over to this project tab, then this assets folder, and then preface.
Basically, we need to move over to that folder where we drag it all of the ground tiles.
So in my case I drag it inside this ground tile, uh, ground tiles folder, as you can see.
And I'm going to leave my ground underscore six.
I'm not going to change anything like that because I have in the start.
So that's why.
And I also don't want to spawn this uh, so that's why I just remove that from that ground spawner script.
But I'm going to choose my first one so we can just double click on it in order to open up up in prefab
mode.
As you can see in this in view.
And let's uh, drag our heart or coin over here as well.
So what we will do, we will move over to this project tab, then assets and then prefabs folder basically
where we have all of those things.
So in my case this prefabs folder.
And I'm going to select this coin game object.
And let's drag it over to this scene view.
Or as well you can drag it into the hierarchy.
It's totally up to you.
And let's select the move tool from here.
And I'm going to move this something over here.
Now this seems fine.
And we can just simply press down Ctrl D in order to duplicate that.
And we can just do that.
And I'm going to duplicate one more time by Ctrl D.
And let's move this one over here.
Now it's fine.
So we can just click over here in the hierarchy in order to go back.
And we can do with now second ground.
So I'm going to move over to my ground tiles folder one more time.
And let's open up this second ground tile by double clicking on it.
And we can just drag the drop as well as the coin.
So I'm going to drag my drop over here.
So let's go to Assets Prefabs.
And I have the short wraps.
So let's drag it over here somewhere around here.
And this is fine.
And I'm going to move it a little bit further away.
And this seems pretty much cool by now.
And let's select this heart.
And I'm going to drag it over here.
And we can see that.
And we're going to drag some coin as well.
But I'm going to move this so we can.
A little bit down.
So let's select the shuriken GameObject in the hierarchy.
And let's move it a little bit down.
And let's select the coin as well.
Let's drag it over to this scene view or I'm going to drag it something over here.
And this seems pretty much cool like this.
And let's press down Ctrl D in order to duplicate.
And we will select both of this coin by control, uh, by holding down shift.
And we're going to press down Ctrl D in order to duplicate that that.
And now we can see.
So just make the level and you are good to go.
And I'm going to press down Ctrl D one more time.
And this seems pretty much cool by now.
And let's open up the ground three now.
So let's go back.
So let's move over to this hierarchy and then click over here in order to go back.
And let's open up the ground three by now by double clicking on it.
And we can see.
So what we will do over here I'm going to drag one coin here one coin here and another one here.
So let's do that.
And I'm going to drag a heart something over here or let's drag it here instead.
So let's select the heart I'm going to drag it here.
And this seems pretty much fine.
And let's select this coin.
And I'm going to drag it here.
And this seems fine.
And we're going to press down control D in order to duplicate.
And we can simply press down one more time control D in order to duplicate that.
Just play around and let's open up the ground for now.
So I'm going to click on this arrow in hierarchy to go back.
And let's open up the fourth ground.
So we're going to double click on our fourth ground.
And we're going to open that up.
And I'm going to drag my enemy one enemy here.
So let's go to prefabs then character folder I have I have this anime one.
I'm going to drag it something over here.
Let's drag it here instead.
And I want a Firetrap to be sorry.
Firstly I'm going to select my enemy game object.
Let's drag it here.
And I'm going to select my Firetrap.
And I'm going to move this one here.
So let's go to prefabs folder.
Let's select this Firetrap and we will drag it in the scene view or as well as in the you can drag in
the hierarchy.
It's totally up to you.
And I'm going to drag it somewhere around here.
This seems pretty much cool.
And I will drag one more firetrap.
Uh, we can drag it here.
Uh, but I'm going to drag a heart instead.
So let's select just play around or just drag anything that you like.
It's totally up to you.
And I'm gonna move this one here, and this seems pretty much cool now.
And I will select one more heart and I will drag it here, and I will select two coins.
And I'm going to drag in this space.
And let's select and let's move it over to this in view.
And let's press down Ctrl D in order to duplicate that.
And I just want to drag a little bit down.
So I'm going to select both of this coin in the hierarchy by holding down shift.
And let's move it a little bit down.
And let's move it here.
So now this seems fine.
And let's open up the Crown five prefab by now.
So let's go back.
Let's go to Crown Times folder.
And let's open up the Crown five by double clicking on it.
And I want to add image to be here a skeleton enemy one skeleton enemy enemy over here and one eye one
here.
So let's go to prefabs then character folder.
And I have the skeleton enemy and I'm going to move it one, this one here.
And this one I guess this seems pretty much fine.
And let's drag one more skeleton enemy here.
We're going to drag it here, and we can see by now it's fine.
And let's drag a fire trap as well.
And I'm going to move the fire trap here.
So let's go to prefabs folder fire trap.
And we're going to move it one here.
And this seems pretty much cool by now.
And we can drag one more trap.
Uh uh but I'm not gonna do.
So let's select this coin.
Let's drag it here and let's press down Ctrl D to duplicate.
And I'm gonna move this one here.
And let's select both of this coin by holding down shift in the hierarchy.
And let's press down Ctrl D in order to duplicate that.
And we can just press down Ctrl D one more time in order to duplicate all of them once again.
And I'm gonna select my all of this coin by holding down shift in the hierarchy.
And I'm gonna move it a little bit down, and this seems pretty much fine by now.
And let's select one heart and let's drag it somewhere around here.
And I'm going to drag one more heart here.
So this seems pretty much cool.
And this is okay.
And let's open up the ground six.
But I'm not going to do anything in this ground six.
So I'm going to leave that because we're not spawning at all that ground sick as six in that ground
spawner script.
Because I want this ground six to be a as simplest like that.
I don't want to spawn it, uh, later.
So that is the reason I just started with in the first, as you can see.
So I'm going to open up my ground seven instead.
So let's double click on it and we're going to place, uh, all of the animation.
I'm going to drag a skeleton enemy over here.
So let's go to Character Folder and let's drag this skeleton enemy here.
and I will select this anime one and I'm going to move it somewhere around here.
At the end of this round, and I guess this seems pretty much cool.
And let's drag some coins.
I'm going to drag two hearts up in this, so let's drag one more here, one more here, and let's drag
some coin as well.
So I'm going to drag one this one here.
And let's drag one this one here.
And let's press down Ctrl D to duplicate.
And this seems pretty much cool by now.
And I'm going to drag one more coin here and let's move it a little bit down.
So this one's pretty much cool.
And let's go back and let's open up the ground.
Uh seven we have done with let's open up the ground eight and I'm gonna drag, uh, anime one here,
one just gonna be.
in the middle.
And I guess I'm just going to live with first enemy and let's drag some traps.
So I will select my, uh, this, uh, short trap and I will drag this one, um, uh, behind this,
uh, enemy game object.
And I'm going to drag one more short trap, something over here.
So let's select that and drag it here.
And I will choose some coins.
And let's move this one here.
And let's press down Ctrl D in order to duplicate it.
And we will select both of this coin in the hierarchy.
And let's press down Ctrl D one more time in order to duplicate one more time.
And now this seems pretty much cool.
And we can simply select, uh, this fire.
I'm going to choose, uh, this fire.
So let's choose and I'm going to drag it somewhere around here.
So I guess this is pretty much fine.
And let's go back and let's open up the ground.
So we have done with this ground.
Uh, eight.
Let's open up the ground nine by double clicking on it.
And I don't want any, any enemy, but I do want a skeletal enemy to be here.
So I'm gonna move over to my character folder and let's drag this enemy here.
And we're gonna drag some coins in this ground tile.
So let's go to, uh, let's go to prefabs folder, and I have coin.
I'm going to drag this one here.
And I'm gonna copy this coin and let's paste.
Let's drag it here.
And I want a heart to be here.
So I'm gonna that's why I just leave it empty.
And let's drag the heart in this top of this ground.
And let's drag one more coin to the end point of this ground.
So I will select this coin, and let's press down Ctrl D to duplicate.
And let's move over to that end of our tile or this tile crown, and this seems nice.
And let's open up the crown ten by now.
Uh, let's do that.
So we're gonna open up our crown ten by double clicking on it.
And I want many, many traps in this crown.
Ten you can simply say.
So I'm going to move over to my prefabs folder.
Let's drag one more show here.
And I want this show to be in the down direction.
Something here.
And we will press down Ctrl S to duplicate this one.
And let's move this one to in this middle.
And we will just duplicate one more time by Ctrl D.
And let's move it over over here.
So now this seems pretty much cool.
And if you want fire a drop then you can drag that as well.
And let's drag some coins.
So I'm going to drag some coin here.
And let's press down Ctrl D to duplicate.
And let's press down one more time.
Ctrl D to duplicate one more time.
And let's select these three coins.
And let's press down Ctrl D and I will move this something.
Uh, I guess I'm gonna move it.
Let's move it a little bit up somewhere around here.
So this is cool.
And let's drag one more heart here and I'm gonna move it a little bit down.
Let's drag one more heart here, and let's move it a little bit down.
And I want a fire truck to be somewhere around here.
So let's select that fire truck and I'm gonna move that one here.
And let's put one more coin at the end of this over here.
Let's, uh, let's drag one more coin and I'm gonna move this one here.
So now this seems pretty much cool by now.
And you can just go back clicking over here in the hierarchy.
And if we just click on this play button in the top by now, you will see those grounds just going to
spawn with those coins, those skeleton enemies and those traps, because we just placed all of the
traps, coins into those ground and we can see indeed we are able to see it here, and we can just simply
press down space key on our keyboard in order to make the jump.
And we can simply jump on it, and we can see over time the speed just getting faster and faster.
And the problem is that we have a little problem with the ground spawn background spawning.
So we need to adjust that because it kind of seems a weird little bit.
And once we collide with this shore, we can see our player game object just dies right away.
And we can just click on this retry button in order to retry the game one more time.
So I'm going to get out of play mode and let's adjust the background.
So what I'm gonna do I'm gonna move over to this duplicate ground.
So let's move over to this hierarchy first.
But before we do, let's press down control S in order to save whatever we have done so far.
So it's gonna be saved.
And now I'm gonna move over to my background schema object in the hierarchy.
So let's move there.
And we have the background.
And we're going to click over here in order to choose the child one.
And I'm gonna disable this ground underscore six for now for testing purposes.
Sorry to adjust.
Uh, so what we're going to do, we will select our ground underscore six ground in the hierarchy.
Let's go to inspector and uncheck it in order to deactivate it.
And we're going to adjust our ground by now.
So let's select the duplicate one.
So make sure you choose the duplicate one and select the move tool from here.
And we're going to move it uh at the end of the first one as you can see.
So we need to match up correctly.
So it's not gonna seem a little bit weird.
The background just spawning one after and one uh, one another two 32.
After a one or next one and next to each other, you can simply say, and let's select the move tool.
And I'm going to move this, uh, background in the X.
So let's move it.
So just go over to transform then position and play around with this x position.
So I'm going to move it.
So we need to match this up which is we can see.
So we can scroll our mouse to zoom in.
And we can just play around with these values.
I guess we're going to move it something 93 just going to be a perfect number.
So let's put 93.3 I guess not three.
Let's put 5 or 6.
Even seven.
Let's put 94 instead.
And 94.1 sorry.
So 94 we can see this is a perfect uh you can simply say so 94 we can see uh, this, uh, perfectly
match the background.
So we're going to do with this, uh, this first BG one with 94.
And let's take a look on the bg2 or background two or the middle background.
You can simply say, but I'm going to disable the first background in order to see my this middle background
on the second background.
So I'm going to select my BG one underneath my background game object in the hierarchy.
Let's go to Inspector.
And I'm going to uncheck it in order to disable that.
And let's select this BG two or background two.
And let's select the duplicate one.
So just click over here in order to choose the tile one.
And we're going to move this one as well 94.
But we need to just adjust.
So let's go to Inspector.
Make sure you select the duplicate one as select that.
Go over to Inspector.
And in the position x we're going to put it put something like 94 and 94 does not seem pretty good.
So we need to we have too much space between this background.
So we need to just fill that.
So let's move it a little bit.
Something around 90 9089 just going to be 89.9, not 99.
So we're going to put something around 90.5.
Even we can just increase a little bit something like 90.9, I guess just gonna be 90.9 just going to
be perfect.
Or we can simply do it.
Uh five.
So eight five.
So 90.85 is perfect number for this background to.
Now we have done with background two as well.
And we will do with background three or the last background.
For that I'm going to disable my background to or the middle background.
So let's select that underneath our background GameObject in the hierarchy.
Let's go to Inspector.
And I'm going to uncheck that in order to deactivating uh in order to see the last background.
Uh so let's select this BG three and let's work with this.
We can scroll our mouse to zoom in and zoom out.
So I'm going to move this, uh, this.
So let's select the child one and I guess 102.
So let's scroll our mouse in order to zoom in.
And we're going to put 102.5.
So five we can see if we just put five.
It makes too much space.
So we need to fill this area.
So we're going to do something like.
Let's put 100 and I guess five 104 or 4 five.
So 454441.
So for just going to be perfect.
So we're going to live with this 102.4.
And this perfectly fits.
So that is the reason.
So now we're going to select all of this background which we just disabled.
So we're going to select them.
So let's select them.
And let's go to Inspector and then check this over here to just enable it.
And I'm going to enable the ground underscore six game object as well.
So this player game object just lay on top of it.
So let's select the ground underscore six GameObject in the hierarchy.
Let's go to Inspector and we're going to check.
It means we just activating that.
And we can see now and we can press down F on our keyboard in order to focus on it.
So it it should be fine by now.
So the background just not gonna seems a little bit weird.
Just it's spawning.
So let's click on this play button in the top to play our game.
And let's have a look on this.
So just wait and we will see.
So we can see the background just getting spawn as well as we can see ground just getting spawns as
well.
So let's have a look.
It's just gonna work perfect.
If it's not we need to match up the correct uh correctly.
We just need to match up so we can see by now.
So this seems seamlessly now we not able to see kind of weird.
And we can just click on this retry button in order to play our game one more time.
And you can see that as well.
And you can just adjust this or water layer as well if it seems a bit weird.
And now we can see our background a little bit cool, or it's not just spawning kind of weird, uh,
in next to each other.
So as you can see.
So this seems pretty much cool by now.
And the game and we just making score, uh, the score just getting increasing and increasing and increasing.
But still we have little bit, uh, problem with spawning our background.
So we can just adjust that uh, by basically just perfectly fitting it.
So now I'm going to get out of play mode.
So this seems pretty much cool.
I hope you get the idea that how you can make, uh, this or the background.