mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Update assets and fix bug on load
This commit is contained in:
parent
9d0a218882
commit
458aeae4c8
Binary file not shown.
Before Width: | Height: | Size: 906 KiB After Width: | Height: | Size: 1.6 MiB |
BIN
artwork/itch.io/bg.png
Normal file
BIN
artwork/itch.io/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 MiB |
BIN
artwork/steam/announcement.png
Normal file
BIN
artwork/steam/announcement.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
3
artwork/steam/announcement.psd
Normal file
3
artwork/steam/announcement.psd
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:de805473208e0901f1185485164a35fde59e4baf3000f30102d0f332842410a5
|
||||||
|
size 184895
|
BIN
artwork/steam/store_page_gif.gif
Normal file
BIN
artwork/steam/store_page_gif.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 707 KiB |
@ -368,7 +368,10 @@ export class Application {
|
|||||||
if (this.screenWidth !== w || this.screenHeight !== h || forceUpdate) {
|
if (this.screenWidth !== w || this.screenHeight !== h || forceUpdate) {
|
||||||
this.screenWidth = w;
|
this.screenWidth = w;
|
||||||
this.screenHeight = h;
|
this.screenHeight = h;
|
||||||
this.stateMgr.getCurrentState().onResized(this.screenWidth, this.screenHeight);
|
const currentState = this.stateMgr.getCurrentState();
|
||||||
|
if (currentState) {
|
||||||
|
currentState.onResized(this.screenWidth, this.screenHeight);
|
||||||
|
}
|
||||||
|
|
||||||
const scale = this.getEffectiveUiScale();
|
const scale = this.getEffectiveUiScale();
|
||||||
waitNextFrame().then(() => document.documentElement.style.setProperty("--ui-scale", scale));
|
waitNextFrame().then(() => document.documentElement.style.setProperty("--ui-scale", scale));
|
||||||
|
@ -45,7 +45,7 @@ export const globalConfig = {
|
|||||||
|
|
||||||
// Belt speeds
|
// Belt speeds
|
||||||
// NOTICE: Update webpack.production.config too!
|
// NOTICE: Update webpack.production.config too!
|
||||||
beltSpeedItemsPerSecond: 2,
|
beltSpeedItemsPerSecond: 1,
|
||||||
itemSpacingOnBelts: 0.63,
|
itemSpacingOnBelts: 0.63,
|
||||||
minerSpeedItemsPerSecond: 0, // COMPUTED
|
minerSpeedItemsPerSecond: 0, // COMPUTED
|
||||||
|
|
||||||
@ -93,9 +93,9 @@ export const globalConfig = {
|
|||||||
// disableZoomLimits: true,
|
// disableZoomLimits: true,
|
||||||
// showChunkBorders: true,
|
// showChunkBorders: true,
|
||||||
// rewardsInstant: true,
|
// rewardsInstant: true,
|
||||||
// allBuildingsUnlocked: true,
|
allBuildingsUnlocked: true,
|
||||||
// blueprintsNoCost: true,
|
blueprintsNoCost: true,
|
||||||
// upgradesNoCost: true,
|
upgradesNoCost: true,
|
||||||
// disableUnlockDialog: true,
|
// disableUnlockDialog: true,
|
||||||
// disableLogicTicks: true,
|
// disableLogicTicks: true,
|
||||||
// testClipping: true,
|
// testClipping: true,
|
||||||
|
@ -189,7 +189,6 @@ dialogs:
|
|||||||
desc: >-
|
desc: >-
|
||||||
Sempre que precisar de ajuda ou estiver parado, confira o botão 'Mostrar dica' no canto inferior esquerdo e darei o meu melhor para ajudá-lo!
|
Sempre que precisar de ajuda ou estiver parado, confira o botão 'Mostrar dica' no canto inferior esquerdo e darei o meu melhor para ajudá-lo!
|
||||||
|
|
||||||
|
|
||||||
upgradesIntroduction:
|
upgradesIntroduction:
|
||||||
title: Desbloquear updates
|
title: Desbloquear updates
|
||||||
desc: >-
|
desc: >-
|
||||||
|
Loading…
Reference in New Issue
Block a user