Merge branch 'develop' of github.com:thecodingmachine/workadventure
BIN
front/dist/resources/logos/logo.png
vendored
Before Width: | Height: | Size: 16 KiB |
BIN
front/dist/resources/logos/tcm_full.png
vendored
Before Width: | Height: | Size: 300 B |
BIN
front/dist/resources/logos/tcm_short.png
vendored
Before Width: | Height: | Size: 216 B |
BIN
front/dist/static/images/Logo TCM.png
vendored
Before Width: | Height: | Size: 12 KiB |
BIN
front/dist/static/images/favicons/android-icon-144x144-white.png
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
front/dist/static/images/favicons/android-icon-192x192-white.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
front/dist/static/images/favicons/android-icon-36x36.-white.png
vendored
Normal file
After Width: | Height: | Size: 886 B |
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 841 B |
BIN
front/dist/static/images/favicons/android-icon-48x48-white.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 1.1 KiB |
BIN
front/dist/static/images/favicons/android-icon-72x72-white.png
vendored
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
front/dist/static/images/favicons/android-icon-96x96-white.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
front/dist/static/images/favicons/apple-icon-114x114-white.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
front/dist/static/images/favicons/apple-icon-120x120-white.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
front/dist/static/images/favicons/apple-icon-144x144-white.png
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
front/dist/static/images/favicons/apple-icon-152x152-white.png
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
front/dist/static/images/favicons/apple-icon-180x180-white.png
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
front/dist/static/images/favicons/apple-icon-57x57-white.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
front/dist/static/images/favicons/apple-icon-60x60-white.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
front/dist/static/images/favicons/apple-icon-72x72-white.png
vendored
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
front/dist/static/images/favicons/apple-icon-76x76-white.png
vendored
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
front/dist/static/images/favicons/apple-icon-precomposed-white.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
front/dist/static/images/favicons/apple-icon-white.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
front/dist/static/images/favicons/apple-icon.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
front/dist/static/images/favicons/favicon-16x16-white.png
vendored
Normal file
After Width: | Height: | Size: 445 B |
BIN
front/dist/static/images/favicons/favicon-16x16.png
vendored
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 471 B |
BIN
front/dist/static/images/favicons/favicon-32x32-white.png
vendored
Normal file
After Width: | Height: | Size: 792 B |
BIN
front/dist/static/images/favicons/favicon-32x32.png
vendored
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 848 B |
BIN
front/dist/static/images/favicons/favicon-96x96-white.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
front/dist/static/images/favicons/favicon-96x96.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
front/dist/static/images/favicons/favicon.ico
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
front/dist/static/images/favicons/icon-512x512-white.png
vendored
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
front/dist/static/images/favicons/icon-512x512.png
vendored
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.2 KiB |
@ -89,7 +89,7 @@
|
||||
"sizes": "192x192",
|
||||
"type": "image\/png",
|
||||
"density": "4.0",
|
||||
"purpose": "any maskable"
|
||||
"purpose": "any"
|
||||
},
|
||||
|
||||
{
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/static/images/favicons/ms-icon-70x70.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
front/dist/static/images/logo-WA-min.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/static/images/logo.png
vendored
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 5.8 KiB |
@ -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.
|
||||
|
@ -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<string, Sprite>();
|
||||
|
||||
//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"',
|
||||
|