Hey everyone since this video we will begin to work on will get a little why and make that will happen.
So few things to notice them before we move into project.
When you notice this one with the yellow back on here we had this space to start.
When I pressed this one I the snake and that leaf here my text that it suddenly appeared there was my
first thing.
Second thing is this snake third thing the leaf and it last is that one that school's about which I'm
rotating right now.
And all these are if I say that they are nuts.
So basically we have four turtles in this one and this one game over.
This is the first one James this time and appeared here so my point is any game cannot be made with
only one turtle vehicle more than one and this one required for turtles.
And we will build all these.
So let me move with that one.
First of all I will impose the turtle is deep.
Then I will impose random as Ardi after that one I will in both time and play as D.A. and add command.
D I don't sleep for say three seconds now disavowed the libraries that are required here and now defining
the turtles but for them one more thing big wrong color and changing that one here in the beginning.
That is actually yellow after that one.
We have four turtles there first one say Caterpillar.
Second is we have a leaf turtle onesie next to turtle for say Kolkata area.
Now one by one we will define this in this video.
So declaring a turtle is very easy if you remember just deed or turtle man you need to define a turtle.
So radically all these will be same.
We have these now.
They are shaved.
They're working and everything is a little different from each other.
So we need to further modify these by properly defining them individually find their shape their size
their tags what they have speed and all these things.
So we will begin with the caterpillar and Caterpillar.
First of all I will define a shape.
And basically I'm digging squid here.
Why squid.
Because at this point I'm defining all these in the initial state.
First I need the initial state.
Then I will make them looking according to the program so squid.
Here after that one.
One more thing if you have noticed that one net Caterpillar net is actually a combination of three squares.
So that seems to be a square.
Can here after that one its initial speed and as I have told you I'm digging everything initially.
So initial speed is.
Because in starting nothing is moving I'm just taking these things after they're gone.
Just get up below don't pan up.
If you run this one right now wondered why you will get this yellow bedroom and this snake there that
appears disappears right now.
And after that when we have the relief that is a little hard to define so I'm going to define text first.
So first of all this text is something best place to start.
Until that is not pressed the game will not start.
So I am making this unfolds initially because until that one doesn't begin to the game will not start.
And after that phone the text there.
So to write the text.
Just use right.
Come on.
So to text outlook.
Right.
And watch them press space to start after that when that is actually in center.
So I need to align that one to center.
So C and B E are lyrical.
So this is not Ari deceptively.
And in last I'm adding a form to the phone did something that represented the style of text and taking
a basic one at I.
That is a year and this size 18.
So this is actually optional.
You can go for the original one that is simple text like the one I'm writing in programming these after
that when all the text must be bold otherwise the you do not able to notice that one is sitting.
So this is about this thing when I run that one right now I go to this one and below this one this press
space to stop.
And now this call from the school title and that will be going to East core underscored turtle Hi Turtle
because initially there is nothing.
And it's speed of changing
that is turtle underscores the speed of just go to Lord speed that is initially zero because discord
remains constant right.
No it isn't changing.
So when that one we still have these two things One more thing.
Now defining the leaf so how we can define the leaf or any other figure like that one and I will show
here how you can define that one and you can define even Apolo something like that really.
Also when I hit with space here.
So if you notice this leaf then it has.
If I not focus this point zero zero then this one opposed upwards of this point is having some land
here and the same coordinates like this one.
If I consider this one zero zero then this one is my set 2020 and here I have 1 2 corners on the side
and 2 corners on this site.
So basically I have 6 corners so what I need to do here is I need to define these six corners and then
my live is formed with a green color.
So you can also make this one whatever the figures you need to according to the code in your you.
So here are just these two coordinates and then these folks that are opposed to each other.
Like if this one is 1 2 this is going to be 2 1 because if you consider this thing as a graph here this
is my x axis.
This is my y axis labial.
Now let me show you that one how are we going to littler.
So first I'm taking a very able leaf underscores shape that is going to contain some of the coordinates.
So there I have six no so I am taking him six coordinates three four five and eight equals six.
First of all I I'm taking this as a starting point zero zero zero zero and the opposite to that one
is going to be like if I have that.
So this is also a leaf like structure this year.
This hexagon then if this point is my 0 0 then this point is going to be by 2020 and in-between this
and this we have either.
If I go decide to decide so I have between two points.
So I leave a gap of two and defining that one 2020.
And then if we talk about these.
So if this point is is something very starting of this axis but a very large gap at this point.
So if I notice this one with from this point to this axis then y axis is a little smaller but the x
axis is larger.
So taking this point as 14 might do.
So my this point is going to be to go my 40.
So this is going to be this one.
So this is from the beginning then that to come off would be.
And then I had this one.
So if first I encountered this.
Then I got this.
Now this one if this is going to be say 18 6 because I need to keep them in between 0 2 quality then
after I encountered this one the opposite of this is Declan just after they wanted wanted this point.
So this is going to be 6 18 so I hope you'll go that wondered how I have described these.
Now these are just the coordinates.
Now I registered these so whenever you're creating a new figure you need to register this shape according
to your coordinates.
So this one actually is doing something like Square Square is already resistor.
So here I am registering a new shape that is known as a leaf.
So here this leaf is registered with a name leaf.
And what the shape is actually up we can see closed loop of these coordinates.
Leaf shape so here what I have done I have registered a shape with name leave.
That actually consists of these six corners joined one by one to each of them so that's how you can
define any figure just like this Gwendolyn and after that one I will give this one.
So do not be here leaf this leaf a shape of my new defined structure that is leaf.
So I have defined a new figure there.
And given that shape to my leaf you can also name this one as a different variable but I'm just taking
leave.
So if you run this one right now you will get a leaf there as you can see here this one Black Leaf and
I'll change this one too.
GREEN So e leave the color and green on that one again.
Maybe over the green leaf.
So that's how you can create any kind of figure here.
You have learned basically these in the total graphics and a little more here.
After that one leaf don't pan up and leaf dope speed and not pass anything there.
Because we do not require anything initially with the speed of leaf.
Go after that one.
Hey I have done defining all these turtles.
Now what will I do.
I will just hide this initially because I need to do some work there.
So initially hide all these turtles.
So you have empty screen so hide this one hide Leif leave no tie.
Total aerial.
This one also so text underscores turtle don't hide turtle you just this one that I have already hidden.
Now save this one.
We are done with that.
Now in the next videos we will work on some more things there so that we will reach to our output.
So thanks for watching.
I hope you understand all these things.
And if I get any problem there.
Just ask me and see in the next video.