1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 11:41:50 +00:00
Commit Graph

2093 Commits

Author SHA1 Message Date
Daan Breur
3897b41d45
Add variables for shape-percentages
- Add `fullShapePercentage` and `wierdShapePercentage` to `BaseMap`
- added migration for `fullShapePercentage` and `wierdShapePercentage` in `savegame/1010.js`

Signed-off-by: Daan Breur <git@daanbreur.systems>
2021-11-27 15:12:53 +01:00
Daan Breur
564085466d
Fixed problem with ts-lint 2021-11-22 22:08:21 +01:00
Daan Breur
78c8e805f2
Use the new super cool inline FormElements
Signed-off-by: Daan Breur <git@daanbreur.systems>
2021-11-22 21:53:35 +01:00
Daan Breur
839be106fc
BugFix, FormElements didnt get style 2021-11-22 14:32:03 +01:00
Daan Breur
84c5fb7757
Added option to FormElements for inline label,input.
Signed-off-by: Daan Breur <git@daanbreur.systems>
2021-11-22 14:30:27 +01:00
Daan Breur
d9d7292526
Added Savegame Migration (version 1010)
Signed-off-by: Daan Breur <git@daanbreur.systems>
2021-11-22 10:12:43 +01:00
Daan Breur
96b76aa631 UI for savegame
- Made use of new `FormElementDetails`
- Added todos for translations
- Checkbox / Toggle for non-primarycolors
2021-11-21 21:32:05 +01:00
Daan Breur
cc8db54831 add allowNonPrimaryColors to GameCore.initNewGame 2021-11-21 21:30:36 +01:00
Daan Breur
f5f790f55a Get settings to the core.
- added `allowNonPrimaryColors` to `type:GameCreationPayload`
- added `allowNonPrimaryColors` to `class:InGameState`
2021-11-21 21:28:32 +01:00
Daan Breur
f1fab0af96 Let non-primarycolors generate after 2 chunks 2021-11-21 21:25:28 +01:00
Daan Breur
a3bb91ebfb this.allowNonPrimaryColors added to BaseMap
Signed-off-by: Daan Breur <git@daanbreur.systems>
2021-11-21 20:53:17 +01:00
Daan Breur
61ea329659 light, dark color for purple,yellow,cyan resources 2021-11-21 17:21:47 +01:00
Daan Breur
09f30e8473 feat(FormElement): New element FormElementDetails
This implements a wrapper for FormElements that allows you to contain them in the <details> HTMLElement
2021-11-20 16:29:58 +01:00
Daan Breur
c6b5fdc8a7 Change logger messages to be natural language 2021-11-16 15:24:23 +01:00
Daan Breur
f29545c01c Remove redundant setting of the seed. 2021-11-14 22:05:06 +01:00
Daan Breur
5171062e0f Start of UI for newSavegame.
Currently Includes: Name and Seed
2021-11-14 21:03:02 +01:00
Daan Breur
024527c9d2 set this.seed to payload.seed in InGameState 2021-11-14 13:18:52 +01:00
Daan Breur
6eeb82d857 use seed from parameters in this.root.map.seed 2021-11-14 13:16:46 +01:00
Daan Breur
8c10ff8a6f Added param1.seed to initNewGame 2021-11-14 13:13:20 +01:00
Daan Breur
5a1c24c9df Add seed to GameCreationPayload 2021-11-13 14:41:04 +01:00
tobspr
a7a2aad2b6 Minor wegame adjustments 2021-09-28 08:21:21 +02:00
tobspr
58fe6e2f51 Wegame adjustments 2021-09-18 19:17:27 +02:00
tobspr
0d1552e38c Merge branch 'master' of github.com:tobspr/shapez.io 2021-09-16 18:41:09 +02:00
tobspr
06011285d9 update translations 2021-09-16 18:41:07 +02:00
Andrei7506238
dae39dec9f
Update base-ro.yaml (#1299)
- Fixed some issues with previous translation
- Completed the translation of the base game to RO
- Translated the Puzzle DLC to RO

The translation is not always "mot-a-mot". It is rather an adaptation to RO (as some words in EN don't have a direct correspondent in RO). I tried to keep the same formating as before.
2021-09-14 08:43:11 +02:00
tobspr
f483523f25 Merge branch 'master' of github.com:tobspr/shapez.io 2021-09-12 11:04:35 +02:00
tobspr
112e179bce Minor wegame adjustments 2021-09-12 11:04:32 +02:00
Erik
48ad65969e
Fix minor grammar fail. (#1297) 2021-09-12 10:55:48 +02:00
tobspr
f00b8790bc Translation fixes 2021-09-02 16:25:47 +02:00
Kruger-Doggie
c26496e7a7
updated base-en.yaml to new version (#1292) 2021-09-02 13:05:07 +02:00
dobidon
6c24730de7
Translating Turkish (base-tr.yaml) (#1294)
* Translating Turkish (base-tr.yaml)

- Translating additional keys

* Update base-tr.yaml
2021-09-02 13:04:34 +02:00
tobspr
2a51dad814 v1.4.4 2021-08-29 14:48:29 +02:00
tobspr
358754307a Fix balancers 2021-08-29 14:43:13 +02:00
Vincent Ching
a71d5f3db9
Update base-zh-TW.yaml (#1287)
* Update base-zh-TW.yaml

fix some misleading translations (e.g. logic gate descriptions), try to re-use pointers from English translation to unify some terms and names,

* Update base-zh-TW.yaml

adding pointer and unifying terms, fixing descriptions

* Update base-zh-TW.yaml

update translations

* Update base-zh-TW.yaml

reward descriptions

* Update base-zh-TW.yaml

formatting item, reward descriptions
2021-08-29 12:33:57 +02:00
battistalonardi
53d31b32d5
Fix italian translation (#1289)
Added italian translation for text that were still in English. Made uniform translations for rotater and painter
2021-08-29 12:00:54 +02:00
tobspr
ba92e556cc Merge branch 'master' of github.com:tobspr/shapez.io 2021-08-28 13:54:55 +02:00
tobspr
f8609d75cd Update chinese translation 2021-08-28 13:54:52 +02:00
즈눅
e4cb2094dd
Translate 'clear belt' for korean (#1286) 2021-08-28 13:37:10 +02:00
tobspr
da7494213d Update translations 2021-08-26 17:01:12 +02:00
tobspr
4546ca63c1 Fix ad provider 2021-08-26 14:47:28 +02:00
tobspr
f61f25934f Add setting to always show shape tooltip 2021-08-26 14:29:22 +02:00
tobspr
ae6c5b151e Improve shape tooltip 2021-08-26 14:24:09 +02:00
tobspr
2695694f50 Fix lint 2021-08-26 14:14:53 +02:00
tobspr
abff623194 Show unrated puzzles different, dark theme adjustments 2021-08-26 09:11:56 +02:00
tobspr
f3b82961dc Fix map chunk view 2021-08-26 09:04:46 +02:00
tobspr
874c792e4e Set 1.4.3 release date 2021-08-25 17:17:06 +02:00
tobspr
0bba4dc5fa Update changelog 2021-08-25 17:01:31 +02:00
tobspr
8b5cd160b6 DLC: Next Puzzle button & Search functionality, other stuff 2021-08-25 16:56:52 +02:00
tobspr
06d5c6a6dc Fixes & update changelog 2021-08-25 13:23:02 +02:00
PFedak
6f56d77535
Aggregate map chunks in overlay. (#1247)
Overlay rendering performance seemed bottlenecked by drawImage calls. To
reduce both the number of calls and the number of different source
buffers, cache overlay buffers for squares of chunks. This adds a very
small extra cost for updates (one additional drawImage) and some cost
for drawing chunks outside of view, but this is more than made up for by
the savings.

By default, the aggregate are 4x4 squares of chunks.
2021-08-25 13:04:52 +02:00