Uses accompanying Basket, Objects and Fruit libraries to create Fruit Basket game. If an object is caught, points are added; if an object in missed, a 'life' is lost.

Dependents:   Game_Controller_Project

Revisions of Catch_Model.h

Revision Date Message Actions
17:20abf995c040 2017-05-04 Doxygen updated File  Diff  Annotate
15:1a0bd800f1f1 2017-04-28 Added an extra function called final_score that displays the game over screen with the correct score to fix an issue where the final score displayed would be incorrect or '0000' File  Diff  Annotate
14:6764bb61d413 2017-04-27 All documentation added File  Diff  Annotate
13:ae2dac4ab786 2017-04-22 Redundancy removed and files organised ready for notes to be written File  Diff  Annotate
12:f7d6003e5c6b 2017-04-20 Variable for Objects::move(int speed) changed File  Diff  Annotate
10:6605cd9d374b 2017-04-18 changes based on changes in Objects File  Diff  Annotate
9:902b67101cdc 2017-04-15 Started x button function where the object will slow down until it is caught, so far keeps freezing the game File  Diff  Annotate
8:db24c475f64f 2017-04-14 Time delays for button presses working, now only one action can be used every 10s. An indicator at the top of the screen shows if this is available (tick/cross). New button function adds an extra live to add longevity to a game. Started trying tones. File  Diff  Annotate
7:ec6dc66ee196 2017-04-12 added to check_abxy function, now an action will be carried out on a button press but it has to be written into check_abxy; it won't call the same commands from a different library. Trying to use a timeout to delay the next use of the function File  Diff  Annotate
6:61bcf98e0a88 2017-04-04 Added to check_catch and check_miss functions, if antifruit is caught it reduces lives by 1, if it misses it just calls init w/out changing lives or score File  Diff  Annotate
5:7db3e43e5aca 2017-03-31 New method called add_score which uses the variable set in Objects to call the correct method from Basket File  Diff  Annotate
4:84e29254b988 2017-03-23 Created HUD element using four functions: get_score, print_score, get_lives and print_lives; moved these functions from check_catch to draw and now they stay solid on screen and update accordingly File  Diff  Annotate
3:fc9133faec7a 2017-03-21 collision functions added to check for catch or miss, new objects fall at the end of each function and score is updated if the object is caught. Score is printed on the screen but it flickers so needs to be moved to a different function File  Diff  Annotate
2:8410e09b77aa 2017-03-18 functions added to check if the object is caught in the basket or not, unfinished File  Diff  Annotate
1:43fbcc3584d6 2017-03-17 One objects now "falls" from the top of the screen to the bottom; Next step is for either multiple objects to fall or for the objects to interact with the basket File  Diff  Annotate
0:8d02400f792a 2017-03-14 Catch_Model.h incomplete File  Diff  Annotate