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

Changes

RevisionDateWhoCommit message
19:6888ecf6ec89 2017-05-04 Nathanj94 Doxygen updated default tip
18:e974b912eb3a 2017-05-04 Nathanj94 Final revision published to mbed user
17:d0853ac51e38 2017-05-04 Nathanj94 Final revision - made minor adjustments to UI in main file as well as adding in-line commenting
16:d70fd9ff28b9 2017-04-28 Nathanj94 Fixed issues with the 'Game Over' screen
15:03868ddf5bf3 2017-04-27 Nathanj94 All documentation added
14:e20bf6569607 2017-04-22 Nathanj94 Redundancy removed and files organised ready for notes to be written.; "Game Over" screen added after game end.
13:09a9ffd8eb60 2017-04-20 Nathanj94 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()
12:d87c9ae89472 2017-04-19 Nathanj94 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
11:a6a88a51dd57 2017-04-18 Nathanj94 Basket updated. Trying to make code more efficient by taking speed_select loop out of the main game loop.
10:92a658c3c5a4 2017-04-15 Nathanj94 Speed control added with potentiometer. Trying to add a new function for the x button too
9:3e7fca03c7c1 2017-04-14 Nathanj94 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.
8:1a785bfa4d08 2017-04-12 Nathanj94 Progress made with functions on button presses. Trying to use a timeout to delay the next use of the buttons but returning compiler error
7:32afc46c30f3 2017-04-04 Nathanj94 Antifruit added and library for abxy functions started
6:3dd1d13c9290 2017-03-31 Nathanj94 Different "fruit" now carry a different score
5:136b13a9b8b5 2017-03-27 Nathanj94 No change
4:039294e6a8a5 2017-03-23 Nathanj94 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
3:69296f999fdf 2017-03-21 Nathanj94 Collision mechanics completed, main things left to be completed involve UI, difficulty settings etc
2:ada503e3486f 2017-03-18 Nathanj94 functions added to start checking for positions of basket and object then checking for collisions
1:c248ccc2424a 2017-03-17 Nathanj94 Object with specified size now "falls" from the top of the screen to the bottom
0:7bd43e348502 2017-03-14 Nathanj94 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