Update my-game.html
Browse files- my-game.html +3 -3
my-game.html
CHANGED
@@ -41,15 +41,15 @@ var scoreText;
|
|
41 |
var game = new Phaser.Game(config);
|
42 |
const queryString = window.location.search;
|
43 |
const urlParams = new URLSearchParams(queryString);
|
44 |
-
|
45 |
const main_url = "https://huggingface.co/datasets/Omnibus/game-data-1/resolve/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 = main_url+"platform/"+my_game+"-
|
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 = (main_url+"dude/"+my_game+"-
|
53 |
console.log(sky_img);
|
54 |
console.log(platform_img);
|
55 |
console.log(star_img);
|
|
|
41 |
var game = new Phaser.Game(config);
|
42 |
const queryString = window.location.search;
|
43 |
const urlParams = new URLSearchParams(queryString);
|
44 |
+
//https://huggingface.co/datasets/Omnibus/game-data-1/resolve/main/images/platform/2023-10-26--05-08-18-632173-platform_img.png
|
45 |
const main_url = "https://huggingface.co/datasets/Omnibus/game-data-1/resolve/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 = (main_url+"platform/"+my_game+"-platform_img.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 = (main_url+"dude/"+my_game+"-dude_img.png");
|
53 |
console.log(sky_img);
|
54 |
console.log(platform_img);
|
55 |
console.log(star_img);
|