mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor UX improvements
This commit is contained in:
parent
1cba701b8a
commit
27e114c362
@ -45,7 +45,7 @@
|
||||
text-transform: uppercase;
|
||||
// font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: #{D(1px)} #{D(1px)} 0 rgba(0, 10, 20, 0.2);
|
||||
text-shadow: #{D(1px)} #{D(1px)} 0 rgba(0, 10, 20, 0.1);
|
||||
|
||||
@include S(margin-left, 5px);
|
||||
}
|
||||
@ -55,7 +55,7 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.placementActive .binding.noPlacementOnly {
|
||||
&.placementActive .noPlacementOnly {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ export const globalConfig = {
|
||||
|
||||
debug: {
|
||||
/* dev:start */
|
||||
// fastGameEnter: true,
|
||||
fastGameEnter: true,
|
||||
// noArtificialDelays: true,
|
||||
// disableSavegameWrite: true,
|
||||
// showEntityBounds: true,
|
||||
@ -93,8 +93,8 @@ export const globalConfig = {
|
||||
// disableZoomLimits: true,
|
||||
// showChunkBorders: true,
|
||||
// rewardsInstant: true,
|
||||
allBuildingsUnlocked: true,
|
||||
upgradesNoCost: true,
|
||||
// allBuildingsUnlocked: true,
|
||||
// upgradesNoCost: true,
|
||||
// disableUnlockDialog: true,
|
||||
// disableLogicTicks: true,
|
||||
// testClipping: true,
|
||||
|
@ -37,7 +37,7 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
|
||||
</div>
|
||||
|
||||
<div class="binding">
|
||||
<code class="keybinding leftMouse"></code><i></i>
|
||||
<code class="keybinding leftMouse noPlacementOnly"></code><i class="noPlacementOnly"></i>
|
||||
<code class="keybinding">${getKeycode(KEYMAPPINGS.ingame.mapMoveUp)}</code>
|
||||
<code class="keybinding">${getKeycode(KEYMAPPINGS.ingame.mapMoveLeft)}</code>
|
||||
<code class="keybinding">${getKeycode(KEYMAPPINGS.ingame.mapMoveDown)}</code>
|
||||
@ -53,6 +53,11 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
|
||||
</div>
|
||||
|
||||
|
||||
<div class="binding placementOnly">
|
||||
<code class="keybinding leftMouse"></code>
|
||||
<label>${T.ingame.keybindingsOverlay.placeBuilding}</label>
|
||||
</div>
|
||||
|
||||
<div class="binding placementOnly">
|
||||
<code class="keybinding rightMouse"></code><i></i>
|
||||
<code class="keybinding">${getKeycode(KEYMAPPINGS.placement.abortBuildingPlacement)}</code>
|
||||
@ -68,25 +73,7 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
|
||||
<code class="keybinding builtinKey shift">⇧ ${T.global.keys.shift}</code>
|
||||
<label>${T.ingame.keybindingsOverlay.placeMultiple}</label>
|
||||
</div>
|
||||
|
||||
<div class="binding placementOnly">
|
||||
<code class="keybinding builtinKey">${T.global.keys.alt}</code>
|
||||
<label>${T.ingame.keybindingsOverlay.reverseOrientation}</label>
|
||||
</div>
|
||||
|
||||
<div class="binding placementOnly">
|
||||
<code class="keybinding builtinKey">${T.global.keys.control}</code>
|
||||
<label>${T.ingame.keybindingsOverlay.disableAutoOrientation}</label>
|
||||
</div>
|
||||
` +
|
||||
(queryParamOptions.betaMode
|
||||
? `
|
||||
<div class="binding hudToggle">
|
||||
<code class="keybinding">F2</code>
|
||||
<label>${T.ingame.keybindingsOverlay.toggleHud}</label>
|
||||
</div>
|
||||
`
|
||||
: "")
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ export class MainMenuState extends GameState {
|
||||
${T.demoBanners.advantages.map(advantage => `<li>${advantage}</li>`).join("")}
|
||||
</ul>
|
||||
|
||||
<a href="#" class="steamLink" target="_blank">Get shapez.io on steam!</a>
|
||||
<a href="#" class="steamLink" target="_blank">Get the shapez.io standalone!</a>
|
||||
`;
|
||||
|
||||
return `
|
||||
|
@ -167,6 +167,7 @@ ingame:
|
||||
reverseOrientation: Reverse orientation
|
||||
disableAutoOrientation: Disable auto orientation
|
||||
toggleHud: Toggle HUD
|
||||
placeBuilding: Place building
|
||||
|
||||
# Everything related to placing buildings (I.e. as soon as you selected a building
|
||||
# from the toolbar)
|
||||
|
Loading…
Reference in New Issue
Block a user