Hello,
I been trying to figure out how to do this assignment to make a cannon ball shoot out at the click a button. I got some of the code done and the PDF assignment of what to do will be in the zipped file.
Thank You!!!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Sep 19, 2012, 2:05 PM
When the form is initialised, the workers are created. You need to move that to the button event.
Instead of moving left to right, the cannon ball will now move up and down, with the added ability to set speed.
As for drawing a cliff and ground, you can either
1: Draw two rectangles - one for the cliff and one for the ground.
2: Find an image of a cliff and draw that on your form.