Commit graph

32 commits

Author SHA1 Message Date
Vitaly Turovsky
443496a788 fix: drop download & deploy size by 1.5x by inlining optimized block collision shapes 2023-11-04 09:04:09 +03:00
Vitaly Turovsky
b20d99261f allow to use linked deps such as flying-squid 2023-11-04 06:40:33 +03:00
Vitaly
c0d3b2905a copy entity directly from assets, various generator fixes 2023-10-26 04:51:23 +03:00
Vitaly
41cea43846 esbuild: don't reload when JS output file is not changed
todo restore for css
2023-10-26 01:16:36 +03:00
Vitaly Turovsky
9351732d09 feat: new scalable options GUI. Refactored options & main menu to React
chore: added storybook!
fixed too big ts language service memory consumption (json mc-data)
2023-10-11 19:38:16 +03:00
Vitaly
e874db069a server(dev): always use only one source of textures 2023-10-07 11:19:07 +03:00
Vitaly
2455c63925 refactor plugins: better mc-data support 2023-09-30 11:23:35 +03:00
Vitaly
31622543d3 remove webpack & unused deps 2023-09-26 00:08:21 +03:00
Vitaly
7e0b7d79ae add typecheck to ci, always prepare data 2023-09-25 21:48:13 +03:00
Vitaly
00defc37a5 drop dist/textures folder 76mb -> 3mb
rm unused textures, affects only deploy speed
2023-09-25 00:25:45 +03:00
Vitaly
90d382df6b sync build.js from main-ligth 2023-09-25 00:10:32 +03:00
Vitaly
14a9a2bf18
a few fixes (#20)
fix: ios improvements: always display full ui & no magnifier on double tap anymore
fix: regression: connect to p2p peers
2023-09-19 03:18:01 +03:00
Vitaly
8591653bdb add contributing, speed start, cleanup esbuild
and don't use minify in dev as it breaks breakpoints since minify inlines code
2023-09-17 22:03:26 +03:00
Vitaly Turovsky
f34a24cbb1 should fix build 2023-09-15 07:06:26 +03:00
Vitaly Turovsky
91bb1d75ff add blocks generate script for resourcepack 2023-09-15 04:49:20 +03:00
Vitaly Turovsky
92d66e4a19 fix build 2023-09-09 23:59:15 +03:00
Vitaly Turovsky
5f1b5b9834 improve eruda check & sw index.html 2023-09-04 15:56:58 +03:00
Vitaly
bbb3c13a27 fix autoversion (download data on demand) 2023-09-04 11:24:34 +03:00
Vitaly
3daefc23de build prismarine-viewer locally which should increase install speed 2023-09-04 10:46:53 +03:00
Vitaly
3bf2b28584 fix sw error, cache mc-data 2023-09-04 07:51:28 +03:00
Vitaly
7f7ff2c3ea speed preparedata 2023-09-03 18:41:44 +03:00
Vitaly
d6824aad2e do not bundle large assets package, cleanup esbuildPlugins 2023-09-03 17:27:20 +03:00
Vitaly
0406f48b19 cleanup preparedata 2023-09-03 09:21:34 +03:00
Vitaly
ac0170b146 download minecraft-data on demand 2023-09-03 09:21:34 +03:00
Vitaly
ad0b545301 copy only entity textures, inline others! it reduces copy time and deploy size 2023-08-30 10:53:58 +03:00
Vitaly
9c403f9a12 use custom mc loader to drop a few mb of bundle & allow to specify allowlist for faster dev builds (will be cached in future) 2023-08-30 10:43:21 +03:00
Vitaly Turovsky
e4c2e2ce28 small logging of bundled json size :/ 2023-08-29 07:48:39 +03:00
Vitaly
02a97388ed skip subsequent package patches 2023-08-28 06:48:46 +03:00
Vitaly
fc7869000e move building to esbuild
change public to dist
2023-08-28 06:37:57 +03:00
Vitaly
b2cc868e76 manually craft sw to allow singleplayer fully offline! 2023-08-19 04:26:24 +03:00
Vitaly
eef811438d start migrating to new options storage api 2023-08-18 02:47:08 +03:00
Vitaly
0b2191a63d implement singleplayer (not the best way & buggy) 2023-08-17 04:20:55 +03:00