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: 4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player
Diff: main.cpp
- Revision:
- 1:618aa2c4ca6a
- Parent:
- 0:3817adfaeb06
diff -r 3817adfaeb06 -r 618aa2c4ca6a main.cpp
--- a/main.cpp Tue Mar 15 19:09:51 2016 +0000
+++ b/main.cpp Tue Mar 15 19:46:47 2016 +0000
@@ -520,7 +520,9 @@
blk_x = player.player_blk_x+(player.player_width/2);
blk_y = player.player_blk_y;
missile_init(&missile, blk_x, blk_y, WHITE);
- enemy_missile_init(&enemy_missile, blk_x, blk_y, WHITE);
+ int e_blk_x = 0;
+ int e_blk_y = 2;
+ enemy_missile_init(&enemy_missile, e_blk_x, e_blk_y, WHITE);
// prints lives
uLCD.locate(0,0);