mirror of
https://github.com/danbulant/heaventaker
synced 2026-07-09 21:20:42 +00:00
fix links
This commit is contained in:
parent
226192a19c
commit
3c45c3776a
1 changed files with 7 additions and 7 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
$: character = characters.find(c => c.name === d.character);
|
$: character = characters.find(c => c.name === d.character);
|
||||||
|
|
||||||
var art;
|
var art;
|
||||||
$: art = !character ? null : d.character_art || d.pose ? character.poses[d.pose] : character.art;
|
$: art = !character ? null : "/images/angels/" + (d.character_art || d.pose ? character.poses[d.pose] : character.art) + ".webp";
|
||||||
var background;
|
var background;
|
||||||
$: background = d.background;
|
$: background = d.background;
|
||||||
|
|
||||||
|
|
@ -49,15 +49,15 @@
|
||||||
art = null;
|
art = null;
|
||||||
background = null;
|
background = null;
|
||||||
showText = false;
|
showText = false;
|
||||||
art = "/sprite/death/1.webp";
|
art = "/images/death/1.webp";
|
||||||
failure = true;
|
failure = true;
|
||||||
(async() => {
|
(async() => {
|
||||||
await asleep(150);
|
await asleep(150);
|
||||||
art = "/sprite/death/2.webp";
|
art = "/images/death/2.webp";
|
||||||
await asleep(150);
|
await asleep(150);
|
||||||
art = "/sprite/death/3.webp";
|
art = "/images/death/3.webp";
|
||||||
await asleep(150);
|
await asleep(150);
|
||||||
art = "/sprite/death/4.webp";
|
art = "/images/death/4.webp";
|
||||||
allowSwitch = true;
|
allowSwitch = true;
|
||||||
failureShown = true;
|
failureShown = true;
|
||||||
})();
|
})();
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
failure = false;
|
failure = false;
|
||||||
current = next;
|
current = next;
|
||||||
d = dialog[current];
|
d = dialog[current];
|
||||||
art = !character ? null : (d.character_art || d.pose && character.poses ? character.poses[d.pose] : character.art);
|
art = !character ? null : "/images/angels/" + (d.character_art || d.pose && character.poses ? character.poses[d.pose] : character.art) + ".webp";
|
||||||
background = d.background;
|
background = d.background;
|
||||||
if(d.map) {
|
if(d.map) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
@ -161,7 +161,7 @@
|
||||||
<img src="./images/backgrounds/{background}.webp" alt="" class="full" draggable={false}>
|
<img src="./images/backgrounds/{background}.webp" alt="" class="full" draggable={false}>
|
||||||
{/if}
|
{/if}
|
||||||
{#if art}
|
{#if art}
|
||||||
<img src="./images/angels/{art}.webp" alt="" class="character" draggable={false}>
|
<img src=".{art}" alt="" class="character" draggable={false}>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if showText}
|
{#if showText}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue