Java – Topic
32
(Animation)
TASK
QUESTION
Add at least one moving object (such as a duck or disc) to your duck hunt game.
Having more than one moving object will give you more marks. Having objects that appear later one will also give you more marks.
Add the code required so that if the moving object is shot, it disappears. This is not that hard. When the space bar is clicked, you simply need to check if the object is at the same location as the crosshair.
PART 11
Tweak your game. Add anything you can think of to make it interesting. Possibilities include:
The sky is the limit here. Have fun!