1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
Commit Graph

1939 Commits

Author SHA1 Message Date
EmeraldBlock
3f9229dc7c move staticEntities to relevant scope 2021-06-05 12:35:45 -05:00
EmeraldBlock
e92c0111b4 use rectangle instead of two vectors 2021-06-05 12:35:45 -05:00
EmeraldBlock
470beeadb1 change pixels per tile calculation 2021-06-05 12:35:45 -05:00
EmeraldBlock
7a1e7fac92 add screenshot from selected buildings 2021-06-05 12:35:45 -05:00
EmeraldBlock
86ce48ab2a add screenshot from selected area 2021-06-05 12:35:45 -05:00
EmeraldBlock
3eddf88fd3 Allow for closing screenshot dialog with same key 2021-06-05 12:35:45 -05:00
EmeraldBlock
3f01c131c3 Increase minimum screenshot scale
The pixels-per-tile for screenshots must now be an odd integer of at least 3.
A screenshot will not be made if the canvas size is too large, and an info dialog will be shown.

An additional quality setting that uses the minimum scale is added.
The resolutions are now calculated in terms of the maximum canvas dimensions.
2021-06-05 12:35:45 -05:00
EmeraldBlock
4ceb15051a Improve screenshot dialog and algorithm
The CSS for checkbox and enum form elements is modified to make them fit better.

Map mode is made a separate setting in the screenshot dialog,
and the rendering process is made to match how it is done ingame.
2021-06-05 12:35:45 -05:00
EmeraldBlock
96170f8d22 Add enum form element and update screenshot dialog
The enum form element allows for cycling through a list of options.
The screenshot dialog now uses this, and has a list of image qualities.
The map quality has not yet been implemented.
2021-06-05 12:35:35 -05:00
EmeraldBlock
da6b1a437c Improve screenshots
Now renders shapes and optionally wires layer.
The screenshot dialog box gets two options:
Whether or not to show the wires layer,
and the pixel width of each tile.
The bug where onscreen buildings are not rendered is fixed.
2021-06-04 20:28:26 -05:00
Debucquoy Anthony tonitch
1046e7d4bd
Update base-fr.yaml (#1186) 2021-06-04 13:53:50 +02:00
RevosCZ
784680381b
Update base-cz.yaml (#1185)
* Update base-cz.yaml

* Update base-cz.yaml

* Update base-cz.yaml

* Update base-cz.yaml
2021-06-04 13:53:35 +02:00
Henning
1c35a3038c
Update base-de.yaml (#1184)
Ich habe item(s) nicht übersetzt, da es im allgemeinen Sprachgebrauch recht häufig vorkommt. Außerdem bin ich mit der Übersetzung von "goal acceptor" noch nicht ganz zufrieden.
2021-06-04 13:52:46 +02:00
tobspr
276ff22027 Merge branch 'master' of https://github.com/tobspr/shapez.io 2021-06-04 11:56:08 +02:00
tobspr
a4b122a91c Preparations for 1.4.0 2021-06-04 11:56:05 +02:00
horsse
273342caf0
Update base-pt-BR.yaml for the Puzzle DLC. (#1178)
* Update base-pt-BR.yaml for the Puzzle DLC.

I updated the Brazilian Portuguese translation of the Puzzle DLC. It's my first time working with translation on GitHub so some things might not be perfect.

* Update base-pt-BR.yaml

* Update base-pt-BR.yaml for the Puzzle DLC.

More translation for the Puzzle DLC.

* Update base-pt-BR.yaml for the Puzzle DLC.

Just some corrections/improvements

* Update base-pt.BR.yaml

More improvements

* Update base-pt-BR.yaml

fixed double space
2021-06-04 11:55:41 +02:00
Gumball73
b6b2b873cc
Update base-pt-PT.yaml (#1177)
* Update base-pt-PT.yaml

* Update base-pt-PT.yaml
2021-06-04 11:55:21 +02:00
Thomas (DJ1TJOO)
58cdc8f348
Translated Puzzle DLC (#1176)
* Translated Puzzle DLC

Translated all puzzle dlc text

If you find any spelling mistakes or sentences that sound weird please correct me. 
Also I couldn't find a better names for the new buildings:
Constant Producer --> Constante Producent
Goal Acceptor --> Doel Acceptant
Block --> Muur

* Made names consistent

* Fixed some lint issues

* Changed the name for block from muur to blokkade

* Doel Acceptant --> Ontvanger
2021-06-04 11:54:55 +02:00
tobspr
291614cb3c Support for building wegame specific version 2021-05-25 21:29:44 +02:00
tobspr
56214defaf Support for building on non-steam platforms 2021-05-25 13:12:38 +02:00
tobspr
6e9fa89792 Start to prepare wegame build 2021-05-25 13:09:33 +02:00
tobspr
a3fb3c432a Fix another bug 2021-05-25 12:09:54 +02:00
tobspr
7537494226 Merge branch 'master' of https://github.com/tobspr/shapez.io 2021-05-25 09:44:41 +02:00
tobspr
253b8cf33d Update chinese translation 2021-05-25 09:44:39 +02:00
tobspr
0f5ec8b62a Fix gulpfile tasks 2021-05-25 09:42:30 +02:00
tobspr
f5d03ae027 Localized puzzle dlc logo 2021-05-25 09:24:53 +02:00
tobspr
b3d1204d9c Wegame version & DLC Translation in Chinese 2021-05-25 09:19:57 +02:00
tobspr
65721e0837 Fix savegame bugs 2021-05-24 16:47:36 +02:00
tobspr
e1e27b4822 Update translations for the puzzle dlc 2021-05-23 20:19:50 +02:00
tobspr
a0e1cb68aa Fix bugs found during testing 2021-05-23 20:19:43 +02:00
tobspr
42af2b63d6 Authorize via steam 2021-05-23 17:28:39 +02:00
tobspr
329cefb3c9 Authorize via steam for the puzzle api 2021-05-23 17:34:13 +02:00
tobspr
ec4d198df3 Preparations for the puzzle DLC 2021-05-23 17:03:59 +02:00
tobspr
3c3cb5924f Fix typo 2021-05-23 16:40:09 +02:00
TimerErTim
b259c7576a
Fix formatItemsPerSecond with double = true (#1148)
* Show double flag with items per second being 1

formatItemsPerSecond in utils.js does not indicate two items being processed in a building
if speed is exactly one item per second. That is now fixed.

* Fix code style to fit guidelines
2021-05-23 16:39:34 +02:00
Vilser1
3363255984
Update base-uk.yaml (#1166)
I dont really know how to do "yarn syncTranslations" so...
2021-05-23 16:37:04 +02:00
AlvarGD
8a4f7efebe
Update base-es.yaml (#1162)
HUB -> Centro 
HUD -> Interfaz (almost no-one that knows spanish uses "HUD")
All (hopefully) things that weren't translated now are
Decimals and thousands are now how they should be in spanish: 1.000.000,69
2021-05-23 16:36:37 +02:00
Alexander Munko
b4d96b45b5
Update Russian translation (#1161)
* Update Russian translation

Fix typos;
Restore the order of keys;
Add missing translations.

* Fix typo style
2021-05-23 16:36:09 +02:00
KapitanOczywisty
276a468384
Update base-pl.yaml (#1160)
Left output - Lewe wyjście
2021-05-23 16:35:42 +02:00
Quantum
0701287407
Update base-kor.yaml (#1152) 2021-05-23 16:34:57 +02:00
SinonJZH
4beebf22a9
Update base-zh-CN.yaml (#1118)
Fix some translation error.
2021-05-23 16:33:40 +02:00
Chris Ho
09c2320f55
Update base-zh-TW.yaml (#1114)
* Update base-zh-TW.yaml

* Update base-zh-TW.yaml
2021-05-23 16:33:17 +02:00
tobspr
931c8a5821
Puzzle DLC (#1172)
* Puzzle mode (#1135)

* Add mode button to main menu

* [WIP] Add mode menu. Add factory-based gameMode creation

* Add savefile migration, serialize, deserialize

* Add hidden HUD elements, zone, and zoom, boundary constraints

* Clean up lint issues

* Add building, HUD exclusion, building exclusion, and refactor

- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu

* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria

* Add ingame puzzle mode UI elements

- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>

* Performance optimizations (#1154)

* 1.3.1 preparations

* Minor fixes, update translations

* Fix achievements not working

* Lots of belt optimizations, ~15% performance boost

* Puzzle mode, part 1

* Puzzle mode, part 2

* Fix missing import

* Puzzle mode, part 3

* Fix typo

* Puzzle mode, part 4

* Puzzle Mode fixes: Correct zone restrictions and more (#1155)

* Hide Puzzle Editor Controls in regular game mode, fix typo

* Disallow shrinking zone if there are buildings

* Fix multi-tile buildings for shrinking

* Puzzle mode, Refactor hud

* Puzzle mode

* Fixed typo in latest puzzle commit (#1156)

* Allow completing puzzles

* Puzzle mode, almost done

* Bump version to 1.4.0

* Fixes

* [puzzle] Prevent pipette cheats (miners, emitters) (#1158)

* Puzzle mode, almost done

* Allow clearing belts with 'B'

* Multiple users for the puzzle dlc

* Bump api key

* Minor adjustments

* Update

* Minor fixes

* Fix throughput

* Fix belts

* Minor puzzle adjustments

* New difficulty

* Minor puzzle improvements

* Fix belt path

* Update translations

* Added a button to return to the menu after a puzzle is completed (#1170)

* added another button to return to the menu

* improved menu return

* fixed continue button to not go back to menu

* [Puzzle] Added ability to lock buildings in the puzzle editor! (#1164)

* initial test

* tried to get it to work

* added icon

* added test exclusion

* reverted css

* completed flow for building locking

* added lock option

* finalized look and changed locked building to same sprite

* removed unused art

* added clearing every goal acceptor on lock to prevent creating impossible puzzles

* heavily improved validation and prevented autocompletion

* validation only checks every 100 ticks to improve performance

* validation only checks every 100 ticks to improve performance

* removed clearing goal acceptors as it isn't needed because of validation

* Add soundtrack, puzzle dlc fixes

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
Co-authored-by: dengr1065 <dengr1065@gmail.com>
Co-authored-by: Sense101 <67970865+Sense101@users.noreply.github.com>
2021-05-23 16:32:05 +02:00
GorunmezBKZ
5f0a95ba11
Update base-tr.yaml (#1125)
* Update base-tr.yaml

Changed wrong translations and misspellings

* Fixed yaml errors

* Update base-tr.yaml
2021-03-26 15:49:00 +01:00
cojua8
dd93fe630e
Update base-es.yaml (#1123)
fixed wires tutorial typos
2021-03-26 15:48:48 +01:00
Komanc
a03e5fb0ca
Fix czech grammar (#1120) 2021-03-26 15:48:38 +01:00
Hüseyin Can Ergün
a0d7d9d383
Update base-tr.yaml (#1116)
Köprü means bridge it should be tünel
2021-03-26 15:48:22 +01:00
dobidon
7ff76c76c4
Update base-tr.yaml (#1115)
- Translating new steamPage keys.
2021-03-26 15:48:12 +01:00
HY0077
6a62ec8f63
Update base-de.yaml (#1111)
* Update base-de.yaml

I translated some things to german.

* Update base-de.yaml

* Update base-de.yaml
2021-03-16 18:08:39 +01:00
Thomas (DJ1TJOO)
22b8777aa0
Changed electron fs-job to invoke, for simplefying storage (#1106)
* Changed electron fs-job to invoke, for simplefying storage
(And it helps for the modloader)

* Reverted some unneeded chages

* Uploaded wrong file

* Removed uneeded promise
2021-03-16 17:59:23 +01:00