From ac9b9428e155f88dfe732e734c6a74dd2065921c Mon Sep 17 00:00:00 2001 From: James <150948866+jameslaight@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:01:35 +0100 Subject: [PATCH] rounds automatically progress --- core/src/com/monjaro/gamejam/main/Game.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/com/monjaro/gamejam/main/Game.java b/core/src/com/monjaro/gamejam/main/Game.java index 0245dfc..160299c 100644 --- a/core/src/com/monjaro/gamejam/main/Game.java +++ b/core/src/com/monjaro/gamejam/main/Game.java @@ -44,9 +44,6 @@ public class Game extends ApplicationAdapter { ui = new UI(this, 50, 280); - reroll(); - nextRound(); - Face.setBlankFaceSprite(new Texture("blank_die_face.png")); Face.setPipSprite(new Texture("pip.png")); Die.setLockedSprite(new Texture("locked_die_border.png")); @@ -58,6 +55,9 @@ public class Game extends ApplicationAdapter { for (int i = 0; i < 5; i++) { dice.add(new Die(divide * (i + 1), 350, 64, 64)); } + + reroll(); + nextRound(); } public void tick() { @@ -158,7 +158,7 @@ public class Game extends ApplicationAdapter { public Round generateRound(int difficulty) { Random random = new Random(); - int points = 5 + difficulty * 3; + int points = 2 + difficulty * 3; List segments = new ArrayList<>(); List decays = new ArrayList<>();