wegame version adjustments
After Width: | Height: | Size: 120 KiB |
After Width: | Height: | Size: 297 KiB |
After Width: | Height: | Size: 993 KiB |
After Width: | Height: | Size: 809 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 531 KiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 502 KiB |
After Width: | Height: | Size: 575 KiB |
After Width: | Height: | Size: 776 KiB |
After Width: | Height: | Size: 1.1 MiB |
|
@ -158,8 +158,13 @@ export class HUDInteractiveTutorial extends BaseHUDPart {
|
|||
|
||||
onHintChanged(hintId) {
|
||||
this.elementDescription.innerHTML = T.ingame.interactiveTutorial.hints[hintId];
|
||||
|
||||
const folder = G_WEGAME_VERSION
|
||||
? "interactive_tutorial.cn.noinline"
|
||||
: "interactive_tutorial.noinline";
|
||||
|
||||
this.elementGif.style.backgroundImage =
|
||||
"url('" + cachebust("res/ui/interactive_tutorial.noinline/" + hintId + ".gif") + "')";
|
||||
"url('" + cachebust("res/ui/" + folder + "/" + hintId + ".gif") + "')";
|
||||
this.element.classList.toggle("animEven");
|
||||
this.element.classList.toggle("animOdd");
|
||||
}
|
||||
|
|