1
0
forked from noxious/client

Chat changes

This commit is contained in:
2024-08-21 02:45:49 +02:00
parent f513eb14e5
commit 558bf675b0
6 changed files with 59 additions and 52 deletions

View File

@ -2,20 +2,24 @@
<div class="flex justify-center items-center h-dvh p-8 relative">
<GmTools v-if="isLoaded && gameStore.character?.role === 'gm'" />
<GmPanel v-if="isLoaded && gameStore.character?.role === 'gm'" />
<!-- <Inventory />-->
<div v-if="!zoneEditorStore.active">
<Game :config="gameConfig" @create="createGame">
<Scene name="main" @preload="preloadScene" @create="createScene">
<div class="flex absolute justify-between left-0 right-0 top-12 mx-12 my-0">
<Hud />
</div>
<!-- <Inventory />-->
<World v-if="isLoaded" :key="gameStore.character?.zoneId" />
<div class="flex absolute justify-between left-0 right-0 bottom-24 h-24 mx-12 my-0">
<div class="w-full">
<Chat v-show="gameStore.isChatOpen" />
<div class="fixed inset-x-0 top-0 flex justify-start items-end p-10 pointer-events-none">
<div class="pointer-events-auto">
<Hud />
</div>
</div>
<World v-if="isLoaded" :key="gameStore.character?.zoneId" />
<div class="fixed inset-x-0 bottom-0 flex justify-between items-end p-10 pointer-events-none">
<div class="pointer-events-auto">
<Chat />
</div>
<div class="pointer-events-auto">
<Menubar />
</div>
<Menubar />
</div>
</Scene>
</Game>