1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-17 04:01:51 +00:00
Commit Graph

1024 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
112e179bce Minor wegame adjustments 2021-09-12 11:04:32 +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
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
Emerald Block
2b4eb6771f
fix deselect on level up (#1033) 2021-08-25 12:59:03 +02:00
tobspr
993bd53a07 Shape tooltip adjustments 2021-08-25 12:55:59 +02:00
Sense101
4b36426a77
Added shape tooltip - final version (#1251)
* Added shape tooltip

* Shortened and simplified shape tooltip code

* added special logic for cutters so they remove overlays of empty outputs, and added clearing overlays on clear items
2021-08-25 11:56:29 +02:00
Sense101
736fbaed42
cleanup of trim code (#1283) 2021-08-24 19:38:16 +02:00
tobspr
d3fb22a54a Further wegame version adjustments 2021-08-19 09:58:26 +02:00
tobspr
ff47920e81 Further wegame adjustments 2021-08-18 17:22:50 +02:00
tobspr
0751eec7d5 Gamedistribution version adjustments 2021-08-17 21:13:32 +02:00
tobspr
c4ef7d4431 wegame version adjustments 2021-08-17 19:51:28 +02:00
tobspr
012818841d Wegame version adjustments 2021-08-16 12:34:40 +02:00
tobspr
aea668d7e3 Minor crosspromo update 2021-08-11 16:40:28 +02:00
tobspr
009e515336 Bump version, again 2021-08-11 16:36:17 +02:00
tobspr
24525344aa Do not show changelog yet 2021-08-11 16:31:26 +02:00
tobspr
fb695d7413 Crosspromo 2021-08-11 16:27:39 +02:00
tobspr
eb628526c9 Wegame adjustments 2021-08-04 13:44:02 +02:00