ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revisions of Doodler/Doodler.h

Revision Date Message Actions
32:83f410c433c2 2019-05-09 Finished commenting the doodler.cpp file and changed the coding structure to simplify it (splitted the update function into 2 and wrote simple functions as one-line functions). 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
26:d16a5b1e0ace 2019-05-08 Added comments for the documentation file. File  Diff  Annotate
25:f122e1862cd1 2019-05-08 Made some changes to the doodler h 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
17:74de8c17ddac 2019-04-24 Corrected the errors in the engine h file and the doodler's update function. File  Diff  Annotate
16:e0542761fc8c 2019-04-24 I added another folder for the bullets the doodler can fire controlled by the Y button. I created three bullets and once they reach the end of the screen they will go back and remain at the doodler's position. 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
14:529f798adae4 2019-04-21 Changed the doodler's update function so that it only affects the position of the doodler and the init function so that it also changes the velocity of the doodler. I also included the init function in the check wall collisions. File  Diff  Annotate
13:10851784af9a 2019-04-18 Fixed the order of functions in the update section of the engine so that the doodler and floors are updated after checking both the floors collision and the shift of the floors File  Diff  Annotate
10:e1d2289705ef 2019-04-17 Managed to fix the doodler's bounce by changing the velocity to a double instead of a int type. I also added a get_velocity_y() function to the function checking the floor's collisions. File  Diff  Annotate
9:5e53bca2a4c2 2019-04-16 Changed the values of the positions and velocities to vectors so that they are easier to manipulate. I made use of the float absolute function (fabs) function to make the ball decelerate to a zero velocity while going upwards. File  Diff  Annotate
8:90e789413e0b 2019-04-16 Changed the update function in the doodler so that it will be reading the position and velocity and setting a new one every time it updates (so that I will not have to write it in the engine file). File  Diff  Annotate
7:0d9cee90ab0d 2019-04-14 Removed the jump function and instead created a gravity value for the doodler to accelerate downwards at all times. File  Diff  Annotate
6:848d1e4c1a31 2019-04-13 I created a jump function in the doodler file in order to make the doodler constantly jump vertically if it collides with any of the floors. 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