Please Follow First Steps Create Output Given Second Photo Please Use Processing Program C Q43820213
Can you please follow the first few steps to create the outputgiven in second photo. Please use “processing program ” to createthis code later i might ask you to follow up with the steps tocontinue making this 2D game. For now, can you only help me getstarted with these first few steps by using conditions loops arraysand functions if possibleThanks in advance.

Useprocessing3.5.3 please
Just use Java processing
plzread instructions for info



(15 Marks) 1. Game Screen In this section you will design the main game screen. The requirements and the associated marks are listed below. 1. The site of the game screen must be 1024 by 768 with a black background. [1 mark) 2. A rectangle must be placed in the centre at the top of the screen and must contain the players Answer and Lives. The colours must match the image below. (5 marks) Answer: 2 Lives: 3 3. A semi-circle must be drawn at the bottom of the screen representing the cannon The number of bullets must be drawn in the centre of the cannon. The colours must match the image below. (4 marks) 4. When the mouse is clicked a green line must be drawn from the top centre of the cannon to the location of the click. The number of bullets must also decrease each time the mouse is clicked. The number of bullets cannot be less than 0.75 marks Assignment 3-WCOMP115 21 Page Sample of the output sketch (when clicked): Note that the answer has been initialized with the value 10. Assignment 3-WCOMP115 1. Game Screen (15 Marks) In this section you will design the main game screen. The requirements and the associated marks are listed below. 1. The size of the game screen must be 1024 by 768 with a black background. (1 mark) 2. A rectangle must be placed in the centre at the top of the screen and must contain the players Answer and Lives. The colours must match the image below. (5 marks) Answer: 2 Lives: 35 A Lives: 35 3. A semi-circle must be drawn at the bottom of the screen representing the cannon. The number of bullets must be drawn in the centre of the cannon. The colours must match the image below. (4 marks) 4. When the mouse is clicked a green line must be drawn from the top centre of the cannon to the location of the click. The number of bullets must also decrease each time the mouse is clicked. The number of bullets cannot be less than 0. (5 marks) Sample of the output sketch (without click): Answer: 10 Sample of the output sketch (when clicked) Sample of the output sketch (when clicked): Answer: Lives: 3 Note that the answer has been initialized with the value 10. Show transcribed image text (15 Marks) 1. Game Screen In this section you will design the main game screen. The requirements and the associated marks are listed below. 1. The site of the game screen must be 1024 by 768 with a black background. [1 mark) 2. A rectangle must be placed in the centre at the top of the screen and must contain the players Answer and Lives. The colours must match the image below. (5 marks) Answer: 2 Lives: 3 3. A semi-circle must be drawn at the bottom of the screen representing the cannon The number of bullets must be drawn in the centre of the cannon. The colours must match the image below. (4 marks) 4. When the mouse is clicked a green line must be drawn from the top centre of the cannon to the location of the click. The number of bullets must also decrease each time the mouse is clicked. The number of bullets cannot be less than 0.75 marks Assignment 3-WCOMP115 21 Page
Sample of the output sketch (when clicked): Note that the answer has been initialized with the value 10. Assignment 3-WCOMP115
1. Game Screen (15 Marks) In this section you will design the main game screen. The requirements and the associated marks are listed below. 1. The size of the game screen must be 1024 by 768 with a black background. (1 mark) 2. A rectangle must be placed in the centre at the top of the screen and must contain the players Answer and Lives. The colours must match the image below. (5 marks) Answer: 2 Lives: 35 A Lives: 35 3. A semi-circle must be drawn at the bottom of the screen representing the cannon. The number of bullets must be drawn in the centre of the cannon. The colours must match the image below. (4 marks)
4. When the mouse is clicked a green line must be drawn from the top centre of the cannon to the location of the click. The number of bullets must also decrease each time the mouse is clicked. The number of bullets cannot be less than 0. (5 marks)
Sample of the output sketch (without click): Answer: 10 Sample of the output sketch (when clicked)
Sample of the output sketch (when clicked): Answer: Lives: 3 Note that the answer has been initialized with the value 10.
Expert Answer
Answer to Can you please follow the first few steps to create the output given in second photo. Please use “processing program ” t…
OR