Centered camera & Modal position changes

- Able to give position to modal other then centered.
 - Camera now centered on character when
   - Character joins zone
   - Character teleports on to zone
   - Window resize
This commit is contained in:
Zaxiure
2024-09-21 12:00:49 +02:00
parent cfb3e427cf
commit d0bf622443
6 changed files with 95 additions and 8 deletions

View File

@ -142,6 +142,7 @@ export type Character = {
role: string
positionX: number
positionY: number
relativePosition: {x: number, y: number}
rotation: number
zoneId: number
zone: Zone