Now create some textbox and name it as our Global variables.
Let's open the event editor and add this code
Cannon code
Cannonball code with mouse click
now winning the game code
Now if you have followed this tutorial correctly, your game will work fine. If you have any trouble then I have added the CAPX for you to down load. Please remember these sprites are not mine and I do not know who has created it. Therefore I am giving the person credit for that and say thank you whoever you are. Happy Learning and please live some comments that is all I ask. Thanks