test json data
authorLukel495 <lukas.eliasson@live.se>
Mon, 11 Dec 2023 10:20:45 +0000 (11:20 +0100)
committerLukel495 <lukas.eliasson@live.se>
Mon, 11 Dec 2023 10:20:45 +0000 (11:20 +0100)
assets/data_test.json [new file with mode: 0644]

diff --git a/assets/data_test.json b/assets/data_test.json
new file mode 100644 (file)
index 0000000..a235262
--- /dev/null
@@ -0,0 +1,138 @@
+{
+    "player": {
+        "start_pos": [
+            200,
+            200
+        ],
+        "scale": [
+            0.5,
+            0.5
+        ],
+        "max_speed": 5,
+        "degrees_per_second": 360,
+        "sack": {
+            "offset": [
+                25,
+                -5
+            ],
+            "scale": [
+                0.3,
+                0.3
+            ],
+            "angle": -25
+        }
+    },
+    "helper": {
+        "start_pos": [
+            1000,
+            50
+        ],
+        "scale": [
+            0.3,
+            0.3
+        ],
+        "max_speed": 2,
+        "direction": [
+            0.35,
+            1
+        ],
+        "stop_top": 50,
+        "stop_bot": 500
+    },
+    "bottle": {
+        "scale": [
+            0.5,
+            0.5
+        ]
+    },
+    "game_constants": {
+        "scoreboard": 5,
+        "bottles_per_second": 1.5,
+        "game_time": 30,
+        "yf_per_second": 0.125,
+        "bikes_per_second": 0.17,
+        "point_scale_div": 3.0,
+        "highscore_file": "assets/highscore.csv"
+    },
+    "map": {
+        "points_pos": [
+            5,
+            38
+        ],
+        "collected_pos": [
+            5,
+            76
+        ],
+        "time_pos": [
+            5,
+            0
+        ],
+        "font_size": 36
+    },
+    "main_enemy": {
+        "scale": [
+            0.35,
+            0.35
+        ],
+        "start_pos": [
+            50,
+            600
+        ],
+        "max_speed": 2.0,
+        "degrees_per_second": 360
+    },
+    "yf": {
+        "scale": [
+            1,
+            1
+        ],
+        "max_speed": 2.0,
+        "direction": [
+            0,
+            -1
+        ]
+    },
+    "bike_enemy": {
+        "scale": [
+            0.25,
+            0.25
+        ],
+        "max_speed": 5.0,
+        "direction": [
+            0,
+            1
+        ],
+        "sin_amplitude": 50,
+        "sin_omega": 5
+    },
+    "game_state_assets": {
+        "kir_file": "assets/kir.png",
+        "YF_file": "assets/YF.png",
+        "cyklist_file": "assets/cyklist.png",
+        "ling_file": "assets/6Ling_figur2.png",
+        "sack_file": "assets/sack.png",
+        "player_file": "assets/4V_figur.png",
+        "helper_file": "assets/ysex.png",
+        "map_file": "assets/bakgrund.png"
+    },
+    "gameover_menu": {
+        "texture": "assets/game_over.png",
+        "texture_mouse": "assets/muspekareRed.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/muspekare2.png",
+        "font": "assets/fonts/Philosopher-Regular.ttf"
+    },
+    "start_menu": {
+        "texture": "assets/meny_bild.png",
+        "texture_mouse": "assets/muspekareGul.png",
+        "font": "assets/fonts/Philosopher-Regular.ttf"
+    }
+}
\ No newline at end of file