FEAT: prototype game menu using html elements, better icon for text chat

This commit is contained in:
kharhamel
2020-12-04 11:30:35 +01:00
parent 855b55903b
commit 069f2f1cec
23 changed files with 520 additions and 226 deletions
@@ -116,11 +116,12 @@ export class SelectCharacterScene extends ResizableScene {
}
private nextScene(): void {
this.scene.sleep(SelectCharacterSceneName);
if (this.selectedPlayer !== null) {
gameManager.setCharacterLayers([this.selectedPlayer.texture.key]);
this.scene.start(EnableCameraSceneName);
this.scene.run(EnableCameraSceneName);
} else {
this.scene.start(CustomizeSceneName);
this.scene.run(CustomizeSceneName);
}
}