From a397c564f3b7d2991627d0a3f3e12c03fcc102c7 Mon Sep 17 00:00:00 2001 From: Lukel495 Date: Tue, 5 Dec 2023 16:34:28 +0100 Subject: [PATCH] =?utf8?q?la=20till=20data=20f=C3=B6r=20textures=20i=20jso?= =?utf8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- assets/data.json | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/assets/data.json b/assets/data.json index 05c4965..6bf7909 100644 --- a/assets/data.json +++ b/assets/data.json @@ -29,11 +29,9 @@ "game_constants": { "bottles_per_second" : 2, - "game_time" : 20, + "game_time" : 2, "yf_per_second": 0.125, - "bikes_per_second": 0.17, - "scoreboard" : 5 - + "bikes_per_second": 0.17, }, "map": { @@ -60,6 +58,31 @@ "max_speed" : 3.0, "direction": [0, 1] + }, + "gameover_menu": + { + "scoreboard" : 5, + "texture": "assets/game_over.png", + "font" : "assets/fonts/Philosopher-Regular.ttf" + }, + "pause_menu": + { + "texture": "assets/Pause_bild.png", + "texture_mouse" : "assets/muspekareGul.png", + "font": "assets/fonts/Philosopher-Regular.ttf" + }, + "scoreboard_menu": + { + "texture": "assets/scoreboard.png", + "texture_mouse" : "assets/muspekareGul.png", + "font": "assets/fonts/Philosopher-Regular.ttf", + "highscore_file": "assets/highscore.csv" + }, + "start_menu": + { + "texture": "assets/meny_bild.png", + "texture_mouse" : "assets/muspekareGul.png", + "font": "assets/fonts/Philosopher-Regular.ttf" } } \ No newline at end of file -- 2.30.2