From: Lukel495 Date: Tue, 5 Dec 2023 15:34:28 +0000 (+0100) Subject: la till data för textures i json X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=a397c564f3b7d2991627d0a3f3e12c03fcc102c7;p=TDDC76_proj.git la till data för textures i json --- 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