Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revisions of main/main.cpp

Revision Date Message Actions
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
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
18:6becc9f9de5e 2019-03-19 I have made the enemy blast to collide with the player ship and deplete the player's health every time the ship is hit. Need to create game over function and damage animation. File  Diff  Annotate
17:69a85c909566 2019-03-19 I have made the enemy appear at truly random positions using srand, I have made player's life show as LEDs light. File  Diff  Annotate
14:e8de27c4d0d4 2019-03-18 I have added a high score function which would show the score on lcd. Each enemy killed give 30 points. -- Need to adjust screen limits for the high score print out on lcd. 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 | base