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

1264 Commits

Author SHA1 Message Date
Danyil Hryhoriev
b55001dd1a Remove the restriction manager
Restriction manager is completely removed as it's only useful for demo
version. Lots of other demo-related things are left, such as ad support
or extended telemetry. This should be cleaned up later.
2024-04-13 01:51:36 +03:00
Bagel03
6db782d66a
Add Most Useful TS files (#13)
* Update Signal

* Update modal_dialogs

* Inputs

* Update factories

* Update tracked state

* Changed let to const where possible

* Add HUD typings

* improvements to typings

* fix exports not being exposed to mods

* fix signal typings

* remove TypedSignal

* fix all reported type errors

---------

Co-authored-by: Thomas B <t.ferb1@gmail.com>
Co-authored-by: EmeraldBlock <yygengjunior@gmail.com>
2023-11-17 16:02:08 -06:00
Даниїл Григор'єв
1be520afb9
Clean up and update workspace files
* Remove deprecated TSLint config

* Remove jsconfig.json

jsconfig.json is an alternative name for tsconfig.json that has allowJs
set to true. Since the directory already contains a tsconfig.json file,
this file does nothing.

* Remove Gitpod configuration

Gitpod is not as useful in CE because we're focusing on standalone.
Also, the configuration was added just to promote the service and there
are other similar services which may be preferred by the user.

* Remove Travis CI configuration

Travis CI is not used in shapez anymore in favor of GitHub Actions. In
addition to that, CI setup for the community edition will be done once
the codebase is in a better condition.

* Remove CONTRIBUTORS and CONTRIBUTING.md

The contributors file is out of date and unneeded as GitHub now shows
all collaborators anyway - however it could be still used in the future
to show a list of contributors in the game. CONTRIBUTING.md contains the
text of CLA, which is not enforced in this repository.

* Replace VSC workspaces with regular settings files

VSCode workspaces don't provide much benefit in a source tree like
shapez. This commit also adds EditorConfig and ESLint VSCode extensions
to the recommended extensions list.

* Remove CI workflow for building the game

It hasn't been updated in a while and we don't need it for now. Once the
codebase is in a more managable state, a new workflow will be added.

* Remove some unused resources

There are still many resources left, but they will be removed along with
the relevant code later.
2023-10-25 08:05:56 +03:00
Bagel03
81df743334
Add support for JSX
Allows usage of JSX across the codebase, JSX is turned into regular HTML elements.
2023-10-24 16:58:53 +03:00
Thomas (DJ1TJOO)
77fb9b76b6
Fixed missed trim replacement (#9) 2023-03-05 20:01:10 +01:00
Bagel03
ddb904432e Prettier 2023-03-04 21:32:47 -06:00
Bagel03
1eb264716a Add ts support 2023-03-04 21:32:47 -06:00
EmeraldBlock
24ceb6664d ES modules and config refactor
- switches to ES modules in gulp and src
- uses dengr's webpack configs and package.json, with modifications
- removes gulp/package.json
- removes babel stuff
- removes gulp-load-plugins, instead importing gulp plugins manually
- removes unused and trivial packages
- upgrades packages
- uses path/posix, for gulp
- removes __dirname in favor of relative urls
2023-03-04 00:46:55 -06:00
Thomas (DJ1TJOO)
2dc7f963fe
Removed china, wegame, gog and demo (#3)
* Removed build and global variables for china, wegame
* Removed google analitycs
2023-03-04 02:44:19 +02:00
Thomas (DJ1TJOO)
0713c850ec
Fixed dev and devStandalone script (#1503)
* Fixed dev and devStandalone script

* Added eslint no-unreachable code rule

* Fix small type issue
2022-12-29 09:57:34 +01:00
Даниїл Григор'єв
ed6922f912
Await asynchronous mod initialization (#1485) 2022-11-03 23:17:07 +01:00
tobspr
885d1e609e Update repository links, add patreon link 2022-10-22 16:14:54 +02:00
tobspr
b42488f7b5 Update menu text & announcement 2022-10-13 15:23:14 +02:00
tobspr
e0bc74a4fd Fix steam login not working 2022-10-13 11:25:47 +02:00
tobspr
ee2279d5f0 Add shapez 2 hint to the game 2022-10-09 13:09:31 +02:00
tobspr
400ee8e737 Support for GOG 2022-07-18 14:18:02 +02:00
tobspr
52166fdd86 Fix discount still being active 2022-07-07 20:40:47 +02:00
tobspr
b67f925f4f Update since summer sale ended 2022-07-07 20:36:05 +02:00
tobspr
a5022443f3 Remove events connector 2022-06-28 10:41:46 +02:00
tobspr
8ff2f43d0c Better Incognito warning 2022-06-28 10:22:43 +02:00
tobspr
3b79662721 Fix invalid ids 2022-06-28 09:19:44 +02:00
tobspr
e4f8d3b569 Fix game on small resolutions 2022-06-27 17:42:21 +02:00
tobspr
8454a782b4 Further crazygames sdk integration 2022-06-27 17:34:43 +02:00
tobspr
a39195c972 Support for crazgames sdk 2022-06-27 17:20:01 +02:00
tobspr
56296ab88a Minor adjustments 2022-06-26 18:51:39 +02:00
tobspr
80754247a1 Hide kiwi clicker banner when mods are installed 2022-06-25 10:17:30 +02:00
tobspr
39b4f44018 Fix typo 2022-06-23 19:58:47 +02:00
tobspr
e2907a1ab8 Adjust for the summer sale 2022-06-23 19:48:53 +02:00
tobspr
1e6199b213 Forward utm campaign 2022-06-23 18:09:40 +02:00
tobspr
4e25bf4045 Compatibility for old mods 2022-06-23 16:03:55 +02:00
tobspr
9f3cf49fad Properly render discounts 2022-06-23 14:59:09 +02:00
tobspr
d976245cc1 Allow hiding kiwi clicker link - try 2 2022-06-22 16:18:36 +02:00
tobspr
befd8a7877 Make side project info closeable 2022-06-22 10:29:50 +02:00
tobspr
5627d656cc Rebalance levels, adjustments, etc 2022-06-22 10:22:20 +02:00
tobspr
42cfeed771 Minor demo adjustments 2022-06-21 14:44:26 +02:00
tobspr
bb363ce69e Always login for DLC, fixes 403 in standalone 2022-06-21 14:04:21 +02:00
tobspr
1235e70c74 Update css again for standalone 2022-06-21 13:51:43 +02:00
tobspr
99b5688039 Further UI improvements 2022-06-21 13:29:33 +02:00
tobspr
3988d71f5a Improve main menu for standalone 2022-06-21 13:17:12 +02:00
tobspr
e4da0e437b Minor adjustments (incl. CSS) 2022-06-21 12:17:08 +02:00
tobspr
566d80a928 Minor css adjustment 2022-06-21 12:07:46 +02:00
tobspr
ae485a0385 Update translations 2022-06-21 12:07:22 +02:00
tobspr
715b04fd32 Merge branch 'master' of github.com:tobspr/shapez.io 2022-06-21 11:50:06 +02:00
tobspr
acbbf5a539 Rework main menu 2022-06-21 11:50:02 +02:00
Robert Ferree
512174ee93
fix the linting errors (#1451) 2022-06-21 08:01:42 +02:00
tobspr
e0ccf06531 Update changelog 2022-06-20 19:46:32 +02:00
tobspr
c35349a668 Fix css 2022-06-20 19:14:14 +02:00
tobspr
8001727196 Update translations and minor fixes 2022-06-20 19:08:14 +02:00
tobspr
d3d364b0f2 Fix dlc not being available in browser full version 2022-06-20 18:44:19 +02:00
tobspr
145f734907 Allow playing full version in browser via steam sso 2022-06-20 18:22:23 +02:00
tobspr
b446a4a915 Add missing tracking 2022-06-20 15:32:41 +02:00
tobspr
88f5c41716 Minor polishing and standlaone adjustments 2022-06-20 12:17:19 +02:00
tobspr
7797546ed4 Fix being unable to delete savegames when it was deleted before, minor adjustments 2022-06-20 11:17:33 +02:00
tobspr
690483fd89 Deploy new baseline 2022-06-20 11:05:38 +02:00
tobspr
b9a72fe965 Fix missing sound 2022-06-20 11:00:20 +02:00
tobspr
8c952435e7 Fix resources missing in main menu 2022-06-20 10:49:55 +02:00
tobspr
773609a2e2 Fix debug option being enabled by default 2022-06-20 10:30:12 +02:00
tobspr
8c5e593ceb v1.5.5 - Rework tutorial and polishing 2022-06-20 10:21:13 +02:00
tobspr
482a4990ba Fix unhandled promise rejection, minor polishing 2022-06-20 06:38:52 +02:00
tobspr
c3f029d887 Add missing G_IS_DEV 2022-06-19 22:28:05 +02:00
tobspr
2ddbdda4b3 Different links for standalone version 2022-06-19 17:53:03 +02:00
tobspr
75b49b3b1b Minor bugfixes for the standalone 2022-06-19 17:48:43 +02:00
tobspr
3fe2264c80 Improve color theme 2022-06-19 17:15:02 +02:00
tobspr
ffe9095d2e Disable automatic background switch in map view when placing buildings 2022-06-19 17:11:23 +02:00
tobspr
3ab5ca99fd 1.5.4 update (polishing + minor rebalancing) 2022-06-19 17:08:35 +02:00
tobspr
34764eca16 Allow downloading savegame in demo 2022-06-18 18:47:27 +02:00
tobspr
7c77944d43 Multiple preload-adjustments 2022-06-18 17:36:51 +02:00
tobspr
e870317a4f Estimate progress when Content-Length header is missing 2022-06-18 16:47:35 +02:00
tobspr
c74e4b9819 Fix invalid css urls 2022-06-18 14:45:15 +02:00
tobspr
34ed689875 Refactor background resources loader - game should now load much faster and also reports progress while downloading resources 2022-06-18 14:43:26 +02:00
tobspr
7fe088a0c8 Disable browser warning 2022-06-17 17:58:33 +02:00
tobspr
4c515eb6e8 Increase request timeout to allow playing on slow connections 2022-06-17 17:48:46 +02:00
tobspr
574a9d9d25 More verbose errors 2022-06-17 16:21:32 +02:00
tobspr
d790a9355f Minor UI fixes 2022-06-17 15:52:34 +02:00
tobspr
fde4ff9e5e Localize standalone advantages title 2022-06-17 15:36:27 +02:00
tobspr
913149d5b8 Accessibility optimizations 2022-06-17 15:18:46 +02:00
tobspr
dfa392907d Vastly improve game loading time 2022-06-17 14:52:25 +02:00
tobspr
400cc5fe81 Reduce unlock notification interval 2022-06-17 14:20:01 +02:00
tobspr
de56764103 Fix issues in preload state 2022-06-17 14:16:25 +02:00
tobspr
e730a88ad1 Do not show changelog in demo 2022-06-17 14:09:11 +02:00
tobspr
51fcc1e470 Improve preload screen 2022-06-17 13:04:19 +02:00
tobspr
11d2c701a2 Fix invalid language code for romanian 2022-06-17 12:36:31 +02:00
tobspr
37ff7a132e Fix invalid korean language code 2022-06-17 12:34:30 +02:00
tobspr
4ba70cf2ef Fix buttons not working in Mods View 2022-06-17 12:10:27 +02:00
tobspr
9b8789527e Update savegame imports, minor adjustments 2022-06-17 12:02:48 +02:00
tobspr
8f6ccc0d67 Update translations 2022-06-17 09:51:19 +02:00
tobspr
5ef7749a09 Fix css issue 2022-06-17 09:41:36 +02:00
tobspr
d39ae528f0 Update demo to try out timed demo 2022-06-17 09:35:55 +02:00
tobspr
abd26182f5 Change button animation interval 2022-06-16 20:57:38 +02:00
tobspr
e2460edb32 Allow changing abt variant 2022-06-16 19:27:20 +02:00
tobspr
24a4010935 Abt adjustments, again 2022-06-16 18:09:26 +02:00
tobspr
0d6bdd9bfb Fix lighthouse issues 2022-06-16 13:59:37 +02:00
tobspr
cc068d8245 Improve loading screen 2022-06-16 13:47:11 +02:00
tobspr
781273e91d Add html element remove polyfill 2022-06-16 12:10:09 +02:00
tobspr
2e1271ecb7 Fix es5 builds 2022-06-16 11:28:37 +02:00
tobspr
dd0508e777 Only load required resources 2022-06-16 10:02:45 +02:00
tobspr
96ce442b69 Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
tobspr
9d28a1f2f6 Further abt testing, v2 2022-06-15 21:29:10 +02:00
tobspr
0a733907d5 Minor adjustments 2022-06-15 20:25:08 +02:00
tobspr
6b0fecb4af Send steam auth ticket on game start 2022-06-15 19:57:46 +02:00
tobspr
cc835312f4 Reduce abt count 2022-06-15 16:50:04 +02:00
tobspr
f9fa3cd6a7 Minor refactorings 2022-06-15 12:27:11 +02:00
tobspr
e9e88241b4 Further abt testing 2022-06-15 11:43:04 +02:00
tobspr
ac4109a900 Fix typos 2022-06-13 20:56:18 +02:00
tobspr
27906caa84 Further Abt Testing 2022-06-13 20:31:19 +02:00
tobspr
9b545b7255 Update abt variants, again 2022-06-13 18:00:15 +02:00
tobspr
d2a2293a5f New abt variant 2022-06-13 12:15:38 +02:00
tobspr
44d0a8bcf7 Use better random number generation package 2022-06-12 17:33:54 +02:00
tobspr
48ac343260 Adjust abt variants 2022-06-12 15:55:43 +02:00
tobspr
360937ce5f Change popup interval 2022-06-11 11:12:37 +02:00
tobspr
45331dc650 Fix typo 2022-06-09 10:06:18 +02:00
tobspr
959a365de6 Allow specifying abt in url params 2022-06-09 10:01:02 +02:00
tobspr
e1cd08d2f9 try out different variants 2022-06-09 08:58:37 +02:00
tobspr
8c5118e41d Fix randomInt not being evenly distributed 2022-06-07 14:16:14 +02:00
tobspr
4003fdd103 Fix css issues 2022-06-06 14:37:08 +02:00
tobspr
c32f987c4f Fix invalid url 2022-06-06 14:10:47 +02:00
tobspr
222ea8c261 Merge steam-demo branch 2022-06-06 14:06:09 +02:00
tobspr
f7b4647352 Update to 1.5.3 2022-06-05 21:17:47 +02:00
tobspr
e789a6c5ea Fix puzzle dlc: Buildings not lockable 2022-06-05 21:08:42 +02:00
tobspr
0974dee6d4 Get rid of legacy 1.19 savegame logic 2022-06-03 10:58:05 +02:00
tobspr
9e0193399f Add mods icon 2022-06-03 10:50:27 +02:00
tobspr
282f200b9a web improvements 2022-06-02 20:55:20 +02:00
tobspr
bbb418a1d8 v1.5.2 2022-06-02 19:44:50 +02:00
tobspr
43430dcbf2 Specify commit in registration 2022-06-02 14:17:07 +02:00
tobspr
559c0fa854 Rebranding and minor polishing, part 2 2022-06-02 14:06:33 +02:00
tobspr
082932bb46 Update branding from shapez.io to shapez 2022-06-02 12:56:58 +02:00
tobspr
c746df3a06 Update standalone status 2022-05-30 06:41:43 +02:00
tobspr
57678664d4 Fix DOM token error in watermark 2022-05-20 20:34:59 +02:00
tobspr
75d3a13688 Fix discounts 2022-05-20 17:39:47 +02:00
tobspr
c2c3bd67f4 Add smooth_zooming mod example, Fix UI toggle, (hopefully) fix vram issues, add latest discounts 2022-05-20 17:11:39 +02:00
tobspr
18f7ff1fea Adjust animation timing 2022-04-22 09:44:54 +02:00
tobspr
ef6e1a223c Fix discount being active in standalone 2022-04-20 11:18:31 +02:00
tobspr
7e198f2a72 Promote current discount 2022-04-20 11:17:56 +02:00
tobspr
6a0254b358 Demo adjustments, fix missing dependency 2022-04-13 16:07:25 +02:00
Emerald Block
6c88ccd7e2
simplify colors.js (#1412) 2022-04-13 08:23:53 +02:00
Emerald Block
4e5e5c8ef7
fix adding constant signal editing to puzzle editor (#1399) 2022-03-05 08:37:01 +01:00
TcePrepK
93f91ca8b3
typo (#1391) 2022-03-04 22:17:05 +01:00
tobspr
679e7f168c Fix crash when replacing wire-layer buildings 2022-02-25 15:56:33 +01:00
tobspr
7e436f2f2e Fix bad changelog date 2022-02-25 12:28:26 +01:00
tobspr
a74533ed76 Fix item producer being always unlocked 2022-02-25 12:27:44 +01:00
tobspr
c743a4968f Update changelog 2022-02-24 13:44:38 +01:00
tobspr
3079e007a3 Fix changelog 2022-02-23 08:17:47 +01:00
tobspr
6ed7ec6010 Pass variant to getHasDirectionLockAvailable 2022-02-22 16:39:03 +01:00
tobspr
556caed760 Pass variant and rotationVariant to getIsReplaceable 2022-02-22 16:37:55 +01:00
Thomas (DJ1TJOO)
d7c2ca874f
Added a can process hook (#1382)
* Added mod processing requirements

* Added missing bind

* Renamed to mods

* Added can process

* Squashed commit of the following:

commit ea2f32b3ff
Author: tobspr <tobias.springer1@googlemail.com>
Date:   Tue Feb 15 09:09:30 2022 +0100

    Fix examples

commit 561318b7db
Author: Dimava <dimava2@ya.ru>
Date:   Tue Feb 15 10:31:47 2022 +0300

    mark all abstract functions abstract (#1383)

commit 81d65e5801
Author: WaffleDevsAlt <81845843+WaffleDevsAlt@users.noreply.github.com>
Date:   Tue Feb 15 02:31:02 2022 -0500

    Removes unwanted ], (#1384)

    The ], breaks build, with a core error

commit 4f0af32a5e
Author: Ved_s <53968411+Ved-s@users.noreply.github.com>
Date:   Mon Feb 14 07:14:34 2022 +1100

    Update base-ru.yaml (#1312)

    * Update base-ru.yaml

    I think other's comments about the game should stay in English, as Russian translation cannot precisely describe this

    * Update base-ru.yaml

commit 3f3a2e0981
Author: Daan Breur <git@daanbreur.systems>
Date:   Sun Feb 13 21:11:52 2022 +0100

    NL Translations for Mods and puzzleDLC (#1381)

    * [NL] Mods and puzzleDLC

    * Update base-nl.yaml

    * Update base-nl.yaml

commit c4f26320a4
Author: dobidon <35607008+dobidon@users.noreply.github.com>
Date:   Sun Feb 13 23:11:38 2022 +0300

    Translating new keys (#1380)

commit cb5c3f798a
Author: Pimak <37274338+Pimak@users.noreply.github.com>
Date:   Sun Feb 13 21:11:16 2022 +0100

    Update base-fr.yaml for mods translation (#1377)

commit dee4f23b7e
Author: Sense101 <67970865+Sense101@users.noreply.github.com>
Date:   Sun Feb 13 20:11:02 2022 +0000

    Fix method for adding variants to an existing building (#1378)

commit b7bc2ac1b7
Author: jbelbaz <32191774+jbelbaz@users.noreply.github.com>
Date:   Sun Feb 13 21:10:11 2022 +0100

    Update base-fr.yaml (#1328)

    Change of a few lines in English. I was unable to verify in-game integration ... I hope my work will fit.
    glad to help :D

commit 93b9340ab7
Author: Pimak <37274338+Pimak@users.noreply.github.com>
Date:   Sun Feb 13 21:09:56 2022 +0100

    Update README.md (#1376)

    Small mistake

commit f534a88f80
Author: Bagel03 <70449196+Bagel03@users.noreply.github.com>
Date:   Sun Feb 13 15:09:41 2022 -0500

    Fix that whole export debacle (#1370)

    * Re-add setting exports

    * Update webpack.production.config.js

    * Update mod.js

    * Slight change

    * Update mod.js

    * Update webpack.production.config.js

    * Update webpack.config.js

commit dab4aa9cda
Author: Emerald Block <69981203+EmeraldBlock@users.noreply.github.com>
Date:   Sun Feb 13 14:07:02 2022 -0600

    fix fs-job sanitization (#1375)

commit 4466821557
Author: Thomas (DJ1TJOO) <44841260+DJ1TJOO@users.noreply.github.com>
Date:   Sun Feb 13 21:06:42 2022 +0100

    Added display hook for getting the signelton and the drawing (#1374)

commit 65ae26cb53
Author: Thomas (DJ1TJOO) <44841260+DJ1TJOO@users.noreply.github.com>
Date:   Sun Feb 13 21:06:24 2022 +0100

    Added hook for storage can accept item (#1373)

    * Added hook for storage can accept item

    * Fixed order

commit e5742fd577
Author: Thomas (DJ1TJOO) <44841260+DJ1TJOO@users.noreply.github.com>
Date:   Sun Feb 13 21:06:10 2022 +0100

    Added constant signal resolver hook (#1372)

    * Added constant signal resolver hook

    * Added apply

commit 41c6b1c595
Author: Thomas (DJ1TJOO) <44841260+DJ1TJOO@users.noreply.github.com>
Date:   Sun Feb 13 21:05:58 2022 +0100

    Added mod processing requirements (#1371)

    * Added mod processing requirements

    * Added missing bind

    * Renamed to mods
2022-02-15 18:05:53 +01:00
Dimava
561318b7db
mark all abstract functions abstract (#1383) 2022-02-15 08:31:47 +01:00
Sense101
dee4f23b7e
Fix method for adding variants to an existing building (#1378) 2022-02-13 21:11:02 +01:00
Bagel03
f534a88f80
Fix that whole export debacle (#1370)
* Re-add setting exports

* Update webpack.production.config.js

* Update mod.js

* Slight change

* Update mod.js

* Update webpack.production.config.js

* Update webpack.config.js
2022-02-13 21:09:41 +01:00
Thomas (DJ1TJOO)
4466821557
Added display hook for getting the signelton and the drawing (#1374) 2022-02-13 21:06:42 +01:00
Thomas (DJ1TJOO)
65ae26cb53
Added hook for storage can accept item (#1373)
* Added hook for storage can accept item

* Fixed order
2022-02-13 21:06:24 +01:00