1
0
forked from noxious/client

Temp. depth sorting fix

This commit is contained in:
Dennis Postma 2025-02-01 16:14:15 +01:00
parent db426bb03e
commit d65ceba66a

View File

@ -1,9 +1,9 @@
<template> <template>
<Container ref="characterContainer" :x="currentPositionX" :y="currentPositionY" :depth="1"> <Container ref="characterContainer" :x="currentPositionX" :y="currentPositionY" :depth="isometricDepth">
<ChatBubble :mapCharacter="props.mapCharacter" /> <ChatBubble :mapCharacter="props.mapCharacter" />
<HealthBar :mapCharacter="props.mapCharacter" /> <HealthBar :mapCharacter="props.mapCharacter" />
<CharacterHair :mapCharacter="props.mapCharacter" /> <CharacterHair :mapCharacter="props.mapCharacter" />
<Sprite ref="characterSprite" :depth="isometricDepth" :origin-y="1" :flipX="isFlippedX" /> <Sprite ref="characterSprite" :origin-y="1" :flipX="isFlippedX" />
</Container> </Container>
</template> </template>