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
1bb8b6f079
Get rid of performance warning, refactor roman numbers, mark balancers, rebalance upgrades
2020-10-07 18:35:03 +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
1c88b99de3
A/B test whether showing the price is good or not
2020-09-29 18:26:38 +02:00
tobspr
2c50944732
Minor changes
2020-09-28 12:37:15 +02:00
tobspr
507121b886
Load css async
2020-09-28 12:24:52 +02:00
tobspr
0d52793c27
Minor refactoring
2020-09-28 12:17:38 +02:00
tobspr
d4617edad5
Rework constant signal dialog
2020-09-28 12:17:13 +02:00
tobspr
d27e9226be
Re-balance, fixes, etc etc
2020-09-27 22:22:05 +02:00
tobspr
f584d9d93e
Further fixes found during testing, update local config
2020-09-24 17:43:50 +02:00
tobspr
1ecc2ebb5d
Minor adjustments and fixes
2020-09-24 14:59:15 +02:00
tobspr
05847add71
Re-balance
2020-09-22 20:21:09 +02:00
tobspr
1ec8b4fe28
Only render shapes in map overview
2020-09-22 11:21:18 +02:00
tobspr
0274597a1c
Fix tslint
2020-09-22 10:31:47 +02:00
Exund
b32ae43464
Fix 180° rotater not renamed everywhere ( #675 )
...
* Fixed atlas and buildingSpeed
* Revert atlas.json changes
2020-09-21 18:15:30 +02:00
tobspr
4636080dd7
Huge performance improvements
2020-09-21 18:09:27 +02:00
tobspr
1cd52f6dbd
Fix tslint
2020-09-19 17:56:40 +02:00
tobspr
7d6af359a1
Polishing, CSS Improvements, Improve dark mode
2020-09-19 14:27:25 +02:00
tobspr
2075f4d011
Improve simplified belt, show hints everywheer
2020-09-19 12:21:32 +02:00
tobspr
47443058e0
Add potato mode
2020-09-19 10:34:46 +02:00
tobspr
7bc45d8959
Improve buffer backlog performance, should speed up whole game
2020-09-19 09:28:29 +02:00
tobspr
b5a2e77db4
Fix multiple typos, closes #627
2020-09-19 07:49:17 +02:00
tobspr
1ebfafd8de
Further performance improvements, show indicator while game is saving
2020-09-18 20:41:40 +02:00
tobspr
746f4935ad
Improve item ejector system
2020-09-18 18:32:53 +02:00
tobspr
b8f27aec44
Proper belt underlays for splitters
2020-09-18 18:18:38 +02:00
tobspr
6042fcba62
Properly implement sound and music volumes, debounce writes
2020-09-13 08:40:56 +02:00
tobspr
04b8b62045
Update local config
2020-08-31 12:00:06 +02:00
tobspr
9b8745535b
Refactor item processor to use charges and thus be more correct, even at low tick rates
2020-08-30 15:31:53 +02:00
tobspr
270f51d9ec
Increase tier 2 tunnel range to 9
2020-08-29 23:05:34 +02:00
tobspr
78fe34840a
Fix buildings not working at their advertised speed, closes #440 , closes #442 , closes #437 , closes #449
2020-08-29 22:35:30 +02:00
tobspr
238b08d4d1
Make shapes truthy
2020-08-29 11:08:30 +02:00
tobspr
06e276f021
Add belt reader building
2020-08-29 10:38:23 +02:00
tobspr
bb739c80fa
Rework quad painter and filter, rework logic gates
2020-08-29 09:35:14 +02:00
tobspr
a67448fbdf
Fix being able to create constant signals without value
2020-08-28 22:56:56 +02:00
Bjorn Stromberg
1ff76e0b2e
[core/rectangle] Remove unused methods ( #571 )
...
* [core/rectangle] Remove unused methods
* Restore some methods
2020-08-18 14:19:25 +02:00
tobspr
b7efda9bf6
Further performance improvements
2020-08-15 22:44:15 +02:00
tobspr
b2880700e8
Huge rendering performance improvements and minor other changes, lots of refactorings
2020-08-15 22:32:55 +02:00
tobspr
d1a5dd8c9e
Update local config with latest variables and cleanup a bit
2020-08-15 19:55:39 +02:00
tobspr
7b40292be3
Start to optimize rendering
2020-08-15 19:43:03 +02:00
tobspr
b1fb0fca7e
Fix wires blueprint pasting bug, do not show wire info on unconnected wires
2020-08-15 18:14:00 +02:00
tobspr
7279b75187
Improve information when hovering wires
2020-08-15 17:51:28 +02:00
tobspr
3c34227c24
Unify assets, refactor waypoints
2020-08-14 12:14:15 +02:00
tobspr
9085f32ec3
Add multiple performance settings
2020-08-14 09:38:48 +02:00
tobspr
f44563fc05
Add item filter
2020-08-13 20:30:43 +02:00
tobspr
52b4d4d742
Implement wire networks, add levers
2020-08-13 19:23:00 +02:00
tobspr
75ab655998
Add basic logic gate and improve wires in general
2020-08-13 10:23:50 +02:00
tobspr
f16ab2389a
initial take on wire auto-rotation
2020-08-11 20:02:59 +02:00
tobspr
a32c0530bb
Refactor rotation overview matrices
2020-08-11 18:50:43 +02:00
tobspr
b19b87a6c8
Improve map overlay rendering and raise zoom limit
2020-08-11 13:17:39 +02:00
tobspr
c1b1564d76
Fix crc generation
2020-08-10 23:34:30 +02:00
tobspr
2203d5fc6a
Improve saving speed by using crc32 instead of sha1 for checksum
2020-08-10 23:31:02 +02:00
tobspr
93975df4d5
Get rid of item ejector / acceptor layers and new wires buildings for now
2020-08-10 21:24:58 +02:00
tobspr
ecbf9d7e78
Revert worker loader change
2020-08-10 19:54:11 +02:00
tobspr
2ee4f2efc7
Add more logging
2020-08-10 15:22:02 +02:00
Bjorn Stromberg
79158e2b56
Remove unused code ( #526 )
2020-08-06 11:28:28 +02:00
tobspr
baf5c83b34
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-07-27 17:14:32 +02:00
tobspr
bf2eee908f
Refactor static map entity component to store building metaclass
2020-07-27 17:14:29 +02:00
Bjorn Stromberg
d2f9fd6ec8
Improve types for web workers ( #502 )
...
* Improve types for web workers
* Move worker-loader config inline
* Remove trailing spaces in translations
2020-07-27 17:06:12 +02:00
Bjorn Stromberg
6d01c482d8
[Perf] Avoid iterating over keys to generate assert message ( #486 )
...
* Avoid iterating over keys to generate assert message
* Move assertion call behind guard
* Shorten line by using string template
2020-07-27 11:15:59 +02:00
RogiJAG
f77d47d9f7
Add fl rotater variant
2020-07-18 12:03:49 -05:00
tobspr
a08fef88f0
Merge pull request #416 from Astavie/master
...
Add decimal separator option in translation files
2020-07-07 19:40:27 +02:00
tobspr
9505eb8f49
Update local config
2020-07-07 19:34:00 +02:00
Astavie
900128ad32
comments and tabs 2: electric boogaloo
2020-07-07 16:51:40 +02:00
Astavie
e251a25bb7
comments and tabs
2020-07-07 16:42:39 +02:00
Astavie
fbe04c94aa
linter, please like me
2020-07-07 16:38:33 +02:00
Astavie
1c2ccd3582
make the linter happy
2020-07-07 16:28:58 +02:00
Astavie
0caaa055aa
decimal separator
2020-07-07 16:19:26 +02:00
tobspr
855570e74b
Fix color mixing
2020-07-07 13:16:48 +02:00
isaisstillalive
b1fce1b115
Refactor dialog buttons
2020-07-07 09:15:27 +09:00
isaisstillalive
76fb637606
Adjust cancel button color
2020-07-07 08:22:53 +09:00
isaisstillalive
1d44690482
Additional buttons can be set in Confirm dialog
2020-07-07 08:22:49 +09:00
tobspr
1f438e8c65
Minor art rework, update ratios
2020-07-06 22:14:45 +02:00
tobspr
04ea105584
Fix lots of bugs, add wire splitters / mergers
2020-07-06 21:33:37 +02:00
tobspr
a77911263d
Implement concept of energy consumption
2020-07-02 17:43:47 +02:00
tobspr
bd899df5fe
Further progress on the energy generator / wires, fix translations
2020-07-01 17:51:11 +02:00
tobspr
722c8ef836
Start to rework the graphics for the wires layer, make wires cooler than belts
2020-06-30 12:38:20 +02:00
Menai Ala Eddine
5dca71fa3f
refactor • line 15 : replace log by error
...
1• Remove `console.log()`
2• Add `console.error()`
Because the message content is an error.
2020-06-28 20:56:47 -07:00
tobspr
64c4816194
Remove some todos
2020-06-28 20:31:22 +02:00
tobspr
b499760d74
Start to work on advanced shape processing
2020-06-28 20:28:46 +02:00
tobspr
0967d5114c
Initial take on wires
2020-06-28 19:34:10 +02:00
tobspr
77440a68bc
Add sandbox controller
2020-06-28 12:38:48 +02:00
tobspr
17123fd7b9
Further work on the energy generator
2020-06-28 11:44:30 +02:00
tobspr
97858b6eab
Fix time formatting, again
2020-06-28 10:49:26 +02:00
tobspr
c4d328c1cd
Fix bad time formatting and update changelog
2020-06-28 10:48:47 +02:00
tobspr
de0b305276
Minor fixes to the throughput
2020-06-27 16:40:51 +02:00
tobspr
6d2afb992c
Update local config to latest version
2020-06-27 10:52:10 +02:00
tobspr
2e266f5f21
Get rid of 'builtins' file since its useless and causes performance issues
2020-06-27 10:51:52 +02:00
tobspr
419401b9be
Improve performance by getting rid of instanceof
2020-06-27 10:38:11 +02:00
tobspr
a71c0b8039
Take 3 on the belt performance (+ tslint fixes)
2020-06-26 17:02:52 +02:00
tobspr
192d1dbedb
Initial take on belt optimization
2020-06-26 13:57:07 +02:00
tobspr
9789468c2d
Improve performance by caching area of changed ejectors
2020-06-24 20:25:43 +02:00
tobspr
b3de1f9207
Re-enable analytics
2020-06-24 17:59:43 +02:00
tobspr
28b2dc008c
Add more links to main menu
2020-06-22 15:21:47 +02:00
tobspr
c5613f6eee
Regression
2020-06-22 14:46:33 +02:00
tobspr
e1bbe2de17
Prevent all default keybindings, closes #254
2020-06-22 12:33:28 +02:00
tobspr
51bd87a970
Merge pull request #218 from davidburhans/left-then-right-click-button-fix
...
Clumsy clicker fix
2020-06-21 19:37:31 +02:00
David Burhans
60baf4476f
clear ClickDetector.clickDownPosition on right-click to prevent detecting subsequent left-clicks as double-clicks
2020-06-17 19:35:02 -05:00
tobspr
61bcc31861
Fix mouse handling
2020-06-17 14:56:21 +02:00