From a5fa33e01c090732cdba523e56877f5ac7bccc3f Mon Sep 17 00:00:00 2001 From: Luis Canada Date: Sun, 8 Jan 2023 18:25:14 -0500 Subject: [PATCH] Add some instructions to the start up screen --- StartUp.pde | 5 +++++ Turn.pde | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/StartUp.pde b/StartUp.pde index 95056ab..9933ce1 100644 --- a/StartUp.pde +++ b/StartUp.pde @@ -6,6 +6,8 @@ public class StartUp extends Transitionable { private Textfield p1Name; private Textfield p2Name; private StartGameBtn startGameBtn; + private static final String instructions = "Enter the names for the people playing the game!"; + private static final int txt_y = 200; // * DRAWING CONSTANTS private static final int name_w = 200; @@ -73,6 +75,9 @@ public class StartUp extends Transitionable { fill(255); text("VS", m.cw, vs_y); + // Show instructions + textSize(30); + text(instructions, m.cw, txt_y); checkBtns(); } diff --git a/Turn.pde b/Turn.pde index 02eb587..965f88f 100644 --- a/Turn.pde +++ b/Turn.pde @@ -3,7 +3,7 @@ public class Turn extends Obj { public static final int y = Snap.ch; public int round_x = x; - public int round_y = y + 50; + public int round_y = y + 100; public String pName = "NULL"; public EnterBtn enterBtn;