1
0
forked from noxious/client

Show tile & mapObject list on top of toolbar buttons, re-enabled camera follow

This commit is contained in:
Dennis Postma 2025-02-01 02:26:54 +01:00
parent 09b458eeef
commit 09ee9bf01d
3 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ onMounted(async () => {
mapStore.setCharacterLoaded(true) mapStore.setCharacterLoaded(true)
// #146 : Set camera position to character, need to be improved still // #146 : Set camera position to character, need to be improved still
// scene.cameras.main.startFollow(charSprite.value as Phaser.GameObjects.Sprite) scene.cameras.main.startFollow(charSprite.value as Phaser.GameObjects.Sprite)
} }
updatePosition(character.positionX, character.positionY, character.rotation) updatePosition(character.positionX, character.positionY, character.rotation)

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800" v-if="isOpen"> <div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800 z-20" v-if="isOpen">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500"> <div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500">
<h3 class="text-lg text-white">Map objects</h3> <h3 class="text-lg text-white">Map objects</h3>
</div> </div>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800" v-if="isOpen"> <div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800 z-20" v-if="isOpen">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500"> <div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500">
<h3 class="text-lg text-white">Tiles</h3> <h3 class="text-lg text-white">Tiles</h3>
</div> </div>