Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17dg by
Diff: Models/models.cpp
- Revision:
- 36:207ec7db8648
- Parent:
- 35:172db1608332
--- a/Models/models.cpp Tue Apr 30 20:51:39 2019 +0000
+++ b/Models/models.cpp Thu May 02 13:35:22 2019 +0000
@@ -133,6 +133,101 @@
};
const Sprite enemy1_sprite(11, 19, enemyShip1);
+const int enemyShip1QuarterExploded [209] = { //11 by 19
+
+
+ 0,0,0,0,0,1,0,0,0,0,0,
+ 0,0,0,0,0,0,1,1,0,1,1,
+ 0,0,0,0,0,0,1,1,0,1,1,
+ 0,0,0,0,0,0,0,0,0,0,1,
+ 0,0,0,0,0,1,0,0,1,1,0,
+ 0,0,0,0,0,0,0,0,1,0,0,
+ 0,0,0,1,1,1,1,1,1,0,0,
+ 0,0,0,0,0,0,1,1,1,0,0,
+ 0,0,0,1,1,1,0,1,0,1,0,
+ 1,0,1,1,0,1,1,0,1,1,1,
+ 0,0,0,1,1,1,0,1,0,1,0,
+ 0,0,0,0,0,0,1,1,1,0,0,
+ 0,0,0,1,1,0,1,1,1,0,0,
+ 0,0,0,0,0,0,0,0,1,0,0,
+ 0,0,0,0,0,1,0,0,1,1,0,
+ 0,0,0,0,0,0,1,1,1,1,1,
+ 0,0,0,0,0,0,1,0,0,0,0,
+ 0,0,0,0,0,0,1,1,1,1,0,
+ 0,0,0,0,0,1,0,0,0,0,0
+
+};
+const Sprite enemy1_quarter_exploded_sprite(11, 19, enemyShip1QuarterExploded);
+
+const int enemyShip1HalfExploded [209] = { //11 by 19
+ 0,0,0,0,0,1,0,0,0,0,0,
+ 0,0,0,0,0,0,1,1,0,1,1,
+ 0,1,1,0,0,0,1,1,0,1,1,
+ 0,0,0,0,0,0,0,0,0,0,1,
+ 0,0,1,0,0,1,0,0,1,1,0,
+ 0,0,0,0,0,0,0,0,1,0,0,
+ 0,0,0,1,1,1,1,1,1,0,0,
+ 0,0,0,0,0,0,1,1,1,0,0,
+ 0,0,0,1,1,1,0,1,0,1,0,
+ 1,0,1,1,0,1,1,0,1,1,1,
+ 0,0,0,1,0,1,0,1,0,1,0,
+ 0,0,0,0,0,0,1,0,1,0,0,
+ 0,0,0,1,1,0,1,1,1,0,0,
+ 0,1,0,0,0,0,0,0,1,0,0,
+ 0,0,0,0,0,1,0,0,1,1,0,
+ 0,0,1,0,0,0,1,1,1,1,1,
+ 1,0,1,0,0,0,1,0,0,0,0,
+ 0,1,1,1,0,0,1,0,0,1,0,
+ 0,0,0,0,0,1,0,0,0,0,0
+};
+const Sprite enemy1_half_exploded_sprite(11, 19, enemyShip1HalfExploded);
+
+const int enemyShip1SecondQuarterExploded [209] = { //11 by 19
+ 0,0,0,0,0,1,0,0,0,0,0,
+ 0,1,0,0,0,0,1,0,0,1,0,
+ 0,1,1,0,0,0,1,1,0,1,1,
+ 0,0,0,0,0,0,0,0,0,0,1,
+ 0,0,1,0,0,1,0,0,1,1,0,
+ 0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,1,1,1,0,1,0,1,0,0,
+ 0,0,1,0,0,0,1,1,1,0,0,
+ 1,0,0,1,0,1,0,0,0,1,0,
+ 1,0,1,0,0,1,0,0,1,0,1,
+ 0,1,0,1,0,1,0,1,0,1,0,
+ 0,0,0,0,0,0,1,0,1,0,0,
+ 0,0,0,1,1,0,1,0,1,0,0,
+ 0,1,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,1,0,0,0,1,0,
+ 0,0,1,0,0,0,1,0,1,1,1,
+ 1,0,1,1,0,0,1,0,0,0,0,
+ 0,1,1,1,0,0,1,0,0,1,0,
+ 0,0,0,0,0,1,0,0,0,0,0
+};
+const Sprite enemy1_second_quarter_exploded_sprite(11, 19, enemyShip1SecondQuarterExploded);
+
+const int enemyShip1FullyExploded [209] = { //11 by 19
+ 0,0,0,0,0,1,0,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