diff --git a/front/dist/resources/logos/logo.png b/front/dist/resources/logos/logo.png deleted file mode 100644 index f4440ad5..00000000 Binary files a/front/dist/resources/logos/logo.png and /dev/null differ diff --git a/front/dist/resources/logos/tcm_full.png b/front/dist/resources/logos/tcm_full.png deleted file mode 100644 index 3ea27990..00000000 Binary files a/front/dist/resources/logos/tcm_full.png and /dev/null differ diff --git a/front/dist/resources/logos/tcm_short.png b/front/dist/resources/logos/tcm_short.png deleted file mode 100644 index ed55c836..00000000 Binary files a/front/dist/resources/logos/tcm_short.png and /dev/null differ diff --git a/front/dist/static/images/Logo TCM.png b/front/dist/static/images/Logo TCM.png deleted file mode 100644 index bf4881b1..00000000 Binary files a/front/dist/static/images/Logo TCM.png and /dev/null differ diff --git a/front/dist/static/images/favicons/android-icon-144x144-white.png b/front/dist/static/images/favicons/android-icon-144x144-white.png new file mode 100644 index 00000000..64ba2d0f Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-144x144-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-144x144.png b/front/dist/static/images/favicons/android-icon-144x144.png index 037f624c..c00366f2 100644 Binary files a/front/dist/static/images/favicons/android-icon-144x144.png and b/front/dist/static/images/favicons/android-icon-144x144.png differ diff --git a/front/dist/static/images/favicons/android-icon-192x192-white.png b/front/dist/static/images/favicons/android-icon-192x192-white.png new file mode 100644 index 00000000..68e46bc5 Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-192x192-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-192x192.png b/front/dist/static/images/favicons/android-icon-192x192.png index 0968b1bd..58b7510a 100644 Binary files a/front/dist/static/images/favicons/android-icon-192x192.png and b/front/dist/static/images/favicons/android-icon-192x192.png differ diff --git a/front/dist/static/images/favicons/android-icon-36x36.-white.png b/front/dist/static/images/favicons/android-icon-36x36.-white.png new file mode 100644 index 00000000..8c0d19b7 Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-36x36.-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-36x36.png b/front/dist/static/images/favicons/android-icon-36x36.png index fabc0fa4..ff552e77 100644 Binary files a/front/dist/static/images/favicons/android-icon-36x36.png and b/front/dist/static/images/favicons/android-icon-36x36.png differ diff --git a/front/dist/static/images/favicons/android-icon-48x48-white.png b/front/dist/static/images/favicons/android-icon-48x48-white.png new file mode 100644 index 00000000..08fa015b Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-48x48-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-48x48.png b/front/dist/static/images/favicons/android-icon-48x48.png index ed206753..79022a1c 100644 Binary files a/front/dist/static/images/favicons/android-icon-48x48.png and b/front/dist/static/images/favicons/android-icon-48x48.png differ diff --git a/front/dist/static/images/favicons/android-icon-72x72-white.png b/front/dist/static/images/favicons/android-icon-72x72-white.png new file mode 100644 index 00000000..6af42ddf Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-72x72-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-72x72.png b/front/dist/static/images/favicons/android-icon-72x72.png index f92ffa32..46cd1fa0 100644 Binary files a/front/dist/static/images/favicons/android-icon-72x72.png and b/front/dist/static/images/favicons/android-icon-72x72.png differ diff --git a/front/dist/static/images/favicons/android-icon-96x96-white.png b/front/dist/static/images/favicons/android-icon-96x96-white.png new file mode 100644 index 00000000..f654a2f1 Binary files /dev/null and b/front/dist/static/images/favicons/android-icon-96x96-white.png differ diff --git a/front/dist/static/images/favicons/android-icon-96x96.png b/front/dist/static/images/favicons/android-icon-96x96.png index fda1933e..486e54df 100644 Binary files a/front/dist/static/images/favicons/android-icon-96x96.png and b/front/dist/static/images/favicons/android-icon-96x96.png differ diff --git a/front/dist/static/images/favicons/apple-icon-114x114-white.png b/front/dist/static/images/favicons/apple-icon-114x114-white.png new file mode 100644 index 00000000..1ad6cdfb Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-114x114-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-114x114.png b/front/dist/static/images/favicons/apple-icon-114x114.png index 3de5f8c4..ed795dff 100644 Binary files a/front/dist/static/images/favicons/apple-icon-114x114.png and b/front/dist/static/images/favicons/apple-icon-114x114.png differ diff --git a/front/dist/static/images/favicons/apple-icon-120x120-white.png b/front/dist/static/images/favicons/apple-icon-120x120-white.png new file mode 100644 index 00000000..859dca4b Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-120x120-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-120x120.png b/front/dist/static/images/favicons/apple-icon-120x120.png index 90ff4b18..6f711b36 100644 Binary files a/front/dist/static/images/favicons/apple-icon-120x120.png and b/front/dist/static/images/favicons/apple-icon-120x120.png differ diff --git a/front/dist/static/images/favicons/apple-icon-144x144-white.png b/front/dist/static/images/favicons/apple-icon-144x144-white.png new file mode 100644 index 00000000..64ba2d0f Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-144x144-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-144x144.png b/front/dist/static/images/favicons/apple-icon-144x144.png index 1fc655bb..c00366f2 100644 Binary files a/front/dist/static/images/favicons/apple-icon-144x144.png and b/front/dist/static/images/favicons/apple-icon-144x144.png differ diff --git a/front/dist/static/images/favicons/apple-icon-152x152-white.png b/front/dist/static/images/favicons/apple-icon-152x152-white.png new file mode 100644 index 00000000..f0ad867c Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-152x152-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-152x152.png b/front/dist/static/images/favicons/apple-icon-152x152.png index ca3a85ba..9b2a481f 100644 Binary files a/front/dist/static/images/favicons/apple-icon-152x152.png and b/front/dist/static/images/favicons/apple-icon-152x152.png differ diff --git a/front/dist/static/images/favicons/apple-icon-180x180-white.png b/front/dist/static/images/favicons/apple-icon-180x180-white.png new file mode 100644 index 00000000..a2cc2756 Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-180x180-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-180x180.png b/front/dist/static/images/favicons/apple-icon-180x180.png index 64190d74..26819d17 100644 Binary files a/front/dist/static/images/favicons/apple-icon-180x180.png and b/front/dist/static/images/favicons/apple-icon-180x180.png differ diff --git a/front/dist/static/images/favicons/apple-icon-57x57-white.png b/front/dist/static/images/favicons/apple-icon-57x57-white.png new file mode 100644 index 00000000..2abb0bd5 Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-57x57-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-57x57.png b/front/dist/static/images/favicons/apple-icon-57x57.png index 747c5c11..6d4b0588 100644 Binary files a/front/dist/static/images/favicons/apple-icon-57x57.png and b/front/dist/static/images/favicons/apple-icon-57x57.png differ diff --git a/front/dist/static/images/favicons/apple-icon-60x60-white.png b/front/dist/static/images/favicons/apple-icon-60x60-white.png new file mode 100644 index 00000000..ceb76061 Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-60x60-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-60x60.png b/front/dist/static/images/favicons/apple-icon-60x60.png index 61a9c874..a22bdd72 100644 Binary files a/front/dist/static/images/favicons/apple-icon-60x60.png and b/front/dist/static/images/favicons/apple-icon-60x60.png differ diff --git a/front/dist/static/images/favicons/apple-icon-72x72-white.png b/front/dist/static/images/favicons/apple-icon-72x72-white.png new file mode 100644 index 00000000..6af42ddf Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-72x72-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-72x72.png b/front/dist/static/images/favicons/apple-icon-72x72.png index da043d44..46cd1fa0 100644 Binary files a/front/dist/static/images/favicons/apple-icon-72x72.png and b/front/dist/static/images/favicons/apple-icon-72x72.png differ diff --git a/front/dist/static/images/favicons/apple-icon-76x76-white.png b/front/dist/static/images/favicons/apple-icon-76x76-white.png new file mode 100644 index 00000000..a861a91e Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-76x76-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-76x76.png b/front/dist/static/images/favicons/apple-icon-76x76.png index 5e51fe2b..f74b85d8 100644 Binary files a/front/dist/static/images/favicons/apple-icon-76x76.png and b/front/dist/static/images/favicons/apple-icon-76x76.png differ diff --git a/front/dist/static/images/favicons/apple-icon-precomposed-white.png b/front/dist/static/images/favicons/apple-icon-precomposed-white.png new file mode 100644 index 00000000..68e46bc5 Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-precomposed-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon-precomposed.png b/front/dist/static/images/favicons/apple-icon-precomposed.png index e1a4b3ed..58b7510a 100644 Binary files a/front/dist/static/images/favicons/apple-icon-precomposed.png and b/front/dist/static/images/favicons/apple-icon-precomposed.png differ diff --git a/front/dist/static/images/favicons/apple-icon-white.png b/front/dist/static/images/favicons/apple-icon-white.png new file mode 100644 index 00000000..68e46bc5 Binary files /dev/null and b/front/dist/static/images/favicons/apple-icon-white.png differ diff --git a/front/dist/static/images/favicons/apple-icon.png b/front/dist/static/images/favicons/apple-icon.png index 69d255b1..58b7510a 100644 Binary files a/front/dist/static/images/favicons/apple-icon.png and b/front/dist/static/images/favicons/apple-icon.png differ diff --git a/front/dist/static/images/favicons/favicon-16x16-white.png b/front/dist/static/images/favicons/favicon-16x16-white.png new file mode 100644 index 00000000..0a35297d Binary files /dev/null and b/front/dist/static/images/favicons/favicon-16x16-white.png differ diff --git a/front/dist/static/images/favicons/favicon-16x16.png b/front/dist/static/images/favicons/favicon-16x16.png index cd608133..f70bd387 100644 Binary files a/front/dist/static/images/favicons/favicon-16x16.png and b/front/dist/static/images/favicons/favicon-16x16.png differ diff --git a/front/dist/static/images/favicons/favicon-32x32-white.png b/front/dist/static/images/favicons/favicon-32x32-white.png new file mode 100644 index 00000000..cd14aee0 Binary files /dev/null and b/front/dist/static/images/favicons/favicon-32x32-white.png differ diff --git a/front/dist/static/images/favicons/favicon-32x32.png b/front/dist/static/images/favicons/favicon-32x32.png index a15ffef5..ebdd4c5b 100644 Binary files a/front/dist/static/images/favicons/favicon-32x32.png and b/front/dist/static/images/favicons/favicon-32x32.png differ diff --git a/front/dist/static/images/favicons/favicon-96x96-white.png b/front/dist/static/images/favicons/favicon-96x96-white.png new file mode 100644 index 00000000..f654a2f1 Binary files /dev/null and b/front/dist/static/images/favicons/favicon-96x96-white.png differ diff --git a/front/dist/static/images/favicons/favicon-96x96.png b/front/dist/static/images/favicons/favicon-96x96.png index 380de08a..486e54df 100644 Binary files a/front/dist/static/images/favicons/favicon-96x96.png and b/front/dist/static/images/favicons/favicon-96x96.png differ diff --git a/front/dist/static/images/favicons/favicon.ico b/front/dist/static/images/favicons/favicon.ico index 203ce590..e8264098 100644 Binary files a/front/dist/static/images/favicons/favicon.ico and b/front/dist/static/images/favicons/favicon.ico differ diff --git a/front/dist/static/images/favicons/icon-512x512-white.png b/front/dist/static/images/favicons/icon-512x512-white.png new file mode 100644 index 00000000..49637fc8 Binary files /dev/null and b/front/dist/static/images/favicons/icon-512x512-white.png differ diff --git a/front/dist/static/images/favicons/icon-512x512.png b/front/dist/static/images/favicons/icon-512x512.png index 41116386..3ef8c4d8 100644 Binary files a/front/dist/static/images/favicons/icon-512x512.png and b/front/dist/static/images/favicons/icon-512x512.png differ diff --git a/front/dist/static/images/favicons/manifest.json b/front/dist/static/images/favicons/manifest.json index 1cf2a835..bb782c0e 100644 --- a/front/dist/static/images/favicons/manifest.json +++ b/front/dist/static/images/favicons/manifest.json @@ -89,7 +89,7 @@ "sizes": "192x192", "type": "image\/png", "density": "4.0", - "purpose": "any maskable" + "purpose": "any" }, { diff --git a/front/dist/static/images/favicons/ms-icon-144x144.png b/front/dist/static/images/favicons/ms-icon-144x144.png index 59a7c4ce..4187486a 100644 Binary files a/front/dist/static/images/favicons/ms-icon-144x144.png and b/front/dist/static/images/favicons/ms-icon-144x144.png differ diff --git a/front/dist/static/images/favicons/ms-icon-150x150.png b/front/dist/static/images/favicons/ms-icon-150x150.png index 3515b43a..6e4949b4 100644 Binary files a/front/dist/static/images/favicons/ms-icon-150x150.png and b/front/dist/static/images/favicons/ms-icon-150x150.png differ diff --git a/front/dist/static/images/favicons/ms-icon-310x310.png b/front/dist/static/images/favicons/ms-icon-310x310.png index 115ce84d..a92695f3 100644 Binary files a/front/dist/static/images/favicons/ms-icon-310x310.png and b/front/dist/static/images/favicons/ms-icon-310x310.png differ diff --git a/front/dist/static/images/favicons/ms-icon-70x70.png b/front/dist/static/images/favicons/ms-icon-70x70.png index 342deff9..e9502e2d 100644 Binary files a/front/dist/static/images/favicons/ms-icon-70x70.png and b/front/dist/static/images/favicons/ms-icon-70x70.png differ diff --git a/front/dist/static/images/logo-WA-min.png b/front/dist/static/images/logo-WA-min.png index fe213151..429d75e5 100644 Binary files a/front/dist/static/images/logo-WA-min.png and b/front/dist/static/images/logo-WA-min.png differ diff --git a/front/dist/static/images/logo.png b/front/dist/static/images/logo.png index f4440ad5..08e70049 100644 Binary files a/front/dist/static/images/logo.png and b/front/dist/static/images/logo.png differ diff --git a/front/src/Components/images/logo-WA-min.png b/front/src/Components/images/logo-WA-min.png index fe213151..429d75e5 100644 Binary files a/front/src/Components/images/logo-WA-min.png and b/front/src/Components/images/logo-WA-min.png differ diff --git a/front/src/Components/images/logo.png b/front/src/Components/images/logo.png index f4440ad5..d094e6d2 100644 Binary files a/front/src/Components/images/logo.png and b/front/src/Components/images/logo.png differ diff --git a/front/src/Phaser/Components/Loader.ts b/front/src/Phaser/Components/Loader.ts index f77590eb..d126aded 100644 --- a/front/src/Phaser/Components/Loader.ts +++ b/front/src/Phaser/Components/Loader.ts @@ -3,8 +3,8 @@ import { DirtyScene } from "../Game/DirtyScene"; const LogoNameIndex: string = "logoLoading"; const TextName: string = "Loading..."; -const LogoResource: string = "resources/logos/logo.png"; -const LogoFrame: ImageFrameConfig = { frameWidth: 307, frameHeight: 59 }; +const LogoResource: string = "static/images/logo.png"; +const LogoFrame: ImageFrameConfig = { frameWidth: 310, frameHeight: 60 }; export const addLoader = (scene: Phaser.Scene): void => { // If there is nothing to load, do not display the loader. diff --git a/front/src/Phaser/Entity/Character.ts b/front/src/Phaser/Entity/Character.ts index a3252972..9e32d1d0 100644 --- a/front/src/Phaser/Entity/Character.ts +++ b/front/src/Phaser/Entity/Character.ts @@ -10,6 +10,7 @@ import { DEPTH_INGAME_TEXT_INDEX } from "../Game/DepthIndexes"; import { waScaleManager } from "../Services/WaScaleManager"; import type OutlinePipelinePlugin from "phaser3-rex-plugins/plugins/outlinepipeline-plugin.js"; import { isSilentStore } from "../../Stores/MediaStore"; +import { lazyLoadPlayerCharacterTextures } from "./PlayerTexturesLoadingManager"; const playerNameY = -25; @@ -57,10 +58,17 @@ export abstract class Character extends Container { this.sprites = new Map(); //textures are inside a Promise in case they need to be lazyloaded before use. - texturesPromise.then((textures) => { - this.addTextures(textures, frame); - this.invisible = false; - }); + texturesPromise + .then((textures) => { + this.addTextures(textures, frame); + this.invisible = false; + }) + .catch(() => { + return lazyLoadPlayerCharacterTextures(scene.load, ["color_22", "eyes_23"]).then((textures) => { + this.addTextures(textures, frame); + this.invisible = false; + }); + }); this.playerName = new Text(scene, 0, playerNameY, name, { fontFamily: '"Press Start 2P"',