From 26ee6c12bb9297a7ede13d81ef72ecb4449aa6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Tue, 26 Jun 2018 23:37:50 +0200 Subject: [PATCH] Restored game area scaling to fit the screen --- TODO.md | 2 -- out/index.html | 1 - src/MainUI.ts | 24 ++++++++++++++++++++++- src/ui/AssetLoading.ts | 6 +++--- src/ui/BaseView.ts | 37 ++++++++++++++++++++++++++++++++---- src/ui/battle/Arena.ts | 18 ++++++++++++++---- src/ui/battle/ShipTooltip.ts | 2 +- src/ui/common/Messages.ts | 8 +++----- src/ui/common/Tooltip.ts | 7 ++++++- src/ui/common/UIBuilder.ts | 1 + 10 files changed, 84 insertions(+), 22 deletions(-) diff --git a/TODO.md b/TODO.md index 739c486..2756dce 100644 --- a/TODO.md +++ b/TODO.md @@ -4,8 +4,6 @@ To-Do-list Phaser 3 migration ------------------ -* Fit the game in window size -* Fix top-right messages positions * Fix valuebar requiring to be in root display list * Restore unit tests about boundaries (in UITools) diff --git a/out/index.html b/out/index.html index c25725b..4249445 100644 --- a/out/index.html +++ b/out/index.html @@ -46,7 +46,6 @@