ELEC2645 (2018/19) / Mbed 2 deprecated EL17MCD

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
14:fe2e16cdf219 2019-04-17 ! Game now includes randomised wind that changes every turn. A bar at the top of the screen shows the severity of the wind in the x direction. Dot reticle added to show where the projectile is aimed. File  Diff  Annotate
13:feadff02d3f7 2019-04-17 ! Tank's Health displayed on gamepad LEDs. Change the 'power' of the tanks shots (potentiometer controls velocity). Tanks cannot move outside of screen or across map object. File  Diff  Annotate
12:9e6d5d0a0c82 2019-04-14 ! TankL class changed into generic Tank class. Separate graphics class to house and govern the use of sprites. Game now can produce two tanks on the screen facing opposite directions. They can take turns to fire projectiles based off joystick angle. File  Diff  Annotate
11:4e2eb64031a0 2019-04-13 !Can take left tank's turn including movement and firing turret. This transitions into "projectile phase" which ends when the projectile goes out of bounds (off screen). Objects instantiated inside game engine to tidy main.cpp. File  Diff  Annotate
10:d4fb12e9e7cd 2019-04-12 !Tank can move in x direction at a specified speed. Tank sprite updated to include turret at varying angles. File  Diff  Annotate
9:fe912235dd71 2019-04-10 ! Working prototype for projectile ballistics using classes. File  Diff  Annotate
8:d4e419dad90f 2019-04-10 Working ballistic model prototype for projectile with visual feedback on LCD. File  Diff  Annotate
7:a3ccabdebe2e 2019-04-09 ! Hit detection mechanic implemented with separate classes. File  Diff  Annotate
6:5d57c758c31d 2019-04-03 Working prototype of hit detection mechanic. A 5x5 pixel projectile and 6x10 pixel tank are given random x,y coordinates and assigned corresponding grid positions. If their hitboxes overlap (share the same grid position for any of their pixels); hit. File  Diff  Annotate
5:8a2e96f7fb4d 2019-04-03 Experimenting with generating hitbox for tank. File  Diff  Annotate
4:3b3a7f102250 2019-04-02 Experimenting with generating a "hitbox" for the tank on a grid system whereby every space on the grid has a corresponding integer value. E.g pixel at (0,0) has the value 1 and pixel (1,0) has the value 2. File  Diff  Annotate
3:087b28bf8b96 2019-04-02 2/4/19 File  Diff  Annotate
2:8382613c86a0 2019-04-01 Tank Sprite prototype File  Diff  Annotate
0:8ec695966d71 2019-03-19 Initial Commit. File  Diff  Annotate