Commit graph

21 commits

Author SHA1 Message Date
Vitaly
f96673bc17
rename prismarine-viewer dir to renderer to avoid confusion (#269) 2025-02-08 14:17:27 +03:00
gguio
af088d92e1
feat: minimap and full screen map (disabled by default) (#147) 2024-11-27 23:07:28 +03:00
Vitaly
d4f06aa1a4
lint prismarine-viewer & better ci checks (#171) 2024-08-06 03:20:38 +03:00
Vitaly
9b72cdb8f0
feat: migrate to mc-assets & Rsbuild better resource pack support (#164)
The complete migration from `minecraft-assets` to [`mc-assets`](https://npmjs.com/mc-assets).

Now all block states & block models are processed dynamically! So it is now easily possible to implement custom models

- no post-install work anymore: the building is now 3x faster and 4x faster in docker
- drop 10x total deploy size
- display world ~1.5x faster
- fix snow & repeater state parser (they didn't render correctly)

rsbuild pipeline!

- the initial app load is faster ~1.2
- much fewer requests are made & cached
- dev reloads are fast now

Resource pack changes:

- now textures are reloaded much more quickly on the fly
- add hotkey to quickly reload textures (for debugging) assigned to F3+T (open dev widget is now assigned to F3+Y)
- add a way to disable resource pack instead of uninstalling it
- items render from resource pack are now support
- resource pack widgets & icons are now supported
2024-07-26 13:12:28 +03:00
Vitaly
e129184ff1 fix tsc 2024-05-27 10:14:42 +03:00
Vitaly Turovsky
0d8beef65c feat: add gamemode selector in create world screen. always use creative with ?singleplayer=1 2024-05-26 18:58:46 +03:00
Vitaly
0acaa652a3 big worlds refactor with more scalable api, which allows hmr workers
fix: better free up ram after world unload & create meshers only when needed
feat: add low ram setting, which makes chunks load performance ~4x worse
2024-04-20 13:16:36 +03:00
Vitaly
c04c9cfdad
feat: implement Google Drive storage provider (#87) 2024-03-17 05:25:21 +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
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
ad7d53c595 Revert "also typecheck viewer!"
This reverts commit d996c9fa24.
2023-10-10 15:33:24 +03:00
Vitaly Turovsky
d996c9fa24 also typecheck viewer! 2023-10-10 13:30:35 +03:00
Vitaly
0db344a2f6 fix most annoying ts-js issue here I guess 2023-09-27 18:43:02 +03:00
Vitaly
7e0b7d79ae add typecheck to ci, always prepare data 2023-09-25 21:48:13 +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
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
58ae5608b8 [add react] feat: use @dimaka/controls to make controls on ios playable 2023-08-19 05:35:22 +03:00
Vitaly
d3b937c43b lib -> src, move all app files to src/
also rm test folder
2023-08-17 21:24:41 +03:00
Vitaly
289c048b51 build should be fixed 2023-08-12 20:56:34 +03:00
Vitaly
80806fe187 a bit better typechecking 2023-08-11 13:17:25 +03:00
Vitaly
8bbedef277 some basic type-checking change start script 2023-08-10 14:09:31 +03:00