Melissa Hartmann 201176603

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
36:0c852c5ade4b 2019-05-09 Updated the comments on the documentation for the engine, floors and doodler. File  Diff  Annotate
34:a9b14a4ccd46 2019-05-09 Finish adding comments to the engine file and started adding comments to the floors explaining each function. File  Diff  Annotate
33:de130e274391 2019-05-09 Changed trivial functions to one-line structure. File  Diff  Annotate
31:5c4acae51026 2019-05-09 Added comments to the doodler cpp. File  Diff  Annotate
30:863565e9859f 2019-05-09 Changed the size of the enemy and updated the new values in the floors cpp. I also added the test code for the doodler's movement and called it on the main cpp. File  Diff  Annotate
29:15e9640646b7 2019-05-08 Changed the enemy file so that it has functions to make it update its position or make it disappear from the screen. The floors h file includes the enemy, and depending on its position it updates it or not. File  Diff  Annotate
28:e0161a52a8b9 2019-05-08 Added a get function to the engine in order to be able to call the final score on the main.cpp to display on the game over screen function.; File  Diff  Annotate
27:af14fcd5a520 2019-05-08 Added a game over screen by adding a set function and get function to the engine. The set functions decides if the game should end and this is read in the main.cpp by the get function. File  Diff  Annotate
26:d16a5b1e0ace 2019-05-08 Added comments for the documentation file. File  Diff  Annotate
24:67dc71a8f009 2019-05-08 Added comments to the doodler h file. File  Diff  Annotate
23:9be87557b89a 2019-05-08 Added a sprite for the doodler and the enemy. File  Diff  Annotate
22:0d2ac98a8b48 2019-05-06 Re-organized the functions for the engine and the doodler so that the velocity and position of the doodler are changed as separate functions. File  Diff  Annotate
21:6b16ca9834e6 2019-05-01 Changed the values the floors need to be to add score points, so that the score value will increase every time the floors are y=10. File  Diff  Annotate
20:a359092079b0 2019-04-25 I added a rectangle for the screen, updated the screen range and removed a floor. Added a tone for when the bullet is shot. Also added an enemy file that in contact with doodler the game ends. It also disappears if shot by bullet. File  Diff  Annotate
19:5a7b0cdf013b 2019-04-25 Added a game over function to the main file so that once the doodler hits the floor the game is finalized. File  Diff  Annotate
15:4efa04a6a376 2019-04-23 Changed the main function so that the back button takes the user back to the welcome menu.; File  Diff  Annotate
5:8814d6de77d0 2019-04-13 Created an update function for the doodler to change its position depending on the user moving the joystick left or right. File  Diff  Annotate
4:8ec314f806ae 2019-04-11 Added a doodler that will be controlled by the user using the joystick. File  Diff  Annotate
3:116913e97fd7 2019-04-10 I added 10 floors and made their position be random on the screen. I divided these in ranges in order to avoid the collision of the floors and also changed the width to have a random length between 10 and 15. File  Diff  Annotate
2:360a6c301a4e 2019-04-10 I created an engine .cpp and .h file to add 10 floors to the screen once the button start is pressed and I used the rand syntax to place them in random positions within the screen File  Diff  Annotate
1:0001cb3eb053 2019-04-09 Main introductory page that draws the floors once the start button is pressed. I will then add a function to add multiple random floors and the doodler controlled by the user. File  Diff  Annotate
0:40c03e733b77 2019-03-11 initial commit File  Diff  Annotate