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

320 Commits

Author SHA1 Message Date
tobspr
4bc918dedd Add finish, italian, romania, ukrainian, minor adjustments 2021-03-12 12:42:16 +01:00
Greg Considine
26b842494f
Achievements (#1087)
* [WIP] Add boilerplate for achievement implementation

* Add config.local.template.js and rm cached copy of config.local.js

* [WIP] Implement painting, cutting, rotating achievements (to log only)

* [WIP] Refactor achievements, jsdoc fixes, add npm script

- Refactor achievements to make use of Signals
- Move implemented achievement interfaces to appropriate
platform folders (SteamAchievements in currently in use
in browser wrapper for testing)
- Fix invalid jsdocs
- Add dev-standalone script to package.json scripts

* Add steam/greenworks IPC calls and optional private-artifact dependency

* Include private artifacts in standalone builds

* Uncomment appid include

* [WIP] Add steam overlay fix, add hash to artifact dependency

* Update electron, greenworks. Add task to add local config if not present

* Add more achievements, refactor achievement code

* Add receiver flexibility and more achievements
- Add check to see if necessary to create achievement and add receiver
- Add remove receiver functionality when achievement is unlocked

* Add achievements and accommodations for switching states
- Fix startup code to avoid clobbering achievements on state switch
- Add a few more achievements

* Add achievements, ids. Update names, keys for consistency

* Add play time achievements

* [WIP] Add more achievements

* Add more achievements. Add bulk achievement check signal

* [WIP] Add achievements. Start savefile migration

* Add achievements. Add savefile migration

* Remove superfluous achievement stat

* Update lock files, fix merge conflict
2021-03-10 07:33:39 +01:00
Tobias Springer
1ee03d7398 Adjustments to support chinese versions 2021-03-09 10:07:19 +01:00
LeopoldTal
f620706ed7
Format all upgrade tiers as Roman numerals (#830)
* format all upgrade tiers as Roman numerals

* show upgrade tiers 50+ as Arabic numerals
2020-12-07 13:06:54 +01:00
tobspr
b17cb6952b Update changelog and minor fixes 2020-10-31 12:19:51 +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
c4354161ad Add tutorial video links 2020-10-09 08:33:14 +02:00
tobspr
8260edb373 Get rid of some todos / fixmes 2020-10-08 19:47:27 +02:00
tobspr
deab844d04 Add more tutorials 2020-10-08 19:01:12 +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
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
tobspr
a95e69401d Improve belt direction lock 2020-06-17 13:21:34 +02:00
tobspr
84969a9205 Refactor building placer 2020-06-17 13:12:39 +02:00
tobspr
3c3c5acc8e
Merge pull request #85 from jaysc/continue
Added continue button
2020-06-16 17:48:43 +02:00
tobspr
444908d22f Fix wrong check for full version 2020-06-13 11:06:15 +02:00
tobspr
766d9e943e Add flag to enable fullVersion in beta 2020-06-13 11:01:43 +02:00
tobspr
7e745fd0ce Allow exporting whole bases, closes #137 2020-06-13 10:57:29 +02:00
tobspr
3af6532d32 Refactor pinned shapes and make them smart, closes #72 2020-06-12 18:38:13 +02:00
tobspr
1a7a06fce2 Move debug options to seperate file so they are not always checked in 2020-06-12 09:15:29 +02:00
Jaysc
f4d1e5447d Reordered continue and added new game button 2020-06-11 15:17:50 +01:00
tobspr
61a0435438 Enable polish translation 2020-06-11 15:29:41 +02:00
tobspr
e9f0a45f2a Remove update check 2020-06-11 11:52:11 +02:00
tobspr
c434f7a59f Multiple fixes (see changelog) 2020-06-11 11:51:24 +02:00
tobspr
1c717b0f37 Change hub texture and allow translating it, update stacker texture 2020-06-11 11:29:38 +02:00
tobspr
7c0565ab35 Add initial German Translation 2020-06-10 12:18:13 +02:00
tobspr
a2ee16589f Switch to steam 2020-06-07 12:56:02 +02:00
tobspr
458aeae4c8 Update assets and fix bug on load 2020-06-04 22:32:00 +02:00
tobspr
d1954b5b36 Improve button sensitivity 2020-06-03 14:52:03 +02:00
tobspr
553442e953 Add weekly contests, bump to 1.1.5 2020-06-03 10:06:13 +02:00
tobspr
cef07dec56 Add "interactive" tutorial for first level 2020-06-01 21:14:12 +02:00
tobspr
91351d2f79 Improve UX for first levels 2020-06-01 20:18:50 +02:00
tobspr
5cd4dba54a Cleanup first game experience 2020-06-01 19:58:36 +02:00
tobspr
356bb2b73a
Merge pull request #43 from hexagonhexagon/number-formatting
Better big number formatting
2020-06-01 13:06:22 +02:00
tobspr
8c85018352 Added setting to configure zoom / mouse wheel / touchpad sensitivity 2020-06-01 13:05:15 +02:00
tobspr
4e18fa74d4
Merge pull request #48 from Dimava/feature/mousebind
Mouse keybinds
2020-06-01 12:10:51 +02:00
Dimava
0d342ee417 move KeyMouse listeners to correct location 2020-06-01 02:36:41 +03:00
tobspr
704b6e14b8 Minor fixes, update changelog, add experimental macosx and linux builds 2020-05-30 20:12:16 +02:00
hexagonhexagon
2781d531a1 Put suffixes in base-en.yaml under the key global.suffix. 2020-05-30 14:02:03 -04:00
tobspr
02fb6d53b5 Allow hovering pinned shapes to enlarge them 2020-05-30 19:42:03 +02:00
hexagonhexagon
4409dbf17f Comply with ESLint. 2020-05-30 13:29:54 -04:00
hexagonhexagon
a92d703395 Make formatBigNumber() include a decimal point, and support numbers up to 999.9T. 2020-05-30 13:29:54 -04:00
tobspr
ffd011ac45 Preparations for the trailer 2020-05-30 17:50:29 +02:00
Dimava
d5d615bfd3 change MouseEvent keyCode to event.button + 1 2020-05-30 11:11:26 +03:00
Dimava
e58c2fd371 use MouseEvent in keyboard hooks 2020-05-30 11:03:35 +03:00
Dimava
da94d5264a replace MouseEvent.which with MouseEvent.button 2020-05-30 11:03:33 +03:00
tobspr
ec021780d8 Initial waypoint support 2020-05-28 19:40:48 +02:00
tobspr
37685d64bd Introduce cost for blueprints 2020-05-28 18:07:57 +02:00
tobspr
e0facaf788 Fix keys being stuck, show savegame levels in main menu 2020-05-28 14:53:11 +02:00
tobspr
2a4ee8e784 Fix crash regarding blueprints being copied wrong 2020-05-28 13:49:50 +02:00
tobspr
8c88d738cc Minor improvements 2020-05-27 15:45:43 +02:00