Added vite-plugin-compression

This commit is contained in:
2024-11-02 13:34:52 +01:00
parent ed17e7f16e
commit 43c0f0ab1e
6 changed files with 62 additions and 60 deletions

View File

@ -20,7 +20,8 @@ export const useGameStore = defineStore('game', {
fogDensity: 0.5
} as WorldSettings,
game: {
isAssetsLoaded: false,
isLoading: false,
isLoaded: false, // isLoaded is currently being used to determine if the player has interacted with the game
loadedAssets: [] as AssetDataT[],
isPlayerDraggingCamera: false,
isCameraFollowingCharacter: false
@ -112,7 +113,7 @@ export const useGameStore = defineStore('game', {
this.user = null
this.character = null
this.game.isAssetsLoaded = false
this.game.isLoaded = false
this.game.loadedAssets = []
this.game.isPlayerDraggingCamera = false
this.game.isCameraFollowingCharacter = false