![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: Project_Submission.cpp
- Revision:
- 8:1a785bfa4d08
- Parent:
- 7:32afc46c30f3
- Child:
- 9:3e7fca03c7c1
diff -r 32afc46c30f3 -r 1a785bfa4d08 Project_Submission.cpp --- a/Project_Submission.cpp Tue Apr 04 16:34:36 2017 +0000 +++ b/Project_Submission.cpp Wed Apr 12 14:48:14 2017 +0000 @@ -34,6 +34,7 @@ do { catchm.input(pad); catchm.update(lcd, pad); + catchm.check_abxy(lcd, pad); lives = catchm.get_lives(); render(); wait(1.0f/fps);