Skip to content

Commit

Permalink
Add some instructions to the start up screen
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-c465 committed Jan 8, 2023
1 parent 0376e8d commit a5fa33e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions StartUp.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion Turn.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5fa33e

Please sign in to comment.