Update my-game.html
Browse files- my-game.html +3 -3
my-game.html
CHANGED
@@ -45,10 +45,10 @@ const urlParams = new URLSearchParams(queryString);
|
|
45 |
const main_url = "https://huggingface.co/datasets/Omnibus/game-data-1/raw/main/images/"
|
46 |
const my_game = urlParams.get("game")
|
47 |
|
48 |
-
const sky_img = (main_url+"
|
49 |
const platform_img = "./assets/platform.png";
|
50 |
-
const star_img = (main_url+"
|
51 |
-
const bomb_img = (main_url+"
|
52 |
const dude_img = "./assets/dude.png";
|
53 |
console.log(sky_img);
|
54 |
console.log(platform_img);
|
|
|
45 |
const main_url = "https://huggingface.co/datasets/Omnibus/game-data-1/raw/main/images/"
|
46 |
const my_game = urlParams.get("game")
|
47 |
|
48 |
+
const sky_img = (main_url+"background/"+my_game+"-background_img.png");
|
49 |
const platform_img = "./assets/platform.png";
|
50 |
+
const star_img = (main_url+"star/"+my_game+"-star_img.png");
|
51 |
+
const bomb_img = (main_url+"enemy/"+my_game+"-enemy_img.png");
|
52 |
const dude_img = "./assets/dude.png";
|
53 |
console.log(sky_img);
|
54 |
console.log(platform_img);
|