Create a Simple Computer Game
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →Begin with several insects walking around the screen. The user must click the mouse on an insect to kill it. The user must kill as many insects as possible in 30 seconds.
Keep an on-screen count of the number of insects killed and an on-screen timer counting down form 30 seconds. The game should get harder as it proceeds, so make the insects move faster with each kill. After 30 seconds the game ends.
Use an image editing software to draw an animated insect. There should also be an image for it being dead.
Animate the insect so it faces the direction it is moving.
It is recommended that you define a class to represent an insect and use an array of objects to create several insects.
Note-The player must “click” on an insect to kill it. Do not simply test if the mouse button is pressed while the pointer is on the insect, as this lets the player click once and simply drag around to score kills. Too easy!
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds