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

28 Commits

Author SHA1 Message Date
Даниїл Григор'єв
9906397170
Build tools cleanup pass (#81)
* Fix tsconfig scopes affecting html.js

Since it's quite hard to use a DOM library type there, remove the type
entirely.

* Remove environment variables check

Nothing is using them anymore. It can be added back if needed later.

* Refactor Texture Packer downloading

Refactor local-config.js tasks file into a generic "environment"
category consisting of checking if Java is installed, downloading the
runnable Texture Packer if it's not yet downloaded and copying the local
configuration template; update README accordingly.

* Prepare environment only at postinstall

Remove environment.prepare task from default build pipelines, add a
postinstall script that calls the task, using environment.js as the
gulpfile to speed it up.

* Remove "docs" tasks and types generation script

Remove tasks from docs.js as they are unlikely to do anything meaningful
nowadays. Also remove the buildTypes script as it doesn't work anymore.
A better solution will be provided in the future.

* Simplify some globs

Use additional gulp.src options instead of specifying more or complex
globs.

* Extract built-temp location to a variable

Add the src/js/built-temp directory as a new variable in config.js,
replace all existing references to built-temp with this variable.
2025-06-19 04:51:34 +03:00
Даниїл Григор'єв
6695aa0fa0
Remove most of "preloader" code (#60)
Make the build process less complicated and reduce scatter
of renderer source code.
2025-04-06 23:13:13 +03:00
Даниїл Григор'єв
5ff15f3029
Apply formatting to gulp 2024-06-20 13:00:58 +03:00
EmeraldBlock
39b7e6cb59 Squashed commit of the following:
commit 176343785eea110e529f26027bf864ae04068384
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Fri Dec 8 23:03:51 2023 -0600

    update readme

commit 8c1c3a0c47f5125126cb00d32a48f4f9344a3fb3
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Fri Dec 8 23:00:05 2023 -0600

    fix bugs

commit ea881e68c693a447e0698a3a6e7cfb1f25ccb6cc
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Fri Dec 8 22:46:46 2023 -0600

    expose all tasks with old api

commit fa6d7a3920ff573eadb61425cc077f0e00406164
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Fri Dec 8 21:51:20 2023 -0600

    switch to exported gulp tasks

commit 348b19a0171e65400bcd434cf7b7432f3488a411
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Mon Nov 20 22:55:38 2023 -0600

    parallelize dev build

commit 56de73e2d18d20e5ea7202afc021573a746e5012
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Mon Nov 20 20:44:10 2023 -0600

    use promises in gulpfile

commit 6ab54372482f26acb4769428eefbdc48240a12a1
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Mon Nov 20 20:33:36 2023 -0600

    make java -version print again

commit b0e4cf57bdc404bb3b0e45b7b233d5f7648c800e
Author: EmeraldBlock <yygengjunior@gmail.com>
Date:   Mon Nov 20 20:14:13 2023 -0600

    use promises for gulp tasks
2024-04-24 17:57:30 -05: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
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
tobspr
b07e04e7b1 Disable GA on shapez for better privacy 2022-10-24 09:54:36 +02:00
tobspr
424a4b8a61 Remove no longer working preload script 2022-06-19 21:18:34 +02:00
tobspr
3ab5ca99fd 1.5.4 update (polishing + minor rebalancing) 2022-06-19 17:08:35 +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
0eeb03baf7 Do not preload async css 2022-06-17 14:55:08 +02:00
tobspr
dfa392907d Vastly improve game loading time 2022-06-17 14:52:25 +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
15de686de1 Fix build errors 2022-06-16 12:22:10 +02:00
tobspr
80a80c11e6 Switch to es6 again 2022-06-16 12:21:03 +02:00
tobspr
07fb65f3b6 Fix build issues 2022-06-16 10:39:02 +02:00
tobspr
222ea8c261 Merge steam-demo branch 2022-06-06 14:06:09 +02:00
tobspr
507121b886 Load css async 2020-09-28 12:24:52 +02:00
tobspr
1f12e755a9 Load css resources async, improve building descriptions 2020-09-23 11:14:35 +02:00
Bjorn Stromberg
997fabd52c
Remove more unused dependencies (#527)
* Remove more unused dependencies

* Remove gulp-jsbeautifier
2020-08-07 09:16:23 +02:00
tobspr
91351d2f79 Improve UX for first levels 2020-06-01 20:18:50 +02:00
tobspr
e0facaf788 Fix keys being stuck, show savegame levels in main menu 2020-05-28 14:53:11 +02:00
tobspr
c57a8806d8 V 1.0.1 2020-05-21 13:55:45 +02:00
tobspr
241b4b42d9 Add proper game analytics 2020-05-12 20:06:50 +02:00
tobspr
f52d2b85c0 Update main menu styles 2020-05-11 13:11:07 +02:00
Tobias Springer
93c6ea683d Initial commit 2020-05-09 16:45:23 +02:00