DODGERANTHONY QIU, PERIOD 4DESCRIPTIONHOW IT WORKSYou control the green rectangular ship that spawns in the bottom center. The objective of the game is to dodge the incoming targets for as long as possible. Touching the borders of the screen will also end the game. Press WASD to move. You can also click your left mouse button to shoot a yellow bullet that will respawn the targets. The targets respawn with a random width at the top of the screen every time it reaches max height. Getting hit by a target will respawn both your ship and the targets and display the time you survived for in a monitor. There is also a high score monitor.
CONTROLSBUGS:
This Processing Sketch uses BRC, which creates controls inside a webpage. It can be accessed by pasting in the IP Address that’s printed in the console when the sketch is run into a browser. For best use, minimize the browser so that fits under the Sketch.
Default Controls Sky BackgroundSpace BackgroundDefault BackgroundEXPLANATIONS:START: Starts the game Spamming the left mouse button will cause the game to lag because of redrawing the bullet, the background, and the targets too much. Sometimes the ship will pass right through the targets, but only if it’s moving forwards. The user could hide outside the screen and survive infinitely. [FIXED]The targets may overlap.The targets may go off the map.RESTART: Restarts the game. Randomizes the positions of the targets and respawns the ship.DIFFICULTY: Controls the speed of the incoming targets. ENEMY_SIZE: Controls the sizes of the incoming targets.TARGET_COLORS: Controls the colors of the incoming targets. Choices between random, red, blue, or orange. BACKGROUND: Controls which background is displayed. Choices between sky, space, default (black). TIME_LIVED: How long you survived for in the previous round. HIGH_SCORE: Longest time you survived for.
CREDITS:Anthony Qiu (solo), Period 4 Webpage made in Figma and exported into HTML and CSS with HtmlGeneratorSketch made in Processing and BRC