Kostadin Chakarov / Mbed 2 deprecated el17kec

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
9:f720f5d87420 2019-05-08 I've finished the commenting and also added 1 new level, also added a score system. This is pretty much ready for submission now. Tomorrow might have a look again just to ensure everything is correct. File  Diff  Annotate
8:9b77eea95088 2019-05-08 Finally, implemented power ups and fixed the angles after pad collision. Also started commenting, not much time left, so will finish the commenting and if I have more time will add a couple more 'negative' power ups. File  Diff  Annotate
7:cd3cafda3dd4 2019-04-10 Made a working collision and added 2 levels, can add more later. Also started doing power-ups but haven't finished yet. Need to think of some of them and also thinking of adding some randomisation to the ball<->pad collision. File  Diff  Annotate
6:39bda45efeed 2019-04-08 Finally had more time during the holiday, reedited lots of the code to make it simpler, more readable, more robust, and better structured.Also added collision detection with the bricks, but no deflection yet.(Took the algorithm from an online forum). File  Diff  Annotate
5:12c179da4788 2019-03-26 Made a struct to store centerpoints, from which I can generate the map by storing the x and y in a struct within a vector. Now need to introduce collision between bricks and ball. File  Diff  Annotate
4:0e01cbb95434 2019-03-23 Added a reset feature, if button A is pressed after the game is over. Need to find a way to draw the targets for the game. File  Diff  Annotate
3:fe856d0890ee 2019-03-23 Have a working collision detection with the pad, if the ball falls below it game over. Will try to move some of the function around the make the code simpler and easier to read. File  Diff  Annotate
2:006a2ddfabb6 2019-03-20 Added a ball, which is confined inside the screen. If the ball reaches the y level of the pad, the game is over. Have not added collision detection yet. File  Diff  Annotate
1:b82c4c2de9a8 2019-03-19 Decided to make a Breakout game, following the original Atari one. Now have a logo with a cool font and a pad which has its limits as the edges of the screen. All the pad controls are in its own class. Comments are still bad, will be improved later. File  Diff  Annotate
0:2f0362fef062 2019-03-11 initial commit File  Diff  Annotate