Commit Graph

143 Commits

Author SHA1 Message Date
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
tobspr 1272ba7614 Fix typo 2022-06-06 14:06:30 +02:00
tobspr 222ea8c261 Merge steam-demo branch 2022-06-06 14:06:09 +02:00
Scott Miller d99b68784c
update texturepacker url (#1423)
`runnable-texturepacker.jar` seems to have moved. This is the current address according to https://libgdx.com/wiki/tools/texture-packer
2022-06-05 21:16:37 +02:00
tobspr 50e92bb42f Fix tobspr-osx-sign issues 2022-05-30 07:00:14 +02:00
tobspr 6a0254b358 Demo adjustments, fix missing dependency 2022-04-13 16:07:25 +02:00
tobspr a3a72e95ad MacOS Support 2022-04-13 15:43:58 +02:00
WaffleDevsAlt 81d65e5801
Removes unwanted ], (#1384)
The ], breaks build, with a core error
2022-02-15 08:31: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
tobspr aa8d105e14 Revert being able to override exports since it breaks in prod 2022-02-03 20:26:29 +01:00
Bagel03 10fb7ddb5c
Whoops shouldn't have forgotten that (#1367)
Yea, should not have forgotten that :P
2022-02-03 08:40:24 +01:00
tobspr c41aaa1fc5
Mod Support - 1.5.0 Update (#1361)
* initial modloader draft

* modloader features

* Refactor mods to use signals

* Add support for modifying and registering new transltions

* Minor adjustments

* Support for string building ids for mods

* Initial support for adding new buildings

* Refactor how mods are loaded to resolve circular dependencies and prepare for future mod loading

* Lazy Load mods to make sure all dependencies are loaded

* Expose all exported members automatically to mods

* Fix duplicate exports

* Allow loading mods from standalone

* update changelog

* Fix mods folder incorrect path

* Fix modloading in standalone

* Fix sprites not getting replaced, update demo mod

* Load dev mod via raw loader

* Improve mod developing so mods are directly ready to be deployed, load mods from local file server

* Proper mods ui

* Allow mods to register game systems and draw stuff

* Change mods path

* Fix sprites not loading

* Minor adjustments, closes #1333

* Add support for loading atlases via mods

* Add support for loading mods from external sources in DEV

* Add confirmation when loading mods

* Fix circular dependency

* Minor Keybindings refactor, add support for keybindings to mods, add support for dialogs to mods

* Add some mod signals

* refactor game loading states

* Make shapez exports global

* Start to make mods safer

* Refactor file system electron event handling

* Properly isolate electron renderer process

* Update to latest electron

* Show errors when loading mods

* Update confirm dialgo

* Minor restructure, start to add mod examples

* Allow adding custom themesw

* Add more examples and allow defining custom item processor operations

* Add interface to register new buildings

* Fixed typescript type errors (#1335)

* Refactor building registry, make it easier for mods to add new buildings

* Allow overriding existing methods

* Add more examples and more features

* More mod examples

* Make mod loading simpler

* Add example how to add custom drawings

* Remove unused code

* Minor modloader adjustments

* Support for rotation variants in mods (was broken previously)

* Allow mods to replace builtin sub shapes

* Add helper methods to extend classes

* Fix menu bar on mac os

* Remember window state

* Add support for paste signals

* Add example how to add custom components and systems

* Support for mod settings

* Add example for adding a new item type

* Update class extensions

* Minor adjustments

* Fix typo

* Add notification blocks mod example

* Add small tutorial

* Update readme

* Add better instructions

* Update JSDoc for Replacing Methods (#1336)

* upgraded types for overriding methods

* updated comments

Co-authored-by: Edward Badel <you@example.com>

* Direction lock now indicates when there is a building inbetween

* Fix mod examples

* Fix linter error

* Game state register (#1341)

* Added a gamestate register helper

Added a gamestate register helper

* Update mod_interface.js

* export build options

* Fix runBeforeMethod and runAfterMethod

* Minor game system code cleanup

* Belt path drawing optimization

* Fix belt path optimization

* Belt drawing improvements, again

* Do not render belts in statics disabled view

* Allow external URL to load more than one mod (#1337)

* Allow external URL to load more than one mod

Instead of loading the text returned from the remote server, load a JSON object with a `mods` field, containing strings of all the mods. This lets us work on more than one mod at a time or without separate repos. This will break tooling such as `create-shapezio-mod` though.

* Update modloader.js

* Prettier fixes

* Added link to create-shapezio-mod npm page (#1339)

Added link to create-shapezio-mod npm page: https://www.npmjs.com/package/create-shapezio-mod

* allow command line switch to load more than one mod (#1342)

* Fixed class handle type (#1345)

* Fixed class handle type

* Fixed import game state

* Minor adjustments

* Refactor item acceptor to allow only single direction slots

* Allow specifying minimumGameVersion

* Add sandbox example

* Replaced concatenated strings with template literals (#1347)

* Mod improvements

* Make wired pins component optional on the storage

* Fix mod examples

* Bind `this` for method overriding JSDoc (#1352)

* fix entity debugger reaching HTML elements (#1353)

* Store mods in savegame and show warning when it differs

* Closes #1357

* Fix All Shapez Exports Being Const (#1358)

* Allowed setting of variables inside webpack modules

* remove console log

* Fix stringification of things inside of eval

Co-authored-by: Edward Badel <you@example.com>

* Fix building placer intersection warning

* Add example for storing data in the savegame

* Fix double painter bug (#1349)

* Add example on how to extend builtin buildings

* update readme

* Disable steam achievements when playing with mods

* Update translations

Co-authored-by: Thomas (DJ1TJOO) <44841260+DJ1TJOO@users.noreply.github.com>
Co-authored-by: Bagel03 <70449196+Bagel03@users.noreply.github.com>
Co-authored-by: Edward Badel <you@example.com>
Co-authored-by: Emerald Block <69981203+EmeraldBlock@users.noreply.github.com>
Co-authored-by: saile515 <63782477+saile515@users.noreply.github.com>
Co-authored-by: Sense101 <67970865+Sense101@users.noreply.github.com>
2022-02-01 16:35:49 +01:00
tobspr 291614cb3c Support for building wegame specific version 2021-05-25 21:29:44 +02:00
tobspr 56214defaf Support for building on non-steam platforms 2021-05-25 13:12:38 +02:00