Fix bugs found during testing
This commit is contained in:
parent
42af2b63d6
commit
a0e1cb68aa
|
@ -104,29 +104,28 @@
|
|||
&.pressed {
|
||||
transform: scale(0.9) !important;
|
||||
}
|
||||
}
|
||||
&.selected {
|
||||
// transform: scale(1.05);
|
||||
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
|
||||
@include S(border-radius, 2px);
|
||||
|
||||
&.selected {
|
||||
// transform: scale(1.05);
|
||||
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
|
||||
|
||||
.keybinding {
|
||||
color: #111;
|
||||
}
|
||||
.keybinding {
|
||||
color: #111;
|
||||
}
|
||||
}
|
||||
|
||||
.puzzle-lock {
|
||||
& {
|
||||
/* @load-async */
|
||||
background: uiResource("locked_building.png") center center / #{D(14px)} #{D(14px)}
|
||||
no-repeat;
|
||||
background: uiResource("locked_building.png") center center / 90% no-repeat;
|
||||
}
|
||||
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
|
||||
position: absolute;
|
||||
top: -30px;
|
||||
@include S(top, -15px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%) !important;
|
||||
transition: all 0.12s ease-in-out;
|
||||
|
@ -135,8 +134,8 @@
|
|||
cursor: pointer;
|
||||
pointer-events: all;
|
||||
|
||||
@include S(width, 14px);
|
||||
@include S(height, 14px);
|
||||
@include S(width, 12px);
|
||||
@include S(height, 12px);
|
||||
|
||||
&:hover {
|
||||
opacity: 0.5;
|
||||
|
|
|
@ -92,7 +92,7 @@ export class MainMenuState extends GameState {
|
|||
</div>
|
||||
|
||||
${
|
||||
G_IS_STANDALONE && puzzleDlc
|
||||
(G_IS_STANDALONE && puzzleDlc) || G_IS_DEV
|
||||
? `
|
||||
<div class="puzzleContainer">
|
||||
<img class="dlcLogo" src="${cachebust(
|
||||
|
|
|
@ -6,6 +6,7 @@ import { TextualGameState } from "../core/textual_game_state";
|
|||
import { formatBigNumberFull } from "../core/utils";
|
||||
import { enumGameModeIds } from "../game/game_mode";
|
||||
import { ShapeDefinition } from "../game/shape_definition";
|
||||
import { MUSIC } from "../platform/sound";
|
||||
import { Savegame } from "../savegame/savegame";
|
||||
import { T } from "../translations";
|
||||
|
||||
|
@ -59,6 +60,10 @@ export class PuzzleMenuState extends TextualGameState {
|
|||
this.activeCategory = "";
|
||||
}
|
||||
|
||||
getThemeMusic() {
|
||||
return MUSIC.puzzle;
|
||||
}
|
||||
|
||||
getStateHeaderTitle() {
|
||||
return T.puzzleMenu.title;
|
||||
}
|
||||
|
|
|
@ -622,8 +622,9 @@ ingame:
|
|||
- 1. Place <strong>Constant Producers</strong> to provide shapes and colors to the player
|
||||
- 2. Build one or more shapes you want the player to build later and deliver it to one or more <strong>Goal Acceptors</strong>
|
||||
- 3. Once a Goal Acceptor receives a shape for a certain amount of time, it <strong>saves it as a goal</strong> that the player must produce later (Indicated by the <strong>green badge</strong>).
|
||||
- 4. Once you click review, your puzzle will be validated and you can publish it.
|
||||
- 5. Upon release, <strong>all buildings will be removed</strong> except for the Producers and Goal Acceptors - That's the part that the player is supposed to figure out for themselves, after all :)
|
||||
- 4. Click the <strong>lock button</strong> on a building to disable it.
|
||||
- 5. Once you click review, your puzzle will be validated and you can publish it.
|
||||
- 6. Upon release, <strong>all buildings will be removed</strong> except for the Producers and Goal Acceptors - That's the part that the player is supposed to figure out for themselves, after all :)
|
||||
|
||||
puzzleCompletion:
|
||||
title: Puzzle Completed!
|
||||
|
|
Loading…
Reference in New Issue