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 MotionSensor
Diff: Title/Title.cpp
- Revision:
- 45:8725b4171646
- Parent:
- 40:cbcbf6fc1421
- Child:
- 47:6e31b195ce3c
--- a/Title/Title.cpp Tue May 07 23:53:29 2019 +0000
+++ b/Title/Title.cpp Wed May 08 12:40:52 2019 +0000
@@ -85,9 +85,10 @@
lcd.printString("using the", 0, 1);
lcd.printString("potentiometer", 0, 2);
player.draw(lcd);
- player.draw_bullets(lcd, player.get_pos_y() - 2);
+ player.draw_bullets(lcd, player.get_pos_y() + 2);
lcd.refresh();
player.move(1, 0, (char *)level_map[0][0], (bool *)sprite_transparent_player);
+ player.undo_move_x(true);
player.buttons(false, true, false, false);
player.update_bullets((char *)level_map[0][0], (bool *)sprite_transparent_player);
wait_ms(1000/40);