Commit graph

1,997 commits

Author SHA1 Message Date
Vitaly
aa58d05d77 display sync error as well! 2023-09-04 08:10:20 +03:00
Vitaly
327504a19d upstream fork changes 2023-09-04 07:57:59 +03:00
Vitaly
360ed68d98 singlePlayerServer -> localServer (intention: will allow other players to connect soon) 2023-09-04 07:57:23 +03:00
Vitaly
2244e1781c dispose world on exit (that should finally allow clean exit) 2023-09-04 07:55:22 +03:00
Vitaly
babf7aecb9 controls: use ctrl only as activation to match original game behavior 2023-09-04 07:52:26 +03:00
Vitaly
3bf2b28584 fix sw error, cache mc-data 2023-09-04 07:51:28 +03:00
Vitaly
ce6e02ed1f refactor controls to use contro-max!
it allows to use between mobile keyboard & gamepad consistently!
fixed double jump!
2023-09-04 07:39:16 +03:00
Vitaly
091ccaf45e fix always showing mobile inventory button 2023-09-03 18:42:29 +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
ee67e852cf add singleplayer explainer a few load steps 2023-09-03 13:20:26 +03:00
Vitaly
b396d3f832 add firefox attach config that I don't use 2023-09-03 13:19:47 +03:00
Vitaly
cfb04a1f54 fix inventory & hotbar crash on unknown itme 2023-09-03 13:19:20 +03:00
Vitaly
2f11aebd8c try to fix with css loading with webpack + new space-squid esbuild require 2023-09-03 10:04:26 +03:00
Vitaly
0406f48b19 cleanup preparedata 2023-09-03 09:21:34 +03:00
Vitaly
3a87bc4e09 add eruda 2023-09-03 09:21:34 +03:00
Vitaly
e2bb768f3e refactor to utils for fixes 2023-09-03 09:21:34 +03:00
Vitaly
a228e1cc99 allow to load worlf from ?map= qs url 2023-09-03 09:21:34 +03:00
Vitaly
ac0170b146 download minecraft-data on demand 2023-09-03 09:21:34 +03:00
Vitaly
ce7ddd58b4 fix dragndrop files in firefox and / action 2023-09-02 02:33:03 +03:00
Vitaly
f166de5c81 vercel: get correct env 2023-09-01 08:55:03 +03:00
Vitaly
dabbadff06 oops fix prevuilt target 2023-09-01 08:35:08 +03:00
Vitaly
82e5a93211 test vercel preview deploys on ci 2023-09-01 07:51:16 +03:00
Vitaly
318847186b
important keyboard & usability fixes (#13) 2023-09-01 07:31:24 +03:00
Vitaly
64d585b309 fix all known annoying mis-keyboard reaction! fix annoying slow creative flying speed (also can be controlled via window for now) 2023-09-01 07:23:09 +03:00
Vitaly
8430481e05 feat(setting): auto exit fullscreen on esc 2023-09-01 07:21:23 +03:00
Vitaly
e81c529df8 change back for some settings
dont wait for fullscreen to not delay request pointerlock timings (bug that led to securityError)
2023-09-01 07:18:20 +03:00
Vitaly
61360b0a2c
Want to release asap. New inventory! (#12) 2023-08-31 19:47:06 +03:00
Vitaly Turovsky
6110af4b06 fix critical gameLoaded bug 2023-08-31 19:41:43 +03:00
Vitaly
f695cb417c inventory support with sprites (only multiplayer fully supported for now)! true block rendering!
add iphone x notch workarounds
2023-08-31 19:33:33 +03:00
Vitaly
5a8608894a fix ui zoom on ctrl+w + wheel scroll 2023-08-31 18:46:58 +03:00
Vitaly
c53ba9bed7 make process of world loading less annoying, more configurable
FIX server version select!
2023-08-31 02:06:18 +03:00
Vitaly
98537fa00e fix annoying keyboard conflicts (ctrl+s, l) 2023-08-30 23:26:01 +03:00
Vitaly
abb6b06b53
next release preparing (#10) 2023-08-30 12:31:57 +03:00
Vitaly
a7ab42e6d2 singleplayer saves: fix loading player data from level.dat (todo: not saving for now)
respect superflat world generation
1.8 superflat saves tested: seems stable!
2023-08-30 12:20:29 +03:00
Vitaly
bb4ce86964 almost fix annoying key controls issue 2023-08-30 12:15:04 +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
01c56388a5 add a way to reset world when loading errored or disconnected 2023-08-30 10:07:03 +03:00
Vitaly
8b48e4b80b first inventory work on servers (left click support for now)
allow to override local username
next: support level.dat player data
2023-08-29 15:40:46 +03:00
Vitaly
0d60579ebc implement /save and /export commands to export singleplayer worlds!
- remove warnings
2023-08-29 15:32:51 +03:00
Vitaly Turovsky
0aa9e75819 feat: world loading on ios (support zip files)! 2023-08-29 10:26:09 +03:00
Vitaly Turovsky
04f63b467a fix chat on mobile 2023-08-29 09:20:23 +03:00
Vitaly Turovsky
a98fa719ac fix: do not mutate localServerOptions 2023-08-29 07:54:50 +03:00
Vitaly Turovsky
e4c2e2ce28 small logging of bundled json size :/ 2023-08-29 07:48:39 +03:00
Vitaly Turovsky
2190ddcb6f experimental dragndrop save world handle 2023-08-29 06:24:51 +03:00
Vitaly Turovsky
3beba2e65b fix reload text 2023-08-29 06:23:08 +03:00
Vitaly Turovsky
728fd4c006 important: fix build for safari (transpile to es2020) 2023-08-29 06:02:14 +03:00
Vitaly Turovsky
eaa48d7860 improve esbuild config: report reload time into console! 2023-08-29 06:01:50 +03:00
Vitaly Turovsky
099c0ebaf0 variable renames 2023-08-29 05:21:07 +03:00