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

54 Commits

Author SHA1 Message Date
Даниїл Григор'єв
713169a3eb
Ensure proper code splitting for translations
Make updateApplicationLanguage load translations asynchronously as
separate chunks in a slightly hacky way. Also implement a workaround for
old translation overrides registry ModInterface API.
2025-06-14 05:36:55 +03:00
Даниїл Григор'єв
b26a43c57c
Remove changelog skins
The feature wasn't used in the last 2 years anyway.
2025-04-08 14:15:20 +03:00
Даниїл Григор'єв
e618776013
Minor globalConfig and unused code cleanup
Remove secrets that are no longer used and fetchDiscounts preload step.
2024-07-26 17:01:57 +03:00
Даниїл Григор'єв
89992e2299
Apply formatting to src/js 2024-06-20 12:59:07 +03:00
cody-ferguson
894ceab854 Remove folders and steam stuff 2024-06-19 17:12:08 -05:00
cody-ferguson
6662cb2694 Remove all references of "G_IS_STANDALONE" 2024-06-19 13:47:50 -05:00
Danyil Hryhoriev
f2596ef845 Remove cache busting
Cache busting is not required in standalone context.
2024-04-20 13:23:02 +03:00
Даниїл Григор'єв
aa49f063c3
Remove ads, analytics and Steam SSO, simplify HTML tasks (#21)
* Remove ad support, analytics and Wegame leftovers

The game may be somewhat broken in a few places, but it doesn't matter
for now. This is still not the end.

* Remove Steam SSO and demo stuff

Steam SSO is completely removed, a few things from demo like simplified
level sets are gone as well. Puzzle DLC on the other hand is now always
"owned" and will ask for a token to log in.

Removes

* Use shapez dialogs for Puzzle DLC token input

Yes, this sucks *a lot*. But it's a temporary measure, trust me :P

* Simplify HTML tasks

Removes the web (demo) index.html page and makes HTML tasks independent
of the build variant. This might not be the best solution, but it works
for now.
2024-04-16 10:25:16 +03:00
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
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
tobspr
b67f925f4f Update since summer sale ended 2022-07-07 20:36:05 +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
8454a782b4 Further crazygames sdk integration 2022-06-27 17:34:43 +02:00
tobspr
56296ab88a Minor adjustments 2022-06-26 18:51:39 +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
9f3cf49fad Properly render discounts 2022-06-23 14:59:09 +02:00
tobspr
145f734907 Allow playing full version in browser via steam sso 2022-06-20 18:22:23 +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
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
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
cc068d8245 Improve loading screen 2022-06-16 13:47:11 +02:00
tobspr
222ea8c261 Merge steam-demo branch 2022-06-06 14:06:09 +02:00
tobspr
4546ca63c1 Fix ad provider 2021-08-26 14:47:28 +02:00
tobspr
b3d1204d9c Wegame version & DLC Translation in Chinese 2021-05-25 09:19:57 +02:00
tobspr
931c8a5821
Puzzle DLC (#1172)
* Puzzle mode (#1135)

* Add mode button to main menu

* [WIP] Add mode menu. Add factory-based gameMode creation

* Add savefile migration, serialize, deserialize

* Add hidden HUD elements, zone, and zoom, boundary constraints

* Clean up lint issues

* Add building, HUD exclusion, building exclusion, and refactor

- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu

* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria

* Add ingame puzzle mode UI elements

- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>

* Performance optimizations (#1154)

* 1.3.1 preparations

* Minor fixes, update translations

* Fix achievements not working

* Lots of belt optimizations, ~15% performance boost

* Puzzle mode, part 1

* Puzzle mode, part 2

* Fix missing import

* Puzzle mode, part 3

* Fix typo

* Puzzle mode, part 4

* Puzzle Mode fixes: Correct zone restrictions and more (#1155)

* Hide Puzzle Editor Controls in regular game mode, fix typo

* Disallow shrinking zone if there are buildings

* Fix multi-tile buildings for shrinking

* Puzzle mode, Refactor hud

* Puzzle mode

* Fixed typo in latest puzzle commit (#1156)

* Allow completing puzzles

* Puzzle mode, almost done

* Bump version to 1.4.0

* Fixes

* [puzzle] Prevent pipette cheats (miners, emitters) (#1158)

* Puzzle mode, almost done

* Allow clearing belts with 'B'

* Multiple users for the puzzle dlc

* Bump api key

* Minor adjustments

* Update

* Minor fixes

* Fix throughput

* Fix belts

* Minor puzzle adjustments

* New difficulty

* Minor puzzle improvements

* Fix belt path

* Update translations

* Added a button to return to the menu after a puzzle is completed (#1170)

* added another button to return to the menu

* improved menu return

* fixed continue button to not go back to menu

* [Puzzle] Added ability to lock buildings in the puzzle editor! (#1164)

* initial test

* tried to get it to work

* added icon

* added test exclusion

* reverted css

* completed flow for building locking

* added lock option

* finalized look and changed locked building to same sprite

* removed unused art

* added clearing every goal acceptor on lock to prevent creating impossible puzzles

* heavily improved validation and prevented autocompletion

* validation only checks every 100 ticks to improve performance

* validation only checks every 100 ticks to improve performance

* removed clearing goal acceptors as it isn't needed because of validation

* Add soundtrack, puzzle dlc fixes

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
Co-authored-by: dengr1065 <dengr1065@gmail.com>
Co-authored-by: Sense101 <67970865+Sense101@users.noreply.github.com>
2021-05-23 16:32:05 +02:00
Tobias Springer
226149a40f Prepare the achievements update 2021-03-10 09:29:20 +01:00
Tobias Springer
1ee03d7398 Adjustments to support chinese versions 2021-03-09 10:07:19 +01:00
tobspr
8260edb373 Get rid of some todos / fixmes 2020-10-08 19:47:27 +02:00
tobspr
7dccc1a844 Unlock all levels when having a legacy savegame 2020-10-07 15:02:27 +02:00
tobspr
fe97d28674 Minor adjustments 2020-09-19 18:57:14 +02:00
tobspr
2075f4d011 Improve simplified belt, show hints everywheer 2020-09-19 12:21:32 +02:00
Bjorn Stromberg
79158e2b56
Remove unused code (#526) 2020-08-06 11:28:28 +02:00
Bjorn Stromberg
cb1ff53338 Add TSLint to github actions, fix existing type errors 2020-07-22 11:15:16 +09:00
tobspr
ecbcd02abc Fix app not starting when the savegames were corrupted - there is now a better error message 2020-06-13 10:11:18 +02:00
tobspr
e9f0a45f2a Remove update check 2020-06-11 11:52:11 +02:00
tobspr
714cd449e9 Initial support for translations 2020-06-10 12:13:38 +02:00
tobspr
85f748566f Remove link to itch.io on update message 2020-06-02 17:16:48 +02:00
tobspr
0cd324c82b Initial support for blueprints (Buggy) 2020-05-27 14:30:59 +02:00
tobspr
8b9ce418f3 Fix update dialog being always shown 2020-05-24 17:53:13 +02:00
tobspr
f03f04caa1 Allow to disable hints, add changelog 2020-05-23 15:04:55 +02:00
tobspr
b9af590b18 Fix update check 2020-05-21 16:01:16 +02:00
tobspr
c57a8806d8 V 1.0.1 2020-05-21 13:55:45 +02:00
tobspr
58442eaeec Prepare standalone build 2020-05-21 13:05:21 +02:00