From e91e1416f4e50be33889f17f603a3f42fb8119df Mon Sep 17 00:00:00 2001 From: tobspr Date: Thu, 21 May 2020 17:54:55 +0200 Subject: [PATCH] Get rid of demo messages --- src/js/game/hud/parts/game_menu.js | 12 ++++++------ src/js/states/main_menu.js | 8 ++++---- translations/base-en.yaml | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/js/game/hud/parts/game_menu.js b/src/js/game/hud/parts/game_menu.js index b71adff4..ef05bdbf 100644 --- a/src/js/game/hud/parts/game_menu.js +++ b/src/js/game/hud/parts/game_menu.js @@ -118,12 +118,12 @@ export class HUDGameMenu extends BaseHUDPart { } startSave() { - if (IS_DEMO) { - this.root.hud.parts.dialogs.showFeatureRestrictionInfo( - null, - T.dialogs.saveNotPossibleInDemo.desc - ); - } + // if (IS_DEMO) { + // this.root.hud.parts.dialogs.showFeatureRestrictionInfo( + // null, + // T.dialogs.saveNotPossibleInDemo.desc + // ); + // } this.root.gameState.doSave(); } diff --git a/src/js/states/main_menu.js b/src/js/states/main_menu.js index 54658728..539d4b76 100644 --- a/src/js/states/main_menu.js +++ b/src/js/states/main_menu.js @@ -272,10 +272,10 @@ export class MainMenuState extends GameState { resumeGame(game) { this.app.analytics.trackUiClick("resume_game"); - if (IS_DEMO) { - this.dialogs.showFeatureRestrictionInfo(T.demo.features.restoringGames); - return; - } + // if (IS_DEMO) { + // this.dialogs.showFeatureRestrictionInfo(T.demo.features.restoringGames); + // return; + // } const savegame = this.app.savegameMgr.getSavegameById(game.internalId); savegame.readAsync().then(() => { diff --git a/translations/base-en.yaml b/translations/base-en.yaml index c78cb8ce..c781a9aa 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -61,7 +61,7 @@ demoBanners: intro: >- If you enjoy this game, please consider to buy the full version! advantages: - - Save & restore your games + - No advertisements - Dark mode - >- Allow me to further develop shapez.io ❤️ @@ -146,8 +146,8 @@ dialogs: desc: There is an update for this game available! demoExplanation: - title: You can not save - desc: This is a demo, and you will not be able to restore your saved games. To save and resume your games, get the standalone on itch.io (You can import them).

I know this sucks, but otherwise I can not continue the development of this game! + title: Notice from the Developer + desc: I am developing this game in my free time, and I hope you enjoy it! If you do, please consider to buy the standalone version! ingame: # This is shown in the top left corner and displays useful keybindings in