Customise characters with admin console

- Add new characters choise
 - Display on 3 line of 6 pers
 - Add custom characters from admin console wilth level -1
This commit is contained in:
Gregoire Parant
2021-01-12 13:19:51 +01:00
parent 648e6aef97
commit f8d4b696e8
4 changed files with 21 additions and 4 deletions
+3
View File
@@ -60,6 +60,9 @@ export class CustomizeScene extends ResizableScene {
const textures = localUser?.textures;
if (textures) {
for (const texture of textures) {
if(texture.level === -1){
continue;
}
loadCustomTexture(this.load, texture);
const name = 'customCharacterTexture'+texture.id;
this.layers[texture.level].unshift({