Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revisions of game/game.h

Revision Date Message Actions
37:6a2bf4488022 2019-05-06 Have made finishing changes for comments and game. Have added a debug in main.h. Have separate the simplified sprite drawing into sprite.h. File  Diff  Annotate
34:754915ce9de5 2019-04-30 Finished the boss class. added additional comments Have fixed the high score problem. File  Diff  Annotate
33:c623c6d5ed16 2019-04-29 Have started working on boss mode. Changed the structure of game.cpp to finite state machine. Moved Game Over to a separate class. slightlight changed the player class. changed geometry into collision library. Cleaned the code to be under 20 lines. File  Diff  Annotate
32:5403bb974294 2019-04-26 Have added small features. Have cleaned the code a bit.; File  Diff  Annotate
31:becb8f6bf7b7 2019-04-23 Have changed comments structure as well as the content. Finished intro music. Have cleaned a code in some places to make it readable. File  Diff  Annotate
30:d454d0cb72bc 2019-04-16 Hace modified some comments. Have added a feature of a force shield. Updated the tutorial, Have finished the settings mode. File  Diff  Annotate
29:579e00b7f118 2019-04-15 Added a lot of comments. File  Diff  Annotate
28:35af3843de8f 2019-04-10 Moved starSpawnDelay to stars.h. Made enemies move y-direction as the game score increase. Added more comments. Cleaned the code a bit. Changed struct to gameObject in the main.cpp. Made some functions less than 20 lines. File  Diff  Annotate
27:f05f4e738ba9 2019-04-08 I have created "press START" for the intro pause. Added more comments for the report. Fixed the bug I had in my small star function. Changed some drawsprite functions to new one I made. Slightly simplified the code. File  Diff  Annotate
26:676874c42883 2019-04-06 I have created a difficulty feature based on the in-game score. As the score gets higher, so does the game. Have added more comments. Started cleaning up the code and simplify it. File  Diff  Annotate
25:749f1efc31fc 2019-04-03 I have made some addition to score calculation and changed the model of the player ship. File  Diff  Annotate
24:0570cb4b92d7 2019-04-02 I have created and finished a tutorial file where is described what controls need to be used and what to do in the game. I have broken up my into code into several functions to improve efficiency. I have started working on my settings mode. File  Diff  Annotate
23:240bc00ef25b 2019-03-31 Made player class and stored everything related to player. Have made stars class. modified player ship movement. created gameOver function and made it using sprites. Created a collision of enemy ship and a player ship function. added more comments. File  Diff  Annotate
22:4dc3c95f2146 2019-03-27 I have started creating Doxygen comments for the report. File  Diff  Annotate
21:0eb394495b8a 2019-03-27 switched all enemies functions into the class system in a separate file. Created a struct for writing sprites more easily. Created a function that resets all values when the game is over. Separated collision, gameObject and constants into new files. File  Diff  Annotate
20:557e84189a57 2019-03-26 Have made the intro for my game. I need to implement class system again in order to get more marks. Need to a function that will be resetting in game values when the game is over.; File  Diff  Annotate
19:b78fa41d04a9 2019-03-21 I have made a game over screen when the player dies. I made the red light flash (when health is low). I have started making a new intro to my game - animated. I have made a "game over" title - need to add to the screen. Have made multiple led flash. File  Diff  Annotate
13:5c3dc6e827c2 2019-03-17 Have converted spaceship movement, a small star and medium star from class into the struct. File  Diff  Annotate
12:bfe3a3deaac3 2019-03-17 I have decided to switch from class to struct. So far I have changed the enemy and blast, still, need to change stars and menu. I have made a collision function for blast and enemy. Need to create interesting enemy death. File  Diff  Annotate
11:cf2ba52e8b7e 2019-03-12 Have made medium stars (the same principle as in small star) - This is the code before making the enemy ship with the same method and the background planet. File  Diff  Annotate
10:f02413ae09fe 2019-03-12 I have made multiple stars flow using the same method I used for blasters. File  Diff  Annotate
9:5ad5501c702e 2019-03-11 I have found a way to make multiple fire shots at the same time. Have moved the blasts into a separate file. I have created a small function in lcd library so that 1 will overwrite 0 on top. Have modified Models folder - moved from .h to .cpp. File  Diff  Annotate
5:2b9181bc5c89 2019-03-04 Have made the ship moving around in the "start game". Have done 4 different models of stars and a model of a blaster. Have made that the ship would not leave the set border limit (beyond the screen). File  Diff  Annotate
4:02c63aaa2df9 2019-03-03 Decided to switch to the class system (need to understand it better). Removed the parts of the menu from the main (was adviced to keep it separate). Have made it go from the menu into the game. ; To Do: the animation, setting, tutorial, in-game menu. File  Diff  Annotate
3:10918b0f7a7d 2019-02-28 I have created game.cpp file where the actual game will be happening. I have created one model of a spaceship and stored in header file. Have linked game and main together. ; ; However I cannot find a way of how to read buttons. File  Diff  Annotate