Commit graph

1,997 commits

Author SHA1 Message Date
Vitaly
63e46dcc85 inventory.ts -> playerWindows.ts 2023-10-25 07:53:16 +03:00
Vitaly
97572a0b14 fix: sometimes break mesh wasn't displayed at all
fix: fix break mesh desync issues by not allowing to dig in mid-air
2023-10-25 07:51:06 +03:00
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
260558b26e refactor atlas to allow creating of other atlases (not only for blocks) 2023-10-20 18:52:31 +03:00
Vitaly Turovsky
acb5cc518c playground improvements: pre flatenning props support, render only one chunk 2023-10-20 03:18:02 +03:00
Vitaly
381209b3f6 fix: fix block states display for 1.13-1.15!
fix: fix offline loading most worlds for 1.13-1.17
2023-10-20 02:32:14 +03:00
Vitaly Turovsky
3c05774680 add playground page that I was using for testing various things (eg textures)
open: http://localhost:5173/texture-render.html
2023-10-20 01:58:42 +03:00
Vitaly
a7e58dfc10 add playground tasks 2023-10-20 00:49:49 +03:00
Vitaly
798f67f754 fix: workaround sign rendering for old mc versions 2023-10-19 23:59:41 +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
a1fc898f2e
A lot of IOS improvements! (#33) v0.1.17 2023-10-17 23:33:33 +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
a0ddf1c08b add playgrounds link 2023-10-10 21:09:23 +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
0ede4861dc retry join to server test for now 2023-10-10 18:17:18 +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
ad7d53c595 Revert "also typecheck viewer!"
This reverts commit d996c9fa24.
2023-10-10 15:33:24 +03:00
Vitaly
280607c775 add storybook-bg 2023-10-10 15:28:17 +03:00
Vitaly Turovsky
d996c9fa24 also typecheck viewer! 2023-10-10 13:30:35 +03:00
Vitaly Turovsky
4356c0169d improve viewport meta for iphones 2023-10-10 13:30:13 +03:00