aboutsummaryrefslogtreecommitdiff
path: root/arduino_sketch
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla.trueelena.org>2013-04-11 17:22:10 +0200
committerElena of Valhalla'' Grandi <valhalla.trueelena.org>2013-04-11 17:22:10 +0200
commit6777c3b4939c5a7a7dc79311ce3a9e85ea3d568f (patch)
tree6e91b6b3904fcd992a81dc8baabecd1cf662526a /arduino_sketch
parent791585c2a1b298bd4c949179c5e4e15a41660c6f (diff)
arduino sketch (tv): Fixed text positions on the screen
Diffstat (limited to 'arduino_sketch')
-rw-r--r--arduino_sketch/arcerino/arcerino.ino10
1 files changed, 5 insertions, 5 deletions
diff --git a/arduino_sketch/arcerino/arcerino.ino b/arduino_sketch/arcerino/arcerino.ino
index 80f08a3..72329c5 100644
--- a/arduino_sketch/arcerino/arcerino.ino
+++ b/arduino_sketch/arcerino/arcerino.ino
@@ -40,11 +40,11 @@ TVout TV;
#define LCD_0X 60
#define LCD_0Y 48
-#define TOP_TEXT_Y 8
-#define MIDDLE_TEXT_Y 48
-#define BOTTOM_TEXT_Y 96
+#define TOP_TEXT_Y 0
+#define MIDDLE_TEXT_Y 44
+#define BOTTOM_TEXT_Y 88
-#define LOAD_TEXT_X 60
+#define LOAD_TEXT_X 58
#define FONT_SMALL font6x8
#define FONT_BIG font8x8
@@ -191,7 +191,7 @@ void draw_title() {
void draw_wait() {
TV.select_font(FONT_SMALL);
TV.print(0,TOP_TEXT_Y,"Your score: ");
- TV.print(0,TOP_TEXT_Y+13,score,DEC);
+ TV.print(score,DEC);
TV.print(0,BOTTOM_TEXT_Y,"Press Z to start");
TV.print(0,MIDDLE_TEXT_Y,"Rank: ");
TV.select_font(FONT_BIG);