Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revisions of Spaceship/Spaceship.cpp

Revision Date Message Actions
16:1ee3d3804557 2020-04-28 Began work on weapons class. slightly changed map movement and spaceship movement functions to adjust where the spaceship sits on the screen when moving, in order to allow space for bullets. File  Diff  Annotate
15:90b6821bcf64 2020-04-28 Added DEBUG compile macros to check calculate_map_map was producing correct output File  Diff  Annotate
13:12276eed13ac 2020-04-26 Changed spaceship unit test code so it now done properly and doesn't require my input. Changed where objects are defined to reduce the number of arguments that need passing when a function is called. Edited gamepad code to properly add ADC pin. File  Diff  Annotate
11:ab578a151f67 2020-04-23 Added test files and ran a spaceship unit test, which it passed! Also cleaned up code and comments. File  Diff  Annotate
10:aca793aa7abc 2020-04-22 Reduced length of spaceship movement function using a switch statement. In the previous commit, I changed the draw line function in the LCD class; I changed its unassigned int variables to normal int variables as it was crashing the game. File  Diff  Annotate
9:1ddb8dc93e48 2020-04-21 Made the map loop back on its self when you reach the ends, therefore the map never ends File  Diff  Annotate
7:0af4ced868f5 2020-04-18 A random map now is drawn on the screen and the map moves with joystick input making it look like the spaceship is moving through the map. File  Diff  Annotate
6:12e8433382b3 2020-04-16 Restricted spaceship movement to middle third of the screen in the x-direction. Started adding drawing functions to map class. File  Diff  Annotate
5:acd809cc824c 2020-04-15 Improved spaceship movement to all directions and added a different sprite for different directions. Stoped the spaceship from going off the screen in the y-direction. File  Diff  Annotate
4:0df2b85e47f1 2020-04-14 Added sprite movement using the analogue stick File  Diff  Annotate
3:dee187b8b30c 2020-04-13 Drawn spaceship sprite and displays it on LCD using event-triggered tasks File  Diff  Annotate