This commit is contained in:
Rudy Masson 2024-02-24 16:08:19 +01:00
parent 1e3468f2e7
commit fd552afef9
3 changed files with 13 additions and 14 deletions

View File

@ -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>

View File

@ -108,7 +108,6 @@
sendMessage("MOVED "+data.party.playerstatus); sendMessage("MOVED "+data.party.playerstatus);
// temporaire on passe au suivant // temporaire on passe au suivant
//playernext();
break; break;
@ -118,6 +117,7 @@
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