png
This commit is contained in:
parent
1e3468f2e7
commit
fd552afef9
|
@ -24,7 +24,7 @@
|
||||||
{:then players}
|
{:then players}
|
||||||
{#each players as player}
|
{#each players as player}
|
||||||
{#if player.tileid == _id }
|
{#if player.tileid == _id }
|
||||||
<div style="background-color: {player.color}; width:40px;height:40px; border-radius:100%"></div>
|
<div style="width: 80px;height: 80px; background: url(./medias/logo/arnold.png) no-repeat {player.color}; background-size: 52px; background-position: center; border-radius: 50px"></div>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
{:catch err}
|
{:catch err}
|
||||||
|
@ -33,4 +33,3 @@
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -108,16 +108,16 @@
|
||||||
|
|
||||||
sendMessage("MOVED "+data.party.playerstatus);
|
sendMessage("MOVED "+data.party.playerstatus);
|
||||||
// temporaire on passe au suivant
|
// temporaire on passe au suivant
|
||||||
//playernext();
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "moved":
|
case "moved":
|
||||||
|
|
||||||
if(data.party.playertile.sound) {
|
if(data.party.playertile.sound) {
|
||||||
var audio = new Audio("./medias/sound/goat.mp3");
|
var audio = new Audio("./medias/sound/goat.mp3");
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
|
playernext();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -338,10 +338,10 @@
|
||||||
<button class="w-full bg-lime-500 hover:bg-lime-400 text-2xl md:text-3xl mb-3 text-black" on:click={roll}>
|
<button class="w-full bg-lime-500 hover:bg-lime-400 text-2xl md:text-3xl mb-3 text-black" on:click={roll}>
|
||||||
<div>Jetter les dés</div>
|
<div>Jetter les dés</div>
|
||||||
</button>
|
</button>
|
||||||
{:else}
|
<!-- {:else}
|
||||||
<button class="w-full bg-lime-500 hover:bg-lime-400 md:text-3xl mb-3 text-black p-3" on:click={playernext}>
|
<button class="w-full bg-lime-500 hover:bg-lime-400 md:text-3xl mb-3 text-black p-3" on:click={playernext}>
|
||||||
Prochain Joueur
|
Prochain Joueur
|
||||||
</button>
|
</button> -->
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
Loading…
Reference in New Issue