Tobias Springer
afdce2268e
Minor path fixes
2021-03-09 11:44:12 +01:00
Tobias Springer
1ee03d7398
Adjustments to support chinese versions
2021-03-09 10:07:19 +01:00
dengr1065
b51c0fdbd4
Replace gulp-sass with gulp-dart-sass ( #1036 )
2020-12-25 22:57:57 +01:00
tobspr
aa2b64eae5
Fix items overlapping sometimes, fix constant signal being editable
2020-12-09 10:41:49 +01:00
Polarbub
f92a04f1df
Fix Dependency errors ( #996 )
2020-12-07 18:48:22 +01:00
Polarbub
91cb53b6ce
Fix Dependency errors ( #869 )
...
* Add files via upload
* Fixed Dependence error
* Fixed Dependence errors
* Add files via upload
* Add files via upload
2020-10-31 12:07:25 +01:00
tobspr
8260edb373
Get rid of some todos / fixmes
2020-10-08 19:47:27 +02:00
tobspr
816fd37b55
Fix build
2020-10-06 17:25:58 +02:00
tobspr
9217ee252d
MInor adjustments to atlas padding
2020-10-04 09:30:31 +02:00
dengr1065
a02438a70a
LibGDX Texture Packing (finally!) ( #755 )
...
* Format tsconfig, remove atlas files
* Add helpers for texture packing
* Rest of the texture packing...
* Update gitignores
* Update readme
2020-10-04 09:21:37 +02:00
dengr1065
56ca6b40c5
Remove git lfs install from gulpfile ( #731 )
2020-10-01 10:20:47 +02:00
tobspr
f984733783
Add store page to translations
2020-09-29 20:40:55 +02:00
tobspr
c4d709b8e4
Add steampipe files and upgrade electron
2020-09-29 19:07:48 +02:00
tobspr
c32133f460
Get rid of remaining gitattributes
2020-09-28 14:31:57 +02:00
tobspr
507121b886
Load css async
2020-09-28 12:24:52 +02:00
LeopoldTal
b9b8592a07
Build, sign, notarise, & upload on OS X ( #687 )
...
* sign & notarise darwin package
* upload bundle as github release
* allow unsigned build and full build with release
* deref darwin bundle symlinks only when building on win32
Windows [mangles symlinks](https://github.com/electron/electron-packager/issues/71 ). Currently we work around this by placing several copies of the frameworks in OS X app bundles (see 1e5aa3867d
). However:
- This is invalid: the framework toplevel must [only contain symlinks](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html ). `codesign` [refuses to sign](https://stackoverflow.com/questions/25969946/osx-10-9-5-code-signing-v2-signing-a-framework-with-bundle-format-is-ambiguou ) this invalid structure.
- It seriously bloats the bundle.
Since there's no fix for the Windows misbehaviour, keep the workaround, but only when cross-building on win32 for darwin; and log a warning.
2020-09-27 23:14:43 +02:00
tobspr
d4dd30857e
Further pre-release adjustments
2020-09-24 16:12:05 +02:00
tobspr
c54ec9fd2a
Restructure buildings
2020-09-24 12:53:40 +02:00
tobspr
e040a47195
Update regular layer building descriptions, update artwork
2020-09-23 15:20:12 +02:00
tobspr
1f12e755a9
Load css resources async, improve building descriptions
2020-09-23 11:14:35 +02:00
LeopoldTal
ff2274f671
fix size overflow when building sounds ( #676 )
...
Building the standalone with V8 v8 (Node v14) fails at step `sounds.musicHQ`, either by running out of memory or with the error "Invalid string length". Building with V8 v7 (Node v12) succeeds.
This is because `gulp-cache` builds a 994-MB string when [stringifying file contents](https://github.com/jgable/gulp-cache/blob/master/src/task-proxy.js#L262 ) to cache them. V8 v8 [limits string length to around 537 MB](https://github.com/v8/v8/blob/master/src/objects/string.h#L384 ), and thus cannot represent this string. (V8 v7 allows around 1074 MB, which is why the build passes on Node v12.)
But [`theme-full.mp3`](https://github.com/tobspr/shapez.io/blob/master/res_raw/sounds/music/theme-full.mp3 ) is only 79 MB: how did we get 1250% overhead?
Unlike plaintext files, binary files are read as buffers, but [by default](https://github.com/jgable/gulp-cache/blob/master/src/index.js#L46 ) `gulp-cache` stringifies them naively, producing the extremely inefficient representation:
````
[
{
"cwd": "/Users/tobspr/shapez.io/gulp",
"base": "/Users/tobspr/shapez.io/res_raw/sounds/music",
"contents": {
"type": "Buffer",
"data": [
73,
68,
51,
4,
0,
0,
…etc.
````
Fortunately, `gulp-cache` [can read base64-encoded cache files](https://github.com/jgable/gulp-cache/blob/master/src/index.js#L26 ).
Instead of using the default file transform function, **pass a `value` option to base64-encode the file contents**. This results in only 33% overhead on cache file size (106 MB for the largest file).
This has multiple benefits:
- Fixes the build failure
- Requires less memory (from 6 GB down to < 1 GB on my machine)
- When cache files are found, the `sounds.musicHQ` is much faster (from ~30 s down to ~4 s on my machine)
- Smaller cache files on disk
2020-09-21 08:37:50 +02:00
tobspr
ecbf9d7e78
Revert worker loader change
2020-08-10 19:54:11 +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
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
3bae1c8ec3
Remove sloc, it appears to be unused. ( #503 )
2020-07-27 11:07:25 +02:00
Bjorn Stromberg
3af36c5948
- Update webpack from v4.31.0 to v4.43.0
...
- Update webpack-stream from v5.1.0 to v5.2.1
- Remove webpack-stream from shapez.io
2020-07-21 21:41:13 +09:00
Bjorn Stromberg
fa53a5d2e1
Update browser-sync from v2.24.6 to v2.26.10
2020-07-21 10:34:29 +09:00
tobspr
0d74af92a7
Further mac os fixes
2020-07-06 15:29:17 +02:00
tobspr
1e5aa3867d
Allow building mac on windows, closes #355
2020-07-06 15:08:17 +02:00
tobspr
6c6ad6af22
Update standalone build script
2020-07-06 08:14:44 +02:00
tobspr
83d635269c
Add alpha build functionality
2020-07-05 12:54:43 +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
tobspr
17123fd7b9
Further work on the energy generator
2020-06-28 11:44:30 +02:00
tobspr
757b79b69e
Update gulpfile
2020-06-27 10:54:21 +02:00
tobspr
30abb9c088
Update gulfile
2020-06-27 10:53:13 +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
de94c6ea82
Add 'copy key' button to shape viewer
2020-06-24 21:03:46 +02:00
tobspr
b3de1f9207
Re-enable analytics
2020-06-24 17:59:43 +02:00
tobspr
a8b37792e4
Allow configuring autosave interval
2020-06-22 12:09:02 +02:00
tobspr
5e83c4642b
Reduce sound volume
2020-06-21 22:56:38 +02:00
tobspr
2c0f0f2152
Fix standalone build
2020-06-17 15:10:14 +02:00
tobspr
215e35166a
Switch to different ftp plugin
2020-06-16 19:53:40 +02:00
Ivan Demchuk
8c8cd007fd
Fix gulp.watch
2020-06-13 22:18:39 +03:00
Ivan Demchuk
fc571e2c3e
Use gulp.parallel instead of gulp-multi-process
2020-06-13 21:44:00 +03:00
Ivan Demchuk
8186da9d4c
Fix gulp on Windows copying files to wrong location
2020-06-13 21:21:32 +03:00
Ivan Demchuk
b2e95de0af
Fix build error when sounds dir does not exist
2020-06-13 19:46:25 +03:00
Ivan Demchuk
98d8472afd
Fix 'The following tasks did not complete' error
2020-06-13 19:36:26 +03:00
Ivan Demchuk
506193b8c8
Switch to gulp 4
2020-06-13 18:59:25 +03:00
tobspr
724ee92990
Do not minify names in beta
2020-06-13 11:56:42 +02:00
tobspr
c963c961a0
Allow having local files with changes for deployments
2020-06-13 11:04:17 +02:00
tobspr
a2ee16589f
Switch to steam
2020-06-07 12:56:02 +02:00
tobspr
bf93ded6cf
Increased icon visibility for windows builds
2020-06-03 16:16:41 +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
3f385b01e0
Update readme and standalone build process
2020-05-31 08:15:07 +02:00
tobspr
e4a8e72edd
Add .itch.toml file
2020-05-30 20:25:46 +02:00
tobspr
704b6e14b8
Minor fixes, update changelog, add experimental macosx and linux builds
2020-05-30 20:12:16 +02:00
tobspr
8dac25be97
Minor fix for the standalone
2020-05-29 08:18:40 +02:00
tobspr
e0c0c45d0b
Merge pull request #28 from maxklenk/travis_build_standalone
...
Add TravisCI config to build standalone bundle on and for multiple platforms
2020-05-28 19:42:55 +02:00
Max Klenk
e6567c15df
add travis config to build standalone bundle on multiple platforms
2020-05-28 16:08:08 +02:00
tobspr
e0facaf788
Fix keys being stuck, show savegame levels in main menu
2020-05-28 14:53:11 +02:00
tobspr
ec460d3888
Merge branch 'master' of https://github.com/tobspr/shapez.io
2020-05-27 08:00:38 +02:00
tobspr
5cc6c05c71
Allow changing keybindings in the demo version
2020-05-27 08:00:36 +02:00
dengr1065
1d9616f955
Exit if Git LFS is not installed
2020-05-26 19:22:45 +03:00
tobspr
c57a8806d8
V 1.0.1
2020-05-21 13:55:45 +02:00
tobspr
89d1489ff1
Preparing for the standalone
2020-05-21 13:36:08 +02:00
tobspr
58442eaeec
Prepare standalone build
2020-05-21 13:05:21 +02:00
tobspr
dda80568e1
Minor additional build fixes
2020-05-19 11:13:15 +02:00
tobspr
3ad359ef0b
Minor build process fixes
2020-05-19 11:11:08 +02:00
tobspr
a7fff0dcd2
Compress sounds into atlas
2020-05-19 11:08:28 +02:00
tobspr
ee5fb984c1
Minor ftp gulp task adjustment
2020-05-18 19:50:00 +02:00
tobspr
2c659482c4
Update ftp deployment, fix minor bugs in savegame serialization
2020-05-18 19:47:40 +02:00
tobspr
3f9fee211e
Double belt speed
2020-05-17 15:56:00 +02:00
tobspr
a70a937302
Initial support for translations
2020-05-17 12:12:13 +02:00
tobspr
13c6fc7598
Multiple improvements
2020-05-17 10:07:20 +02:00
tobspr
c1d720ca52
Add notifications when saving and new upgrades are available, minor improvements
2020-05-16 12:43:11 +02:00
tobspr
7870f011b8
Initial support for themes, sound improvements
2020-05-16 09:49:00 +02:00
tobspr
c3e0cb5a46
Remove source maps and adjust targets
2020-05-15 09:09:37 +02:00
tobspr
af0f56b5e4
Add basic sounds
2020-05-14 19:12:58 +02:00
tobspr
85951615a9
Fix tslint errors
2020-05-14 08:56:18 +02:00
tobspr
241b4b42d9
Add proper game analytics
2020-05-12 20:06:50 +02:00
tobspr
7036a4ac95
Add fullscreen video background
2020-05-12 09:56:11 +02:00
tobspr
f52d2b85c0
Update main menu styles
2020-05-11 13:11:07 +02:00
Tobias Springer
effc9514bb
Fix sourcemaps not being generated
2020-05-09 17:19:27 +02:00
Tobias Springer
669ee3e9b6
Provide source maps since the game is public now anyways
2020-05-09 17:14:07 +02:00
Tobias Springer
93c6ea683d
Initial commit
2020-05-09 16:45:23 +02:00