Update assets and fix bug on load

pull/75/head
tobspr 4 years ago
parent 9d0a218882
commit 458aeae4c8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 906 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de805473208e0901f1185485164a35fde59e4baf3000f30102d0f332842410a5
size 184895

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,

@ -25,14 +25,14 @@ global:
# How big numbers are rendered, e.g. "10,000" # How big numbers are rendered, e.g. "10,000"
thousandsDivider: "." thousandsDivider: "."
# The suffix for large numbers, e.g. 1.3k, 400.2M, etc. # The suffix for large numbers, e.g. 1.3k, 400.2M, etc.
suffix: suffix:
thousands: K thousands: K
millions: M millions: M
billions: B billions: B
trillions: T trillions: T
# Shown for infinitely big numbers # Shown for infinitely big numbers
infinite: inf infinite: inf
@ -66,7 +66,7 @@ demoBanners:
# This is the "advertisement" shown in the main menu and other various places # This is the "advertisement" shown in the main menu and other various places
title: Versão Demo title: Versão Demo
intro: >- intro: >-
Pegue a versão completa para desbloquear todas os recursos Pegue a versão completa para desbloquear todas os recursos
mainMenu: mainMenu:
play: Jogar play: Jogar
@ -81,7 +81,7 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Level desconhecido savegameLevelUnknown: Level desconhecido
contests: contests:
contest_01_03062020: contest_01_03062020:
title: "Concurso #01" title: "Concurso #01"
@ -101,9 +101,9 @@ mainMenu:
</ul> </ul>
<br> <br>
Estou ansioso para ver suas criações incríveis! Estou ansioso para ver suas criações incríveis!
showInfo: Participate showInfo: Participate
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK
@ -126,7 +126,7 @@ dialogs:
importSavegameSuccess: importSavegameSuccess:
title: Sucesso title: Sucesso
text: >- text: >-
Seu savegame foi importado. Seu savegame foi importado.
gameLoadFailure: gameLoadFailure:
title: Jogo esta quebrado title: Jogo esta quebrado
@ -175,7 +175,7 @@ dialogs:
title: Atualização disponível title: Atualização disponível
desc: Uma atualização para esse jogo esta disponível! desc: Uma atualização para esse jogo esta disponível!
oneSavegameLimit: oneSavegameLimit:
title: Save limitado 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! 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: >- 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: >-
@ -199,7 +198,7 @@ dialogs:
massDeleteConfirm: massDeleteConfirm:
title: Deletar title: Deletar
desc: >- desc: >-
Voce esta deletando vários itens (<count> para ser exato)! Voce quer continuar? Voce esta deletando vários itens (<count> para ser exato)! Voce quer continuar?
blueprintsNotUnlocked: blueprintsNotUnlocked:
title: Não desbloqueado ainda title: Não desbloqueado ainda
@ -321,7 +320,7 @@ ingame:
title: Precisa de ajuda? title: Precisa de ajuda?
showHint: Mostrar dica showHint: Mostrar dica
hideHint: Fechar hideHint: Fechar
# When placing a blueprint # When placing a blueprint
blueprintPlacer: blueprintPlacer:
cost: Custo 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. <br> <br> Pressione <keybinding> para criar um marcador a partir da exibição atual ou <strong> clique com o botão direito do mouse </strong> para criar um marcador no local selecionado. 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. <br> <br> Pressione <keybinding> para criar um marcador a partir da exibição atual ou <strong> clique com o botão direito do mouse </strong> para criar um marcador no local selecionado.
creationSuccessNotification: Marcador criado. creationSuccessNotification: Marcador criado.
# Interactive tutorial # Interactive tutorial
interactiveTutorial: interactiveTutorial:
title: Tutorial title: Tutorial
hints: hints:
1_1_extractor: Coloque um <strong> extrator </strong> em cima de uma <strong> fonte de círculo </strong> para extraí-lo! 1_1_extractor: Coloque um <strong> extrator </strong> em cima de uma <strong> fonte de círculo </strong> para extraí-lo!
1_2_conveyor: >- 1_2_conveyor: >-
Conecte o extrator com uma <strong> esteira transportadora </strong> até a sua base! <br><br> Dica, <strong>clique e arraste</strong> a esteira com o mouse! Conecte o extrator com uma <strong> esteira transportadora </strong> até a sua base! <br><br> Dica, <strong>clique e arraste</strong> a esteira com o mouse!
1_3_expand: >- 1_3_expand: >-
Este <strong> NÃO </strong> é um jogo inativo! Construa mais extratores e esteiras para concluir o objetivo mais rapidamente.<br><br>Dica, segure <strong> SHIFT </strong> para colocar vários extratores e use <strong> R </strong> para girá-los. Este <strong> NÃO </strong> é um jogo inativo! Construa mais extratores e esteiras para concluir o objetivo mais rapidamente.<br><br>Dica, segure <strong> SHIFT </strong> para colocar vários extratores e use <strong> R </strong> para girá-los.
# All shop upgrades # All shop upgrades
shopUpgrades: shopUpgrades:
belt: belt:
@ -519,7 +518,7 @@ storyRewards:
no_reward: no_reward:
title: Próximo level title: Próximo level
desc: >- desc: >-
Este nível não lhe deu nenhuma recompensa, mas em breve?! <br> <br> PS: Melhor não destruir sua fábrica existente - Você precisa de <strong> todas </strong> todas essas formas posteriormente mais tarde para <strong> desbloquear atualizações </strong>! Este nível não lhe deu nenhuma recompensa, mas em breve?! <br> <br> PS: Melhor não destruir sua fábrica existente - Você precisa de <strong> todas </strong> todas essas formas posteriormente mais tarde para <strong> desbloquear atualizações </strong>!
no_reward_freeplay: no_reward_freeplay:
title: Next level title: Next level
@ -560,7 +559,7 @@ settings:
regular: Normal regular: Normal
fast: Rápido fast: Rápido
super_fast: Super Rápido super_fast: Super Rápido
fullscreen: fullscreen:
title: Tecla Cheia title: Tecla Cheia
description: >- description: >-
@ -620,7 +619,7 @@ keybindings:
mapMoveDown: Mover para baixo mapMoveDown: Mover para baixo
mapMoveLeft: Mover para a esquerda mapMoveLeft: Mover para a esquerda
centerMap: Centralizar centerMap: Centralizar
mapZoomIn: Aproximar mapZoomIn: Aproximar
mapZoomOut: Distanciar mapZoomOut: Distanciar
createMarker: Criar marcação createMarker: Criar marcação
@ -644,7 +643,7 @@ keybindings:
abortBuildingPlacement: Cancelar abortBuildingPlacement: Cancelar
rotateWhilePlacing: Rotacionar rotateWhilePlacing: Rotacionar
rotateInverseModifier: >- rotateInverseModifier: >-
Modifier: Rotação instantanea Modifier: Rotação instantanea
cycleBuildingVariants: Variações cycleBuildingVariants: Variações
confirmMassDelete: Confirmar exclusão em massa confirmMassDelete: Confirmar exclusão em massa
cycleBuildings: Trocar de construção cycleBuildings: Trocar de construção
@ -670,5 +669,5 @@ demo:
oneGameLimit: Limitado para um savegamne oneGameLimit: Limitado para um savegamne
customizeKeybindings: Modificando Teclas customizeKeybindings: Modificando Teclas
creatingMarkers: Criando marcações creatingMarkers: Criando marcações
settingNotAvailable: Não disponível na versão demo. settingNotAvailable: Não disponível na versão demo.

Loading…
Cancel
Save