Custom Game Controllers assembled in lab sessions and mounted with Nokia N5110 LCD display and a FRDM-K64F mbed plus various buttons, a joystick, potentiometer and piezo. Designed a game called 'Fruit Basket' to be played on the game controller where the player controls a basket and moves it catch objects that fall from random points along the top of the display to collect score.

Dependencies:   Basket Catch_Model Fruit Gamepad N5110 Objects mbed

Revisions of Catch_Model.lib

Revision Date Message Actions
19:6888ecf6ec89 2017-05-04 Doxygen updated File  Diff  Annotate
18:e974b912eb3a 2017-05-04 Final revision published to mbed user File  Diff  Annotate
17:d0853ac51e38 2017-05-04 Final revision - made minor adjustments to UI in main file as well as adding in-line commenting File  Diff  Annotate
16:d70fd9ff28b9 2017-04-28 Fixed issues with the 'Game Over' screen File  Diff  Annotate
15:03868ddf5bf3 2017-04-27 All documentation added File  Diff  Annotate
14:e20bf6569607 2017-04-22 Redundancy removed and files organised ready for notes to be written.; "Game Over" screen added after game end. File  Diff  Annotate
13:09a9ffd8eb60 2017-04-20 Function made to allow user to select game speed before the game starts. Previous problem had been confusion between float and int for Catch_Model::init() File  Diff  Annotate
12:d87c9ae89472 2017-04-19 Continued trying to allow speed to be selected before game but still doesn't work. UI improvements/notes will be finished before returning to the problem File  Diff  Annotate
11:a6a88a51dd57 2017-04-18 Basket updated. Trying to make code more efficient by taking speed_select loop out of the main game loop. File  Diff  Annotate
10:92a658c3c5a4 2017-04-15 Speed control added with potentiometer. Trying to add a new function for the x button too File  Diff  Annotate
9:3e7fca03c7c1 2017-04-14 Timeout configured correctly to allow actions to be used every 10s, new function to add a life added, indicator for availability added and started experimenting with tones etc to improve UI and general quality. File  Diff  Annotate
8:1a785bfa4d08 2017-04-12 Progress made with functions on button presses. Trying to use a timeout to delay the next use of the buttons but returning compiler error File  Diff  Annotate
7:32afc46c30f3 2017-04-04 Antifruit added and library for abxy functions started File  Diff  Annotate
6:3dd1d13c9290 2017-03-31 Different "fruit" now carry a different score File  Diff  Annotate
4:039294e6a8a5 2017-03-23 Base game completed;; catch/miss functions work and update score/remaining lives;; score/remaining lives printed in Bank 0 and update;; once remaining lives reaches zero the code leaves the game loop and returns to start screen File  Diff  Annotate
3:69296f999fdf 2017-03-21 Collision mechanics completed, main things left to be completed involve UI, difficulty settings etc File  Diff  Annotate
2:ada503e3486f 2017-03-18 functions added to start checking for positions of basket and object then checking for collisions File  Diff  Annotate
1:c248ccc2424a 2017-03-17 Object with specified size now "falls" from the top of the screen to the bottom File  Diff  Annotate
0:7bd43e348502 2017-03-14 Basket can be moved on the display with either joystick or L/R buttons and documentation is only up to date with completed aspects of the code File  Diff  Annotate