1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-12 02:49:20 +00:00
Commit Graph

1107 Commits

Author SHA1 Message Date
tobspr
27db6fe693 Add notification blocks mod example 2022-01-18 10:13:25 +01:00
tobspr
2ac34665b3 Fix typo 2022-01-17 22:09:05 +01:00
tobspr
ce0c2c4977 Minor adjustments 2022-01-17 19:18:03 +01:00
tobspr
0dac336670 Update class extensions 2022-01-17 19:11:04 +01:00
tobspr
1b931808eb Add example for adding a new item type 2022-01-17 12:37:04 +01:00
tobspr
54a69c9725 Support for mod settings 2022-01-17 12:15:57 +01:00
tobspr
8943dc045c Add support for paste signals 2022-01-17 09:34:34 +01:00
tobspr
e942ba486e Add helper methods to extend classes 2022-01-16 20:30:51 +01:00
tobspr
7e0689694c Allow mods to replace builtin sub shapes 2022-01-16 18:19:46 +01:00
tobspr
c553ee1632 Support for rotation variants in mods (was broken previously) 2022-01-16 18:02:40 +01:00
tobspr
9717463500 Minor modloader adjustments 2022-01-16 17:35:21 +01:00
tobspr
44c4807d74 Make mod loading simpler 2022-01-16 17:05:13 +01:00
tobspr
43348a8931 Add more examples and more features 2022-01-16 16:13:57 +01:00
tobspr
93f269d62d Allow overriding existing methods 2022-01-16 11:40:01 +01:00
tobspr
1bd569f89c Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-16 11:19:24 +01:00
tobspr
2c8f11ff7f Refactor building registry, make it easier for mods to add new buildings 2022-01-16 11:19:22 +01:00
Thomas (DJ1TJOO)
592b304147
Fixed typescript type errors (#1335) 2022-01-16 10:41:09 +01:00
tobspr
e4b8071c2f Add interface to register new buildings 2022-01-16 10:39:54 +01:00
tobspr
22b619e8ab Add more examples and allow defining custom item processor operations 2022-01-15 14:57:11 +01:00
tobspr
2a83853b1c Allow adding custom themesw 2022-01-15 13:59:38 +01:00
tobspr
a4df63549b Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-15 13:35:22 +01:00
tobspr
b39f48ebfb Minor restructure, start to add mod examples 2022-01-15 13:35:19 +01:00
tobspr
53c3cbfe26 Show errors when loading mods 2022-01-15 12:30:57 +01:00
tobspr
f12f81a125 Refactor file system electron event handling 2022-01-15 11:23:14 +01:00
tobspr
a0071681e7 Start to make mods safer 2022-01-15 10:49:58 +01:00
tobspr
e12ed11c3e Make shapez exports global 2022-01-14 19:12:50 +01:00
tobspr
2d3219373f refactor game loading states 2022-01-14 19:08:45 +01:00
tobspr
a7b957642f Add some mod signals 2022-01-14 19:07:37 +01:00
tobspr
8a60acc6e3 Minor Keybindings refactor, add support for keybindings to mods, add support for dialogs to mods 2022-01-14 19:01:38 +01:00
tobspr
3cfd4aaebd Fix circular dependency 2022-01-14 17:46:28 +01:00
tobspr
27e4dc9ba5 Add support for loading mods from external sources in DEV 2022-01-14 17:23:41 +01:00
tobspr
99e49d5abb Add support for loading atlases via mods 2022-01-14 17:03:03 +01:00
tobspr
81da328f5a Minor adjustments, closes #1333 2022-01-14 16:53:20 +01:00
tobspr
de8afcedc9 Fix sprites not loading 2022-01-14 16:38:25 +01:00
tobspr
ebda1c5024 Allow mods to register game systems and draw stuff 2022-01-14 13:09:05 +01:00
tobspr
4176621b05 Proper mods ui 2022-01-14 12:34:02 +01:00
tobspr
6fa2515d85 Improve mod developing so mods are directly ready to be deployed, load mods from local file server 2022-01-14 11:08:16 +01:00
tobspr
f3b8d329fc Load dev mod via raw loader 2022-01-14 10:56:33 +01:00
tobspr
38b4e93180 Fix sprites not getting replaced, update demo mod 2022-01-14 10:39:26 +01:00
tobspr
0e86cd3535 Fix modloading in standalone 2022-01-14 10:14:51 +01:00
tobspr
ed83770348 update changelog 2022-01-14 09:05:03 +01:00
tobspr
575abd255d Allow loading mods from standalone 2022-01-14 08:55:18 +01:00
tobspr
258dbbd98f Fix duplicate exports 2022-01-14 07:53:32 +01:00
tobspr
a6b024be25 Expose all exported members automatically to mods 2022-01-14 07:51:48 +01:00
tobspr
bc5eff84f6 Lazy Load mods to make sure all dependencies are loaded 2022-01-14 07:37:26 +01:00
tobspr
16ecbf9c6d Refactor how mods are loaded to resolve circular dependencies and prepare for future mod loading 2022-01-14 07:18:25 +01:00
tobspr
01b9bf561c Initial support for adding new buildings 2022-01-14 07:05:46 +01:00
tobspr
8777e4c6ea Support for string building ids for mods 2022-01-14 06:14:37 +01:00
tobspr
7e2501ea6e Minor adjustments 2022-01-13 23:16:24 +01:00
tobspr
ebb2f3a1c6 Add support for modifying and registering new transltions 2022-01-13 22:30:52 +01:00
tobspr
6bac7cec57 Refactor mods to use signals 2022-01-13 22:14:49 +01:00
tobspr
3e5716504a modloader features 2022-01-13 21:45:09 +01:00
tobspr
abf2fd3d94 initial modloader draft 2022-01-13 21:20:42 +01:00
tobspr
a7a2aad2b6 Minor wegame adjustments 2021-09-28 08:21:21 +02:00
tobspr
58fe6e2f51 Wegame adjustments 2021-09-18 19:17:27 +02:00
tobspr
112e179bce Minor wegame adjustments 2021-09-12 11:04:32 +02:00
tobspr
2a51dad814 v1.4.4 2021-08-29 14:48:29 +02:00
tobspr
358754307a Fix balancers 2021-08-29 14:43:13 +02:00
tobspr
4546ca63c1 Fix ad provider 2021-08-26 14:47:28 +02:00
tobspr
f61f25934f Add setting to always show shape tooltip 2021-08-26 14:29:22 +02:00
tobspr
ae6c5b151e Improve shape tooltip 2021-08-26 14:24:09 +02:00
tobspr
2695694f50 Fix lint 2021-08-26 14:14:53 +02:00
tobspr
abff623194 Show unrated puzzles different, dark theme adjustments 2021-08-26 09:11:56 +02:00
tobspr
f3b82961dc Fix map chunk view 2021-08-26 09:04:46 +02:00
tobspr
874c792e4e Set 1.4.3 release date 2021-08-25 17:17:06 +02:00
tobspr
0bba4dc5fa Update changelog 2021-08-25 17:01:31 +02:00
tobspr
8b5cd160b6 DLC: Next Puzzle button & Search functionality, other stuff 2021-08-25 16:56:52 +02:00
tobspr
06d5c6a6dc Fixes & update changelog 2021-08-25 13:23:02 +02:00
PFedak
6f56d77535
Aggregate map chunks in overlay. (#1247)
Overlay rendering performance seemed bottlenecked by drawImage calls. To
reduce both the number of calls and the number of different source
buffers, cache overlay buffers for squares of chunks. This adds a very
small extra cost for updates (one additional drawImage) and some cost
for drawing chunks outside of view, but this is more than made up for by
the savings.

By default, the aggregate are 4x4 squares of chunks.
2021-08-25 13:04:52 +02:00
Emerald Block
2b4eb6771f
fix deselect on level up (#1033) 2021-08-25 12:59:03 +02:00
tobspr
993bd53a07 Shape tooltip adjustments 2021-08-25 12:55:59 +02:00
Sense101
4b36426a77
Added shape tooltip - final version (#1251)
* Added shape tooltip

* Shortened and simplified shape tooltip code

* added special logic for cutters so they remove overlays of empty outputs, and added clearing overlays on clear items
2021-08-25 11:56:29 +02:00
Sense101
736fbaed42
cleanup of trim code (#1283) 2021-08-24 19:38:16 +02:00
tobspr
d3fb22a54a Further wegame version adjustments 2021-08-19 09:58:26 +02:00
tobspr
ff47920e81 Further wegame adjustments 2021-08-18 17:22:50 +02:00
tobspr
0751eec7d5 Gamedistribution version adjustments 2021-08-17 21:13:32 +02:00
tobspr
c4ef7d4431 wegame version adjustments 2021-08-17 19:51:28 +02:00
tobspr
012818841d Wegame version adjustments 2021-08-16 12:34:40 +02:00
tobspr
aea668d7e3 Minor crosspromo update 2021-08-11 16:40:28 +02:00
tobspr
009e515336 Bump version, again 2021-08-11 16:36:17 +02:00
tobspr
24525344aa Do not show changelog yet 2021-08-11 16:31:26 +02:00
tobspr
fb695d7413 Crosspromo 2021-08-11 16:27:39 +02:00
tobspr
eb628526c9 Wegame adjustments 2021-08-04 13:44:02 +02:00
tobspr
8547dc409d Merge branch 'master' of github.com:tobspr/shapez.io 2021-08-04 12:52:49 +02:00
tobspr
1b34346c0b Closes 1266 2021-08-04 12:52:45 +02:00
Sense101
599cc7cf9f
fixed allowing puzzles which autocomplete (#1262) 2021-08-04 12:50:31 +02:00
tobspr
d8b34ca438 Minor PR adjustments 2021-08-04 12:49:01 +02:00
PFedak
e4f02abeb3
Simplify item processor slot logic. (#1257)
Track input slot assignment by array index rather than including extra
data in a new object. This greatly reduces the amount of garbage
generated by tryTakeItem and other item process operations.
2021-08-04 12:34:15 +02:00
Emerald Block
0a15958af9
Highlight focused text inputs, Show old signal (#1255)
* provide previous key when editing signal

* highlight text in focused text input
2021-08-04 12:19:58 +02:00
Sense101
260041702b
Hotfix to prevent pasting locked buildings (#1272)
* fix to prevent pasting locked buildings

* only check when in editor
2021-07-28 09:20:08 +02:00
tobspr
a1c6a99df0 Update wegame sdk to latest version 2021-07-06 15:51:39 +02:00
Stan
e8cd01e8e0
Just a little typo (#1252)
This isn't of any significance, but I figured why not.
2021-07-01 13:24:10 +02:00
tobspr
232ad79c02 Demo version adjustments 2021-06-30 10:17:16 +02:00
tobspr
479539d9b8 Properly activate Puzzle DLC on steam version (Fixes having to activate it manually in some cases) 2021-06-27 15:52:37 +02:00
tobspr
b6de716bee Clean up links 2021-06-25 19:29:23 +02:00
tobspr
dba91fa50c Merge branch 'master' of https://github.com/tobspr/shapez.io 2021-06-25 16:31:56 +02:00
tobspr
db355da09e Minor puzzle control refactoring 2021-06-25 16:31:54 +02:00
Sense101
5fb7bb0586
Minor goal acceptor adjustments to help prevent backing up belts to complete (#1236)
* added the new splitter

* Update base-en.yaml

* added the new splitter

Update changelog and update translation regarding 20 upgrade tiers, closes #907

* Update base-en.yaml

* minor goal acceptor adjustments to help prevent backing up belts to complete

* removed gap between completion and fill as it doesn't look nice

* removed api override

* fixed mistake with fill percentage

* Allowed for copying acceptors to remember the required shape

* further adjusted required items, so it looks a bit nicer
2021-06-25 16:16:09 +02:00
tobspr
285dd3840d Some fixes 2021-06-25 16:15:05 +02:00
tobspr
6359bbeadf Update changelog 2021-06-25 16:10:27 +02:00