Commit graph

246 commits

Author SHA1 Message Date
Vitaly
7aa91d2f06 feat: new pretty accurate items in hotbar renderer! Almost all plain items are now rendered correctly (even between versions)
feat: now almost all containers are supported. Added support for crafting & chests
fix: fix some rendering issues in inventory
2023-10-25 07:49:52 +03:00
Vitaly
249a4ce1f8 fix: hide mobile controls on gamepad input 2023-10-24 23:58:53 +03:00
Vitaly
945cbb170d fix(ios): sometimes window dimensions dind't update properly after orientation change in standalone mode 2023-10-24 17:41:17 +03:00
Vitaly
c6c62b3d2d add a way to load less assets with option 2023-10-23 02:45:34 +03:00
Vitaly
a72ca11a0e refactor: split AppStatus into components
fix: change top-level options buttons order
2023-10-23 02:42:33 +03:00
Vitaly
18cb138715 /userData -> /data path for indexeddb 2023-10-20 18:52:31 +03:00
Vitaly
ac6897c71d feat: reset all settings button in options 2023-10-20 18:52:31 +03:00
Vitaly
3306d64796 rm unknown log 2023-10-19 22:56:59 +03:00
Vitaly
54d2c0ce8c move controls things from index.ts 2023-10-19 19:20:47 +03:00
Vitaly
30c65f8943 fix: fix edge load cases when fs was not ready yet by delaying main menu display 2023-10-19 19:14:43 +03:00
Vitaly
c30644b9a9 fix(regression): escape should work in fullscreen (lock) 2023-10-17 23:30:03 +03:00
Vitaly
a94d152849 fix tsc! 2023-10-17 23:19:12 +03:00
Vitaly
68d0bc363c many performance & regression fixes
fix: fix too bad performance in generated singleplayer worlds by disabling auto-save feature! Now saving on disconnect click & window focus blur! When opening folders in write-mode there is still 1s auto-save interval though
2023-10-17 23:08:55 +03:00
Vitaly
81f300a860 fix: make default render distance = 2 (mainly for mobile) as not rendering performance is not fixed yet 2023-10-17 21:48:23 +03:00
Vitaly
a68e13fef7 fix: be less annoying when loading save that have major version support
fix: informative errors when drag n dropped unknown content
2023-10-17 15:21:50 +03:00
Vitaly
83f7aee586 another fix for correct view distance in p-viewer
emit error when resourecpack size exceeds browser limit
worker models: improve perf when loading big number of chunks (still not ideal, should be a setting I think as I like more prev behavior)
2023-10-16 20:25:33 +03:00
Vitaly
038137940a improve resourcepack support 2023-10-16 20:22:02 +03:00
Vitaly
819a436fa0 refactor options 2023-10-16 20:20:52 +03:00
Vitaly
4213eb4028 fix: wheel button press selects correct item from lookin block 2023-10-16 16:28:12 +03:00
Vitaly Turovsky
2492ee27b4 regression: restore using viewport dimensions! 2023-10-15 19:56:55 +03:00
Vitaly Turovsky
1844640a9c commit missing files (TODO spec fixups) 2023-10-15 19:48:34 +03:00
Vitaly Turovsky
ce8920a6e7 add dive, fix eslint 2023-10-15 19:43:39 +03:00
Vitaly Turovsky
0a4cba33b1 add padding for mobile buttons to be more convenient on the phone 2023-10-14 03:40:56 +03:00
Vitaly Turovsky
b26773ca01 fix display disconnect screen 2023-10-13 20:30:22 +03:00
Vitaly Turovsky
89ad54ba95 fix(ios): didn't correctly update render canvas size on orientation change on some ios versions 2023-10-13 20:21:46 +03:00
Vitaly Turovsky
4202a39857 iphone ui improvements 2023-10-13 20:07:11 +03:00
Vitaly Turovsky
cfdd84eee9 refactor loading error screen to AppStatus (react) to include transitions
better loading status
cleanup components
2023-10-13 18:52:25 +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 Turovsky
803b5d2b98 refactor stats, make them dense in prod
TODO remove averageCpu as it seems to be useless
2023-10-11 16:24:31 +03:00
Vitaly Turovsky
f11a571e76 dont import screen 2023-10-10 21:05:02 +03:00
Vitaly Turovsky
ff476c05e4 make buttons slightly bigger on mobile 2023-10-10 21:04:39 +03:00
Vitaly Turovsky
cea9c17323 add screen component 2023-10-10 20:56:37 +03:00
Vitaly Turovsky
60b3c0c529 add MessageFormattedString, loadedDataVersion state 2023-10-10 18:03:23 +03:00
Vitaly Turovsky
2fcb353c3e lint space-before-function-paren, remove not used scripts in viewer 2023-10-10 17:08:30 +03:00
Vitaly Turovsky
d77484c966 add storybook & react button component, refactor styles a bit
fix death screen was on top of other screens
2023-10-10 17:06:23 +03:00
Vitaly Turovsky
9f4debae48 fix: fix disconnect after death screen 2023-10-10 13:24:31 +03:00
Vitaly
999e9f38d4 fix: don't display survival hud in spectator (note that spectator fly is not supported yet) 2023-10-08 21:57:20 +03:00
Vitaly Turovsky
1d4e0955c4 feat: toggle chunk section border visibility by f3+g 2023-10-08 21:32:43 +03:00
Vitaly Turovsky
2c47214b07 version input: replace , with . 2023-10-08 11:09:10 +03:00
Vitaly Turovsky
31160b194b fix(ios): camera control is frozen after system gestures 2023-10-08 02:19:02 +03:00
Vitaly
ae55b895cb fix(tab-complete): improve word matching! 2023-10-07 11:21:18 +03:00
Vitaly
60934372af feat: signs rendering support!
feat: shulker box rendering support
chore: minor improvements
2023-10-07 11:17:29 +03:00
Vitaly
3794ec3051 worldView -> worldDataEmitter, remove emitter, also emit blockEntities 2023-10-06 06:51:45 +03:00
Vitaly
30099a0bd8 fix eslint 2023-10-05 12:05:29 +03:00
Vitaly
bb31aac1dd fix(texturepack): do not make missing textures smaller as they would render incorrectly 2023-10-05 12:04:58 +03:00
Vitaly
a200c6da47 test publishing playground to vercel 2023-10-04 13:29:31 +03:00
Vitaly
f6fbb9651f fix: load textures earlier, speeds worlds loading. Remove initial timeout. 2023-10-04 10:47:49 +03:00
Vitaly
1d77887a2d fix(regression): display actual connection error reason 2023-10-02 15:20:22 +03:00
Vitaly
5a0be6eb11 dont crash on reconnect after disconnect 2023-09-30 13:48:56 +03:00
Vitaly
d135da00a7 updateTime -> dayCycle 2023-09-30 13:48:55 +03:00