Commit graph

296 commits

Author SHA1 Message Date
Vitaly
5f10b60bf6 feat(mobile): add F3 additional action by holding the F3 button 2023-11-11 21:38:50 +03:00
Vitaly
3b244802e0 fix: screens were not scrollable in chrome android 2023-11-11 12:33:49 +03:00
Vitaly
3cb029808d fix: sometimes death screen were not displayed on relogin & world change 2023-11-11 12:24:17 +03:00
Vitaly
108be2aa5e up flying-squid 2023-11-11 12:23:58 +03:00
Vitaly
71f13df0bb add vr option menu for future 2023-11-11 12:04:22 +03:00
Vitaly
5a738f4a48 feat(debug-overlay): print packets debug info
feat: add options.debugLogNotFrequentPackets & debugTopPackets
2023-11-11 12:04:13 +03:00
Vitaly
ebeffe2325 click vr button without pointer lock 2023-11-11 10:40:46 +03:00
Vitaly
55316ae6bc fix singleplayer?=1 should not save data 2023-11-11 10:02:02 +03:00
Vitaly
5e788e0fa0 fix: fix rendering issues with water by correctly specifying render order
fix: show chunks border now works without chunks reload
2023-11-11 09:53:27 +03:00
Vitaly
5254c7508a vr: disable stepHeight (auto-step) as it seems not the same as auto-jump (important on servers) 2023-11-10 16:53:09 +03:00
Vitaly
c46ba02ca1 full vr gamepads support! also make it possible to play with keyboard / external gamepad 2023-11-10 16:38:37 +03:00
Vitaly
c36d42e5d5 feat: display fullscreen button on android devices 2023-11-10 12:48:55 +03:00
Vitaly
2bd3307199 fix: normal mode was unplayable when webxr was available
fix: in vr mode performance was degraded since every frame was rendered twice
fix: enter vr is now displayed propertly on mobile devices
2023-11-10 12:25:39 +03:00
Vitaly
df6ed989d0 feat: add debugSceneChunks and debugChangedOptions global variables that available via browser console
fix: reset all options sometimes didn't work (don't mutate default options)
2023-11-10 12:21:19 +03:00
Vitaly
3b4d5e04b8 fix: minimal value of settings by default is now 0 which is important for sound
fix: don't start audiocontext when muted, so browser don't try to take exclusive control over sound output device when it's busy in super advanced setups
2023-11-10 11:13:58 +03:00
Vitaly Turovsky
4248b38e86 hotfix: don't crash singleplayer screen when save has no LevelName 2023-11-05 07:53:00 +03:00
Vitaly Turovsky
9e152d902c feat: now render distance of singleplayer & multiplayer mode saved & read independently 2023-11-05 07:09:05 +03:00
Vitaly Turovsky
35574bafd2 fix: death screen was broken
fix: rare crash when spawn was received before player data
fix: sometimes signs were not displayed in latest versions
2023-11-05 06:27:36 +03:00
Vitaly Turovsky
541c4e740f don't typecheck flying-squid/src as we should use generated types only 2023-11-05 05:40:03 +03:00
Vitaly Turovsky
20faa63051 fix varios flying squid types 2023-11-05 05:39:03 +03:00
Vitaly Turovsky
2d4f7312c6 minor build fixes 2023-11-04 11:50:18 +03:00
Vitaly Turovsky
d10d7ab7cc feat: basic support for items with custom names 2023-11-04 10:58:06 +03:00
Vitaly Turovsky
89676fe8f9 use ts linked version of flying squid 2023-11-04 10:57:00 +03:00
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
733ff0518a feat: add j keybind for selecting item (temporary solution) 2023-11-04 08:46:31 +03:00
Vitaly Turovsky
e8c84769b3 fix: chat & debug overlay are now not clipped on iphone x 2023-11-04 07:57:52 +03:00
Vitaly Turovsky
9e1bc42336 fix: couldn't create worlds in safari < 17 (below ios 17) 2023-11-04 07:22:34 +03:00
Vitaly Turovsky
fadbd7eb22 feat: allow to change opacity & position of touch buttons
fix: touch buttons don't overflow other menus
fix: make top touch buttons prettier & bigger a bit
2023-11-04 07:01:56 +03:00
Vitaly
e6fa20c427 make tsc happy with null checks 2023-11-02 07:24:39 +03:00
Vitaly
ea5dbb316c panorama to ts, suppress some errors in models, make viewer always defined 2023-11-02 07:19:20 +03:00
Vitaly
d546fa8f41 enable strict null types which improves quality of codebase a lot!
todo add types to worker & world renderer
2023-11-01 03:07:07 +03:00
Vitaly Turovsky
faadc1500d fix: remove /reset-world -y command that could be invoked by typing any character that it consists of (now you can remove worlds from singleplayer menu instead) 2023-11-01 01:44:56 +03:00
Vitaly Turovsky
843c1a016b don't mutate default server options! 2023-11-01 01:44:56 +03:00
Vitaly Turovsky
415a9bf4d6 hotfix: sometimes main menu was crashing 2023-10-28 06:20:18 +03:00
Vitaly Turovsky
0531038633 flying initial control state fixes 2023-10-28 05:18:00 +03:00
Vitaly Turovsky
37493f7469 disable world options for now, fix map provider action 2023-10-28 04:55:03 +03:00
Vitaly Turovsky
800e10eb6d fix: fix morning and evening phases of day cycle, make it disableable for now 2023-10-28 03:00:03 +03:00
Vitaly Turovsky
b0d98add20 main menu tooltip fixes
gen items faster when folder already exist
2023-10-28 02:39:45 +03:00
Vitaly Turovsky
69d56b655f workaround for loading from downloaded file 2023-10-27 22:55:54 +03:00
Vitaly Turovsky
2dc20696e1 feat: add first time tooltips to main menu 2023-10-27 22:55:37 +03:00
Vitaly
b72fb79972 feat: sync flying state with the server! handle abilities event in both dir
however flying speed still is not in sync
2023-10-27 20:41:41 +03:00
Vitaly
79b70df040 wait for all images for hotbar to load 2023-10-27 20:37:28 +03:00
Vitaly
e7adabf50b feat(experimental): add maps provider 2023-10-27 20:37:09 +03:00
Vitaly
52c5777ebd fix(singleplayer): write player data into level.dat which is required for singleplayer vanilla 2023-10-27 10:10:14 +03:00
Vitaly
0c85320d82 a bunch of mobile fixes
fix(singleplayer): fix issues were void and water-only worlds couldnt' be loaded because server were unable to find spawn point
2023-10-27 08:17:08 +03:00
Vitaly
b199b2e6d8 feat: new singleplayer menu! Now migrated to IndexedDB storage:
- now you can store multiple different worlds and export them for native client at any time
- almost unlimited storage limit
- world auto save now works
- can configure world type
fix: texturepack should be applied when opening folders
feat(world-options): can now save worlds downloaded from url to browser storage (useful for ios, otherwise use folders)
feat: added new export method: directly to folder on the drive (which is faster) - available from main menu
fix: now 'singleplayer' qs opens temporary world which is not saved and 'loadSave' opens save with specific folder name
2023-10-26 04:26:58 +03:00
Vitaly
ee2a911473 fix(singleplayer): cancel dig on cursor block change 2023-10-26 01:15:54 +03:00
Vitaly
10667c9c7d blockInteraction -> worldInteractions 2023-10-25 07:54:17 +03:00
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