Art Update

Changes:
- New art
This commit is contained in:
2026-07-31 03:11:10 -04:00
parent a3dd9c6b19
commit bf578cf830
94 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ class ProgressBar {
if (index_string.length < 2) {
index_string = "0" + index_string;
}
img_fetcher.src = "src/Books/BookBar_v8_f00" + index_string + ".png";
img_fetcher.src = "src/Books/BookBar_f00" + index_string + ".png";
image_cache.push(img_fetcher);
};
}
@@ -60,7 +60,7 @@ class ProgressBar {
if (val_string.length < 2) {
val_string = "0" + val_string;
}
this.bar_back.style.backgroundImage = "url(src/Books/BookBar_v8_f00" + val_string + ".png)";
this.bar_back.style.backgroundImage = "url(src/Books/BookBar_f00" + val_string + ".png)";
setTimeout(this.antiFlash.bind(this), 150, val_string, val);
} else {
console.warn("Progress render failed.")
@@ -69,7 +69,7 @@ class ProgressBar {
//Prevent image flicker by pre-loading a version of the image then rendering the top image with a delay
antiFlash(val_string, new_val) {
this.bar_front.style.backgroundImage = "url(src/Books/BookBar_v8_f00" + val_string + ".png)";
this.bar_front.style.backgroundImage = "url(src/Books/BookBar_f00" + val_string + ".png)";
//Increment the animation ticker (plus an extra round of safety checks)
if ((new_val >= 0)
&& (new_val <= this.current_progress)