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:
- 34:754915ce9de5
- Parent:
- 33:c623c6d5ed16
- Child:
- 35:172db1608332
--- a/Models/models.cpp Mon Apr 29 08:10:52 2019 +0000
+++ b/Models/models.cpp Tue Apr 30 19:24:41 2019 +0000
@@ -6,12 +6,18 @@
const int enemy2_height = 7;
const int enemy2_width = 11;
-const int enemy1_height = 17;
+const int enemy1_height = 19;
const int enemy1_width = 11;
const int PressAHeight = 11;
const int PressAWidth = 13;
+const int blast[8] = {
+ 1,1,1,1,
+ 1,1,1,1
+};
+const Sprite blast_sprite(4, 2, blast);
+
const int cursor[84] = { //12 by 7
0,0,0,0,1,0,0,0,0,0,1,1,
0,0,1,1,1,1,0,0,0,1,0,0,
@@ -104,26 +110,28 @@
};
const Sprite big_star_sprite(7, 7, starBig);
-const int enemyShip1 [187] = { //11 by 17
+const int enemyShip1 [209] = { //11 by 19
+ 0,0,0,0,0,1,0,0,0,0,0,
0,0,0,0,0,0,1,1,1,1,1,
0,0,0,0,0,0,1,1,1,1,1,
0,0,0,0,0,0,1,1,1,1,1,
- 0,0,0,0,0,0,0,0,1,1,0,
+ 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,1,1,1,1,1,1,0,1,1,1,
+ 1,1,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,1,1,1,1,0,0,
0,0,0,0,0,0,0,0,1,0,0,
- 0,0,0,0,0,0,0,0,1,1,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,1,1,1,1,
0,0,0,0,0,0,1,1,1,1,1,
- 0,0,0,0,0,0,1,1,1,1,1
+ 0,0,0,0,0,1,0,0,0,0,0
};
-const Sprite enemy1_sprite(11, 17, enemyShip1);
+const Sprite enemy1_sprite(11, 19, enemyShip1);
const int enemyShip2 [77] = { // 11 by 7
0,0,0,1,1,1,1,1,1,0,0,
