Question: Can someone write java code for a 2D flappybird type of game using JPanels and JFrame with these requirements? The project will incorporate a single
Can someone write java code for a 2D flappybird type of game using JPanels and JFrame with these requirements?
The project will incorporate a single JFrame and a single JPanel, The game must start with a splash screen that provides directions for the game and a start button. The game will not start until the user clicks on the start button with the left mouse button. The start button can be a JButton or another clickable item on the screen or it can just be a spot on the screen that you capture if clicked on. (For instance, if they click within a rectangular area inside the JPanel). It must be a spot/button in the window, it cannot be the entire window, There must be some avatar that is manipulated/moved by the user, This avatar must be made up of between 4 and 10 polygons(inclusive-meaning you are allowed to use as few as 4 polygons. I highly recommend you use the plotter program I supplied you to map your polygon points in the arrays. The avatar must also include something else from the Graphics class like an oval or rectangle. The avatar should have some sort of animation quality to give the illusion of movement. Examples would be rotating car wheels, or a characters legs moving in a walking motion. The avatar can be moved with the mouse and/or keyboard keys, There must be some interactive component on the screen other than the avatar controlled by the user, The game must have a terminating feature, After the game concludes, there should be another splash screen with a final score for the game, The program should terminate only after the user closes the window.
***No break or continue statements (inside switch is okay)**
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
