diff --git a/artwork/itch.io/background.jpg b/artwork/itch.io/background.jpg index 619876a2..524b6358 100644 Binary files a/artwork/itch.io/background.jpg and b/artwork/itch.io/background.jpg differ diff --git a/artwork/itch.io/bg.png b/artwork/itch.io/bg.png new file mode 100644 index 00000000..425e94d8 Binary files /dev/null and b/artwork/itch.io/bg.png differ diff --git a/artwork/steam/announcement.png b/artwork/steam/announcement.png new file mode 100644 index 00000000..c531e3ab Binary files /dev/null and b/artwork/steam/announcement.png differ diff --git a/artwork/steam/announcement.psd b/artwork/steam/announcement.psd new file mode 100644 index 00000000..4282d647 --- /dev/null +++ b/artwork/steam/announcement.psd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de805473208e0901f1185485164a35fde59e4baf3000f30102d0f332842410a5 +size 184895 diff --git a/artwork/steam/store_page_gif.gif b/artwork/steam/store_page_gif.gif new file mode 100644 index 00000000..1491fb0a Binary files /dev/null and b/artwork/steam/store_page_gif.gif differ diff --git a/src/js/application.js b/src/js/application.js index 1c734d50..1d919e16 100644 --- a/src/js/application.js +++ b/src/js/application.js @@ -368,7 +368,10 @@ export class Application { if (this.screenWidth !== w || this.screenHeight !== h || forceUpdate) { this.screenWidth = w; 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(); waitNextFrame().then(() => document.documentElement.style.setProperty("--ui-scale", scale)); diff --git a/src/js/core/config.js b/src/js/core/config.js index 7663ac69..2d70fd18 100644 --- a/src/js/core/config.js +++ b/src/js/core/config.js @@ -45,7 +45,7 @@ export const globalConfig = { // Belt speeds // NOTICE: Update webpack.production.config too! - beltSpeedItemsPerSecond: 2, + beltSpeedItemsPerSecond: 1, itemSpacingOnBelts: 0.63, minerSpeedItemsPerSecond: 0, // COMPUTED @@ -93,9 +93,9 @@ export const globalConfig = { // disableZoomLimits: true, // showChunkBorders: true, // rewardsInstant: true, - // allBuildingsUnlocked: true, - // blueprintsNoCost: true, - // upgradesNoCost: true, + allBuildingsUnlocked: true, + blueprintsNoCost: true, + upgradesNoCost: true, // disableUnlockDialog: true, // disableLogicTicks: true, // testClipping: true, diff --git a/translations/base-pt-BR.yaml b/translations/base-pt-BR.yaml index 32372971..7284e6fa 100644 --- a/translations/base-pt-BR.yaml +++ b/translations/base-pt-BR.yaml @@ -25,14 +25,14 @@ global: # How big numbers are rendered, e.g. "10,000" thousandsDivider: "." - + # The suffix for large numbers, e.g. 1.3k, 400.2M, etc. suffix: thousands: K millions: M billions: B trillions: T - + # Shown for infinitely big numbers infinite: inf @@ -66,7 +66,7 @@ demoBanners: # This is the "advertisement" shown in the main menu and other various places title: Versão Demo intro: >- - Pegue a versão completa para desbloquear todas os recursos + Pegue a versão completa para desbloquear todas os recursos mainMenu: play: Jogar @@ -81,7 +81,7 @@ mainMenu: savegameLevel: Level savegameLevelUnknown: Level desconhecido - + contests: contest_01_03062020: title: "Concurso #01" @@ -101,9 +101,9 @@ mainMenu:
Estou ansioso para ver suas criações incríveis! - + showInfo: Participate - + dialogs: buttons: ok: OK @@ -126,7 +126,7 @@ dialogs: importSavegameSuccess: title: Sucesso text: >- - Seu savegame foi importado. + Seu savegame foi importado. gameLoadFailure: title: Jogo esta quebrado @@ -175,7 +175,7 @@ dialogs: title: Atualização disponível desc: Uma atualização para esse jogo esta disponível! - oneSavegameLimit: + oneSavegameLimit: title: Save limitado desc: Você pode ter apenas um savegame por vez na versão demo. Remova o existente ou obtenha a versão completa! @@ -189,7 +189,6 @@ dialogs: 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! - upgradesIntroduction: title: Desbloquear updates desc: >- @@ -199,7 +198,7 @@ dialogs: massDeleteConfirm: title: Deletar desc: >- - Voce esta deletando vários itens ( para ser exato)! Voce quer continuar? + Voce esta deletando vários itens ( para ser exato)! Voce quer continuar? blueprintsNotUnlocked: title: Não desbloqueado ainda @@ -321,7 +320,7 @@ ingame: title: Precisa de ajuda? showHint: Mostrar dica hideHint: Fechar - + # When placing a blueprint blueprintPlacer: cost: Custo @@ -333,17 +332,17 @@ ingame: description: Clique com o botão esquerdo do mouse em um marcador para pular, clique com o botão direito do mouse para excluí-lo.

Pressione para criar um marcador a partir da exibição atual ou clique com o botão direito do mouse para criar um marcador no local selecionado. creationSuccessNotification: Marcador criado. - # Interactive tutorial + # Interactive tutorial interactiveTutorial: title: Tutorial hints: - 1_1_extractor: Coloque um extrator em cima de uma fonte de círculo para extraí-lo! - 1_2_conveyor: >- + 1_1_extractor: Coloque um extrator em cima de uma fonte de círculo para extraí-lo! + 1_2_conveyor: >- Conecte o extrator com uma esteira transportadora até a sua base!

Dica, clique e arraste a esteira com o mouse! - - 1_3_expand: >- - Este NÃO é um jogo inativo! Construa mais extratores e esteiras para concluir o objetivo mais rapidamente.

Dica, segure SHIFT para colocar vários extratores e use R para girá-los. - + + 1_3_expand: >- + Este NÃO é um jogo inativo! Construa mais extratores e esteiras para concluir o objetivo mais rapidamente.

Dica, segure SHIFT para colocar vários extratores e use R para girá-los. + # All shop upgrades shopUpgrades: belt: @@ -519,7 +518,7 @@ storyRewards: no_reward: title: Próximo level desc: >- - Este nível não lhe deu nenhuma recompensa, mas em breve?!

PS: Melhor não destruir sua fábrica existente - Você precisa de todas todas essas formas posteriormente mais tarde para desbloquear atualizações ! + Este nível não lhe deu nenhuma recompensa, mas em breve?!

PS: Melhor não destruir sua fábrica existente - Você precisa de todas todas essas formas posteriormente mais tarde para desbloquear atualizações ! no_reward_freeplay: title: Next level @@ -560,7 +559,7 @@ settings: regular: Normal fast: Rápido super_fast: Super Rápido - + fullscreen: title: Tecla Cheia description: >- @@ -620,7 +619,7 @@ keybindings: mapMoveDown: Mover para baixo mapMoveLeft: Mover para a esquerda centerMap: Centralizar - + mapZoomIn: Aproximar mapZoomOut: Distanciar createMarker: Criar marcação @@ -644,7 +643,7 @@ keybindings: abortBuildingPlacement: Cancelar rotateWhilePlacing: Rotacionar rotateInverseModifier: >- - Modifier: Rotação instantanea + Modifier: Rotação instantanea cycleBuildingVariants: Variações confirmMassDelete: Confirmar exclusão em massa cycleBuildings: Trocar de construção @@ -670,5 +669,5 @@ demo: oneGameLimit: Limitado para um savegamne customizeKeybindings: Modificando Teclas creatingMarkers: Criando marcações - + settingNotAvailable: Não disponível na versão demo.