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

156 Commits

Author SHA1 Message Date
EmeraldBlock
b4bbfcb4f0 remove mod_examples 2024-06-18 04:14:21 -05:00
EmeraldBlock
dac3a6b935 improve dev watching 2024-04-24 21:19:31 -05: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
Danyil Hryhoriev
f2596ef845 Remove cache busting
Cache busting is not required in standalone context.
2024-04-20 13:23:02 +03:00
Даниїл Григор'єв
e10edca73e
Add more packaging tasks and fix localConfig not being created (#22)
* Update Electron dependencies

This will break some mods and a few things were deprecated, but the
Electron wrapper will be replaced anyway.

* Add macOS and arm64 packaging tasks

As @chunkybanana has tested the general approach to building shapez on
macOS, I can now add these tasks. Aside from that, now there are tasks
to build for the 64-bit ARM variant of each system and a task that
builds packages for all platforms and architectures at once. A bug where
localConfig wasn't created when building for the first time was also
fixed.
2024-04-16 21:50:36 +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
Даниїл Григор'єв
c2855d528d
Slight improvements for the build process (#19)
* Unify the version source

Changes the development config to use version from package.json and
makes the production config use the same utility function. Also removes
the version file as it's no longer needed.

* Remove some Steam references from build process

Removes files needed to publish the game on Steam and related tasks that
can be only used by the developer anyway. Only the build process is
affected, the actual game part still supports Steam integration.

* Refactor/add packaging tasks

Adds new Gulp tasks to create a distributable package of the game. A
task for macOS is not provided because signing needs to be figured out
first. Package creation tasks are also aliased in package.json for
future usage in external tools or CI. Aside from that, alternative
methods of downloading the libGDX Texture Packer are dropped.
2024-04-14 19:03:27 +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
Даниїл Григор'єв
6deee07a80
Remove GOG/Wegame source roots 2023-10-06 11:13:26 +03:00
Bagel03
1eb264716a Add ts support 2023-03-04 21:32:47 -06:00
EmeraldBlock
bd781f8750 build fixes 2023-03-04 21:23:14 -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
tobspr
b07e04e7b1 Disable GA on shapez for better privacy 2022-10-24 09:54:36 +02:00
tobspr
c77e428ffb Fix darwin builds on gog 2022-07-20 18:16:14 +02:00
tobspr
400ee8e737 Support for GOG 2022-07-18 14:18:02 +02:00
tobspr
4796aec1ff Don't build steam-china on darwin 2022-06-21 14:11:10 +02:00
tobspr
145f734907 Allow playing full version in browser via steam sso 2022-06-20 18:22:23 +02:00
tobspr
0052c30553 Fix gulptasks 2022-06-20 11:24:38 +02:00
tobspr
a065c64baa Also clean build_output on build 2022-06-20 11:18:57 +02:00
tobspr
424a4b8a61 Remove no longer working preload script 2022-06-19 21:18:34 +02:00
tobspr
166b288898 Revert "Fix #1446 (#1447)"
This reverts commit 2d45fa8cd1.
2022-06-19 17:59:32 +02:00
tobspr
1642354f40 Merge branch 'master' of github.com:tobspr/shapez.io 2022-06-19 17:08:38 +02:00
tobspr
3ab5ca99fd 1.5.4 update (polishing + minor rebalancing) 2022-06-19 17:08:35 +02:00
Jasper Meggitt
2d45fa8cd1
Fix #1446 (#1447)
* Fix #1446 by modifying gulp/atlas2json.js

* Clean up gulp/atlas2json.js and add more comments
2022-06-19 16:41:57 +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
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
de56764103 Fix issues in preload state 2022-06-17 14:16:25 +02:00
tobspr
51fcc1e470 Improve preload screen 2022-06-17 13:04:19 +02:00
tobspr
aae4395111 Adjust preloading intervals 2022-06-16 13:50:17 +02:00
tobspr
cc068d8245 Improve loading screen 2022-06-16 13:47:11 +02:00
tobspr
d766df23e3 Fix bundle loader 2022-06-16 12:47:33 +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
de2098f0cf Disable block scoping 2022-06-16 12:04:59 +02:00
tobspr
8a669f1a58 Fix undefined variable 2022-06-16 12:01:12 +02:00
tobspr
197adf8120 Fix babel options 2022-06-16 11:58:49 +02:00
tobspr
2e1271ecb7 Fix es5 builds 2022-06-16 11:28:37 +02:00
tobspr
bf5199d77a Try out different babel properties to fix compilation issues 2022-06-16 10:52:49 +02:00
tobspr
07fb65f3b6 Fix build issues 2022-06-16 10:39:02 +02:00
tobspr
3b4ae39caa Try out transpiled-only builds 2022-06-16 10:35:58 +02:00
tobspr
6abe731b32 Always use transpiled variant for web 2022-06-16 10:20:04 +02:00
tobspr
6a79d47158 Update gulpfile 2022-06-13 21:09:00 +02:00
tobspr
21e37792e0 Minor adjustments 2022-06-06 15:48:21 +02:00
tobspr
737ce41041 Properly write app id 2022-06-06 15:34:19 +02:00
tobspr
b821c7259c refactor steam pipe generation 2022-06-06 15:28:30 +02:00
tobspr
de288afeb5 Fix prod environment 2022-06-06 14:29:25 +02:00