Here.
In the last video we are done with these interface items.
That is I can catch you in this video.
We will continue with two more interface items that is this discord and the lights there actually in
this canvas so we need to separately add these so that we can be different.
So first of all I'm going with these gold and taking this gold initially equal to zero.
After that one I will take a ready able to create the scope that is scored underscore text and I will
simply create that one just see or create underscore text because discord is actually a text.
And now in that one I will provide the positions and when you provide the positions in total they begin
from the center point.
But here they begin from this point.
So I need that score something like at this point.
Capture if this is my window so I am taking this 110 from this and 10 from this.
So that is going to be 10.
Then after that one I will provide an anchor here so that the program will not get confused about anything
and the anchor I'm providing here is if this is the north.
This is West all this is going to be Northwest.
There we go.
After that one and providing a format as usual right size 18 and the original one we have the normal.
But here I'm going to take bold because that's something more noticeable there.
After that one color dark blue by providing failed and the last thing disco represented there.
So the initial score is zero and it will increase whenever program bugs.
So I will have text here.
And this is going to be first a string that is called these dots and then plus our so-called red label
that is initially zero.
So they will go save this one.
Now if you run this one we got some error.
Oh actually that is an end.
We need to create this one into a string also.
So string this one SDR and I'll run it here.
There we go.
So here we have score and zero.
Now if you are thinking that I have made this one a string because that is actually scored up integer
value because I need concatenation here and I therefore deploy disk space also here because there is
no gap in them.
And now check this one again.
They deal with a perfect score.
So this is about defining this code.
And after this one I have to define the life sort of meaning.
So for that one I'm taking over evil lives underscore remaining and initially use it have three lines
and then copy first and the lives here.
So lives and discord.
Text not copy the remaining.
Come on.
See and come on.
Why.
Because life is also a text.
So we need to create a text there.
And the positions we need to provide here is devices will all again the same.
Then because in our main program they have the same distance from the top.
But this one is actually 10 and this is total minus 10.
If we consider from this point like if this is 10 and this is it then this point from this wall is 10
centimeters or so whatever the dimensions we have like pixel solving.
So that is going to be the view of the total canvas.
Minus 10 to canvas would minus 10.
I hope you get this one and the anchor there is if this is not this is it then that is noticed.
We go.
And again the same font same color and all the text here will be something like lives and the variable
here lives meaning that will save this one and try to check the go so perfect lies 3 and buffer distance
from both these and also discord.
Now we are done with all the interface items from the very next video will vote that how of a program
can work.
So thanks for watching.
I was in the next video.