1.0.4 update

This commit is contained in:
tobspr 2020-05-25 20:23:47 +02:00
parent 3f910eebb6
commit 0561cd9f89
6 changed files with 55 additions and 2 deletions

View File

@ -117,6 +117,10 @@
overflow-y: auto; overflow-y: auto;
pointer-events: all; pointer-events: all;
@include S(width, 350px); @include S(width, 350px);
> strong {
font-weight: bold;
}
} }
> .buttons { > .buttons {
@ -143,6 +147,32 @@
background-color: $colorRedBright; background-color: $colorRedBright;
color: #fff; color: #fff;
} }
&.timedButton {
pointer-events: none;
cursor: default;
position: relative;
overflow: hidden;
&::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: unset;
z-index: 5;
content: " ";
display: inline-block;
background: rgba(#fff, 0.6);
@include InlineAnimation(5s linear) {
0% {
width: 100%;
}
100% {
width: 0%;
}
}
}
}
} }
} }
} }

View File

@ -1,4 +1,12 @@
export const CHANGELOG = [ export const CHANGELOG = [
{
version: "1.0.4",
date: "unreleased",
entries: [
"<strong>Balancing</strong> Reduce cost of first painting upgrade, and change 'Shape Processing' to 'Cutting, Rotating & Stacking'",
"<strong>Tutorial</strong> Add dialog after completing level 2 to check out the upgrades tab.",
],
},
{ {
version: "1.0.3", version: "1.0.3",
date: "24.05.2020", date: "24.05.2020",

View File

@ -101,6 +101,14 @@ export class HUDUnlockNotification extends BaseHUDPart {
requestClose() { requestClose() {
this.root.app.adProvider.showVideoAd().then(() => { this.root.app.adProvider.showVideoAd().then(() => {
this.close(); this.close();
if (this.root.hubGoals.level === 3) {
const { showUpgrades } = this.root.hud.parts.dialogs.showInfo(
T.dialogs.upgradesIntroduction.title,
T.dialogs.upgradesIntroduction.desc,
["showUpgrades:good:timeout"]
);
showUpgrades.add(() => this.root.hud.parts.shop.show());
}
}); });
} }

View File

@ -97,7 +97,7 @@ export const UPGRADES = {
painting: { painting: {
tiers: [ tiers: [
{ {
required: [{ shape: "WrWrWrWr", amount: 2000 }], required: [{ shape: "WrWrWrWr", amount: 500 }],
improvement: 1, improvement: 1,
}, },
{ {

View File

@ -89,6 +89,7 @@ dialogs:
getStandalone: Get Standalone getStandalone: Get Standalone
deleteGame: I know what I do deleteGame: I know what I do
viewUpdate: View Update viewUpdate: View Update
showUpgrades: Show Upgrades
importSavegameError: importSavegameError:
title: Import Error title: Import Error
@ -165,6 +166,12 @@ dialogs:
desc: >- desc: >-
Whenever you need help or are stuck, check out the 'Show hint' button in the lower left and I'll give my best to help you! Whenever you need help or are stuck, check out the 'Show hint' button in the lower left and I'll give my best to help you!
upgradesIntroduction:
title: Unlock Upgrades
desc: >-
All shapes you produce can be used to unlock upgrades - <strong>Don't destroy your old factories!</strong>
The upgrades tab can be found on the top right corner of the screen.
ingame: ingame:
# This is shown in the top left corner and displays useful keybindings in # This is shown in the top left corner and displays useful keybindings in
# every situation # every situation

View File

@ -1 +1 @@
1.0.3 1.0.4