Hey everyone.
So in this video we will cover two more very simple functions.
Let's just live under.
We have called him.
That is again the school drop maybe go and pass the perimeter because we need something that we won't
do anymore.
Now removing the AG is very simple.
First we will just remove the egg from the main list so that its data will be removed.
After that we will drop a life.
Every life is already zero.
Just the game is over.
In that case we will just show our message books you your game is over and with that when we also do
know the final score.
So let's go first of all to remove the value I will just use eggs not remove.
That is my list and remove matter and what do you want to remove.
Just the X after that one losing a life.
For that I will call a function loser life that I will define after this one after that one.
If the lives remaining are already zero.
In that case I would just show the info with the help of a message box so we'll just message box not
showing for you.
And something like first game over with this symbol.
After that when we also pass their final score space thoughts and then again space plus the whatever
the score at that particular time will string and pass their scope.
There we go.
And as soon as this didn't happen when they use it click okay just destroy the window so that there
will be nothing there.
There we go.
So this is how you can make the eggs drop after that one losing a life.
So define lose and the score a the life.
And this is very simple.
I would just take our global variable lives too many and recommend this one
with a vector one each time.
So whenever this one is called The Light will decrease by fun and how we like update that one there.
So that is something known as configuration of item when the item is in a canvas.
So when the item is in canvas you see Dot item configure and in other cases we just use config justice
but not DUI and then provide data what you want to have for us to analyze and just call text and then
we have the text equal to first day lives the dots and then pass the current lights remaining so strings
of lights to meet maybe.
So here we are not only that for months or.