Updated Space Invaders on the mbed. Improved upon Michael Son's "Mbed Space Invaders" at https://os.mbed.com/users/michaeljson/notebook/mbed-space-invaders/.

Dependencies:   mbed wave_player mbed-rtos 4DGL-uLCD-SE SparkfunAnalogJoystick SDFileSystem LSM9DS1_Library_cal_updated

Fork of Two-PlayerSpaceInvaders by William Minix

test

Changes

RevisionDateWhoCommit message
33:d17d71103d41 2021-04-29 wminix3 Fixed score. default tip
32:a8c6fbc57115 2021-04-29 wminix3 Fixed dynamic score printing
31:18a26153eb0e 2021-04-28 wminix3 Fixed the last enemy with enemy_init RED
30:3420969d61df 2021-04-28 Tito96 updated
29:ff6b8a1ad9f5 2021-04-28 wminix3 Merged enemy sprites into rest of code and added a couple comments.
28:a2dac56af32f 2021-04-28 wminix3 Added and cleaned up the comments.
27:9a17cf897bf8 2021-04-28 Tito96 changed the shape and color of enemy sprites
26:3270c6edd7d9 2021-04-28 wminix3 ONE-PLAYER SPACE INVADERS. With 2-Player primitives commented out. Works with 3 different difficulties.
25:17f2ec000357 2021-04-28 wminix3 Fewer barriers with higher difficulties works.
24:ea19c7e8a479 2021-04-28 wminix3 Tried to add more missiles for harder difficulties and tried to have fewer barriers for higher difficulties...
23:56f6a12aaebd 2021-04-26 wminix3 Added barriers that both enemies and the player can damage. More true to original space invaders.
22:a907eeb128a4 2021-04-25 wminix3 Player flashes red when they die.
21:a6b4c5598083 2021-04-25 wminix3 Added a more detailed player object. Can still toggle colors.
20:ede4fa57d082 2021-04-25 wminix3 Improved analog click skin changes, add victory music, added victory LED lighting effect;
19:6c14e1a73a00 2021-04-23 wminix3 Analog joystick, player colors changing, and IMU work.
18:16a2d4343ae4 2021-04-23 wminix3 Added changing player color/skin by clicking the analog joystick.
17:843a874eb4e3 2021-04-23 wminix3 Added both analog joystick and IMU to be used to control the menu and the ship. All features seem to work simultaneously at this point.
16:e4e6515bdabb 2021-04-23 wminix3 Started to work on adding more detailed sprites for enemies. Got the analog joystick to work in place of the tactile switch.
15:33582e9acd16 2021-04-22 wminix3 Changed baudrate to 3000000
14:4e7608619043 2021-04-22 wminix3 Added difficulty options. Incorporated initial features together. Working model.
13:36cc024dcf6b 2021-04-21 wminix3 Added a best-time feature to single-player mode (with SD card).
12:22aedb2598b1 2021-04-19 wminix3 Updated slave thread a bit.
11:cdea2c9ec531 2021-04-18 wminix3 Added LED lighting effects. The shot effect is hit or miss as it is written right now.
10:1eeb21ef7b2c 2021-04-16 wminix3 Master-Slave-based mbed communication threads. Don't forget to have only the appropriate thread uncommented. First player should only have master thread (and not slave). Second player should only have slave thread (and not master).
9:c22613b0007a 2021-04-16 wminix3 Updated mbed send and receive threads;
8:27c4345be3db 2021-04-16 wminix3 Updated send and receive threads.
7:9a826617be92 2021-04-16 wminix3 Updated Send And Receive Threads
6:c44055f94cc3 2021-04-16 wminix3 Split mbed send and receive threads
5:b7934866b264 2021-04-16 wminix3 First attempt at two-player mode with waits turned into Thread::waits.
4:739f6e0dd8af 2021-04-16 wminix3 Added mbed 2-player thread and wait for both mbeds to be ready during two-player before starting.
3:e6c081c7f6f1 2021-04-16 wminix3 Two-Player, updated Space Invaders for the mbed. Added a menu that has no functionality yet, valid sound files, file open error handling, second mbed serial, and pc serial.
2:4a3f97570578 2021-04-15 wminix3 Basic revisions from original space invaders. Added extra menu options, "volatile" on global variables, and serial mbed. Changed pins to add serial with second mbed.
1:618aa2c4ca6a 2016-03-15 michaeljson fixed bug
0:3817adfaeb06 2016-03-15 michaeljson Upload Mbed Space Invader version 1.0