diff --git a/src/main/java/seng302/gameServer/MainServerThread.java b/src/main/java/seng302/gameServer/MainServerThread.java index a5eef1f0..81a052fb 100644 --- a/src/main/java/seng302/gameServer/MainServerThread.java +++ b/src/main/java/seng302/gameServer/MainServerThread.java @@ -196,21 +196,21 @@ public class MainServerThread implements Runnable, ClientConnectionDelegate { if (Math.floorMod(random.nextInt(), 2) == 0){ direction += random.nextInt(4); - windSpeed += random.nextInt(20) + 50; + windSpeed += random.nextInt(20) + 459; } else{ direction -= random.nextInt(4); - windSpeed -= random.nextInt(20) + 50; + windSpeed -= random.nextInt(20) + 459; } direction = Math.floorMod(direction, 360); if (windSpeed > MAX_WIND_SPEED){ - windSpeed -= random.nextInt(1000); + windSpeed -= random.nextInt(500); } if (windSpeed <= MIN_WIND_SPEED){ - windSpeed += random.nextInt(1000); + windSpeed += random.nextInt(500); } GameState.setWindSpeed(Double.valueOf(windSpeed)); diff --git a/src/main/resources/css/DJB-Get-Digital.ttf b/src/main/resources/css/DJB-Get-Digital.ttf deleted file mode 100644 index 4cd9ec7d..00000000 Binary files a/src/main/resources/css/DJB-Get-Digital.ttf and /dev/null differ diff --git a/src/main/resources/css/RaceView.css b/src/main/resources/css/RaceView.css index 63191b7e..11e8f285 100644 --- a/src/main/resources/css/RaceView.css +++ b/src/main/resources/css/RaceView.css @@ -1,13 +1,15 @@ @font-face { - src: url("DJB-Get-Digital.ttf"); + src: url("digital-7-mono.ttf"); } #timerGrid{ -fx-background-color: rgba(255, 255, 255, 0.6); + -fx-effect: -fx-pp-dropshadow-light; } -.timer Label { - -fx-font-family: "DJB Get Digital" !important; +GridPane .timer * { + -fx-font-family: "Digital-7 Mono" !important; + -fx-font-size: 30; } #timerLabel{ @@ -19,19 +21,26 @@ } #chatGridPane { - -fx-background-color: rgba(255, 255, 255, 0.6); + -fx-background-color: transparent; } #chatHistoryHolder { + -fx-background-color: rgba(255, 255, 255, 0.6); + -fx-effect: -fx-pp-dropshadow-light; +} +#chatInputHolder { + -fx-background-color: rgba(255, 255, 255, 0.6); + -fx-effect: -fx-pp-dropshadow-light; } #windGridPane { -fx-background-color: rgba(255, 255, 255, 0.6); + -fx-effect: -fx-pp-dropshadow-light; } #windHolder { - -fx-background-color: -fx-pp-front-color; + -fx-background-color: rgba(255, 255, 255, 0.5); } #chatSend { @@ -52,5 +61,5 @@ } #windImageView { - -fx-image: url("/images/wind.png"); + -fx-image: url("/images/wind-180.png"); } \ No newline at end of file diff --git a/src/main/resources/css/digital-7-mono.ttf b/src/main/resources/css/digital-7-mono.ttf new file mode 100644 index 00000000..602b1959 Binary files /dev/null and b/src/main/resources/css/digital-7-mono.ttf differ diff --git a/src/main/resources/images/wind-180.png b/src/main/resources/images/wind-180.png new file mode 100644 index 00000000..6d94e53a Binary files /dev/null and b/src/main/resources/images/wind-180.png differ diff --git a/src/main/resources/images/wind.png b/src/main/resources/images/wind.png index c4502a87..3cbdd32a 100644 Binary files a/src/main/resources/images/wind.png and b/src/main/resources/images/wind.png differ diff --git a/src/main/resources/views/RaceView.fxml b/src/main/resources/views/RaceView.fxml index 159b8e48..4a8f64e2 100644 --- a/src/main/resources/views/RaceView.fxml +++ b/src/main/resources/views/RaceView.fxml @@ -14,8 +14,11 @@ - - + @@ -29,13 +32,15 @@ - + - + - + @@ -76,15 +81,17 @@ - - + - + - + @@ -92,19 +99,47 @@ - + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + + + - +