${
isSupportedBrowser()
@@ -220,6 +220,8 @@ export class MainMenuState extends GameState {
this.trackClicks(qs(".settingsButton"), this.onSettingsButtonClicked);
this.trackClicks(qs(".changelog"), this.onChangelogClicked);
+ this.trackClicks(qs(".participateContest"), this.onContestClicked);
+
if (G_IS_STANDALONE) {
this.trackClicks(qs(".exitAppButton"), this.onExitAppButtonClicked);
}
@@ -267,6 +269,15 @@ export class MainMenuState extends GameState {
this.moveToState("ChangelogState");
}
+ onContestClicked() {
+ this.app.analytics.trackUiClick("contest_click");
+
+ this.dialogs.showInfo(
+ T.mainMenu.contests.contest_01_03062020.title,
+ T.mainMenu.contests.contest_01_03062020.longDesc
+ );
+ }
+
renderSavegames() {
const oldContainer = this.htmlElement.querySelector(".mainContainer .savegames");
if (oldContainer) {
diff --git a/translations/base-en.yaml b/translations/base-en.yaml
index 07d22844..6f66894b 100644
--- a/translations/base-en.yaml
+++ b/translations/base-en.yaml
@@ -64,15 +64,9 @@ global:
demoBanners:
# This is the "advertisement" shown in the main menu and other various places
- title: Hey!
+ title: Demo Version
intro: >-
- If you enjoy this game, please consider buying the full version!
- advantages:
- - Unlimited savegames
- - Waypoints
- - Dark mode & more
- - >-
- Allow me to further develop shapez.io ❤️
+ Get the standalone to unlock all features!
mainMenu:
play: Play
@@ -88,6 +82,28 @@ mainMenu:
savegameLevel: Level
savegameLevelUnknown: Unknown Level
+ contests:
+ contest_01_03062020:
+ title: "Contest #01"
+ desc: Win $25 for the coolest base!
+ longDesc: >-
+ To give something back to you, I thought it would be cool to make weekly contests!
+
+ This weeks topic: Build the coolest base!
+
+ Here's the deal:
+
+
Submit a screenshot of your base to contest@shapez.io
+
Bonus points if you share it on social media!
+
I will choose 5 screenshots and propose it to the discord community to vote.
+
The winner gets $25 (Paypal, Amazon Gift Card, whatever you prefer)
+
Deadline: 07.06.2020 12:00 CEST
+
+
+ I'm looking forward to seeing your awesome creations!
+
+ showInfo: Participate
+
dialogs:
buttons:
ok: OK
@@ -153,7 +169,7 @@ dialogs:
leaveNotPossibleInDemo:
title: Demo version
- desc: Your game was saved but you will not be able to restore it in the demo. Restoring your savegames is only possible in the full version. Are you sure?
+ desc: Your game has been saved, but you will not be able to restore it in the demo. Restoring your savegames is only possible in the full version. Are you sure?
newUpdate:
title: Update available
diff --git a/version b/version
index 1b87bcd0..314c3d71 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-1.1.4
\ No newline at end of file
+1.1.5
\ No newline at end of file