I want to make a game called “Shooting Arrows.” It will have one player and up to 5 levels. Each level will increase in difficulty in speed as the player moves onto the next level. Each level will have a dropping object of some shape (of different sizes) and the shape varies depending on the level (e.g. hearts, stars, etc.). The player must shoot arrows at these objects to acquire points. The differing sizes are worth different points. The player must shoot at least 50 points to move onto the next level. As the player moves on to higher levels, the time decreases and the speed of the falling objects increases.
Object Classes/Levels:
Player:Control the arrows and shoots with mousePressed
-If 50 pts acquired Display “Continue” and set timer 5 sec< previous timer; if not true then
Level 1: Smiley face object; 25 sec to get 50 points
Level 2: Cube object; 20 sec "
Level 3: Heart object; 15 sec "
Level 4: Leaf object; 10 sec "
•&ν-Move
•&ν-Display
•&ν-Reacts to arrow
Score: Track and Display score on screen
Pseudo-code:
Initialize Global variables;
Setup
Size;
Call class objects;
Call player (moves by mouseX, mouseY);
Create Timer;
Draw
Background;
Object display;
Object move;
If arrow shoots object, then Display # value of object for points
Boolean true if player acquires 50 pts, go to next level;
If false “Game Over”
Display score;
MousePressed
Player shoots arrows;