LeopoldTal
785eb31c8d
make save compressor faster ( #888 )
...
Fixes #836 by using a Map instead of an array. The Map maps the values to their indices rather than the reverse, making finding the index constant-time rather than linear, and so building the full map linear rather than quadratic. Flipping it to build the final array is also linear.
2020-10-31 12:12:05 +01:00
LeopoldTal
070245270f
Use locale decimal separator on belt reader display ( #816 )
...
* use locale decimal separator on belt reader display
* rename formatter method
2020-10-31 10:15:45 +01:00
tobspr
1696eabec2
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-10-11 08:42:15 +02:00
tobspr
09850954b1
Update changelog
2020-10-11 08:42:13 +02:00
LeopoldTal
6cf875fe6b
make reward notification scrollable ( #828 )
2020-10-11 08:31:07 +02:00
tobspr
1ab0fb7d9c
Fix stacking bug and bump version, fixes #814
2020-10-11 08:18:55 +02:00
EmeraldBlock
868f9bc06a
Fix reader cap ( #810 )
2020-10-10 19:36:08 +02:00
tobspr
366a2a9f58
Improve tutorial css
2020-10-09 08:36:35 +02:00
tobspr
c4354161ad
Add tutorial video links
2020-10-09 08:33:14 +02:00
tobspr
1164ef4030
Offer tutorial videos
2020-10-09 08:16:20 +02:00
tobspr
d25a548ff3
Rebalance
2020-10-08 23:18:01 +02:00
tobspr
8260edb373
Get rid of some todos / fixmes
2020-10-08 19:47:27 +02:00
tobspr
1025bede1f
Add wires tutorial
2020-10-08 19:40:58 +02:00
tobspr
deab844d04
Add more tutorials
2020-10-08 19:01:12 +02:00
tobspr
27242cdadf
Fix toolbar color
2020-10-08 17:23:07 +02:00
tobspr
c8ac2de44d
Add storage to wires toolbar
2020-10-08 12:56:44 +02:00
tobspr
7744712f39
Fix language choose
2020-10-08 11:06:56 +02:00
tobspr
7b01db5dae
Minor fixes
2020-10-08 10:41:06 +02:00
tobspr
e1f3454629
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-10-08 09:13:55 +02:00
tobspr
5a96e76151
Allow configuring map resources scale
2020-10-08 09:13:53 +02:00
EmeraldBlock
a79500d574
Fix non-uniform distribution for freeplay shape color palette ( #789 )
...
* use nextIntRange instead of nextIntRangeInclusive
* Remove nextIntRangeInclusive
This function gave the minimum and maximum integer half as much weight, and it was not used anywhere except to generate a freeplay shape color palette, and that now uses nextIntRange.
2020-10-08 08:44:10 +02:00
tobspr
21c9c3cee6
Fix belt path epsilon
2020-10-07 19:31:11 +02:00
tobspr
38ba763897
Allow disabling zoom towards cursor
2020-10-07 19:12:49 +02:00
tobspr
bc5ffcddd1
Change rotator, improve artwork
2020-10-07 19:02:42 +02:00
tobspr
1bb8b6f079
Get rid of performance warning, refactor roman numbers, mark balancers, rebalance upgrades
2020-10-07 18:35:03 +02:00
tobspr
f3dcdeb2b8
Fix pinned shapes not being removable
2020-10-07 18:05:11 +02:00
tobspr
7dccc1a844
Unlock all levels when having a legacy savegame
2020-10-07 15:02:27 +02:00
tobspr
fa27d1681f
Cleanup IS_DEMO flags and introduce Restriction Manager
2020-10-07 09:48:31 +02:00
tobspr
81e7d96dd8
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-10-07 08:36:26 +02:00
tobspr
9844641d11
Missing parts from last commit
2020-10-07 08:36:24 +02:00
tobspr
94266173d8
Introduce game modes and get rid of global level definitions etc
2020-10-07 08:36:02 +02:00
EmeraldBlock
00cce9479a
Set atlas scale for screenshot to constant value ( #776 )
2020-10-06 17:27:47 +02:00
EmeraldBlock
0481c84e72
"Fix" getStringForKeyCode returning incorrect strings ( #753 )
...
* Fix getStringForKeyCode returning wrong result
This adds the full stop/period (.) key to the switch statement, and replaces String.fromCharCode (which works with Unicode) with the replacement character (�).
* Make letter keys work properly
* Add digits and display unknown codes in brackets
* better formatting
2020-10-04 10:34:40 +02:00
dengr1065
a02438a70a
LibGDX Texture Packing (finally!) ( #755 )
...
* Format tsconfig, remove atlas files
* Add helpers for texture packing
* Rest of the texture packing...
* Update gitignores
* Update readme
2020-10-04 09:21:37 +02:00
tobspr
83c4552f9c
DE translation fixes
2020-10-01 09:25:29 +02:00
tobspr
abaf9890b8
Don't cache pattern
2020-09-29 19:30:03 +02:00
tobspr
f62eaa45c0
Hide 1.1.19 changelog
2020-09-29 19:26:56 +02:00
tobspr
1c97f3f32a
Fix demo flags
2020-09-29 18:42:29 +02:00
tobspr
1c88b99de3
A/B test whether showing the price is good or not
2020-09-29 18:26:38 +02:00
tobspr
8b7c0a91cd
Change watermark interval
2020-09-29 18:06:39 +02:00
tobspr
344f213566
Minor refactoring
2020-09-29 18:03:53 +02:00
dengr1065
9aff7f9f6d
Rename delta to scale in camera.js ( #705 )
2020-09-29 17:44:22 +02:00
tobspr
69a3ae39bd
proper sandbox flags
2020-09-29 17:06:31 +02:00
EmeraldBlock
7f6c1187b8
Make zoom in and zoom out equal ( #704 )
...
* Make zoom in and zoom out equal
Makes zooming out zoom an amount equal to zooming in.
* format things better
* Made zoom keys also equal
Made zoom out equal to zoom in
* Actually made arrow keys equal
hope this actually works
2020-09-29 16:48:41 +02:00
tobspr
5a3807883e
Update demo hint and lock demo to lvl 14
2020-09-29 16:46:29 +02:00
tobspr
9b7225bf44
Limit throughput
2020-09-29 13:16:37 +02:00
tobspr
e96821b555
Fix throughput goals and add layer preview to producer
2020-09-29 12:58:16 +02:00
tobspr
8ec2a90ae3
Do not send stats in sandbox
2020-09-29 11:19:16 +02:00
tobspr
e93b475f72
Rebalance, again
2020-09-29 11:14:27 +02:00
tobspr
db6db7caca
Add sandbox building, restructure levels, show pinned shapes in constant signal dialog
2020-09-29 10:52:25 +02:00