taiko-web development has returned to GitHub. This Gitea instance will be shut down soon.
If your taiko-web fork is unavailable due to DMCA takedown, you can contact GitHub Support and ask for it to be deleted.
Browse Source

Support different results characters for debug mode

kekero 6 months ago
parent
commit
572ee0e8d4

BIN
public/assets/img/results_tetsuohana.png View File


BIN
public/assets/img/results_tetsuohana2.png View File


+ 2
- 1
public/src/js/assets.js View File

@@ -81,7 +81,8 @@ var assets = {
81 81
 		"mimizu.png",
82 82
 		"results_flowers.png",
83 83
 		"results_mikoshi.png",
84
-		"results_tetsuohana.png"
84
+		"results_tetsuohana.png",
85
+		"results_tetsuohana2.png"
85 86
 	],
86 87
 	"audioSfx": [
87 88
 		"se_cancel.wav",

+ 1
- 1
public/src/js/scoresheet.js View File

@@ -134,7 +134,7 @@ class Scoresheet{
134 134
 			this.tetsuoHana.id = "tetsuohana"
135 135
 			var flowersBg = "url('" + assets.image["results_flowers"].src + "')"
136 136
 			var mikoshiBg = "url('" + assets.image["results_mikoshi"].src + "')"
137
-			var tetsuoHanaBg = "url('" + assets.image["results_tetsuohana"].src + "')"
137
+			var tetsuoHanaBg = "url('" + assets.image["results_tetsuohana" + (debugObj.state === "closed" ? "" : "2")].src + "')"
138 138
 			var id = ["flowers1", "flowers2", "mikoshi", "tetsuo", "hana"]
139 139
 			var bg = [flowersBg, flowersBg, mikoshiBg, tetsuoHanaBg, tetsuoHanaBg]
140 140
 			for(var i = 0; i < id.length; i++){

Loading…
Cancel
Save