Commit graph

67 commits

Author SHA1 Message Date
Vitaly Turovsky
95163fb288 update page description and tech 2025-04-27 11:19:29 +03:00
Vitaly
b8b1320258
feat: single file build! (#181) 2025-03-11 23:58:52 +03:00
Vitaly Turovsky
d5cc6d325e just casually doing a major client rename 2025-03-11 19:21:41 +03:00
Vitaly Turovsky
a268c69879 feat: rework atlas packing so now almost any resourepack with different tile sizes can be used 2025-02-21 20:15:38 +03:00
Vitaly
e2ee1ff133
Fix setting of lastError to avoid false spam into console 2025-02-12 16:06:43 +03:00
Vitaly Turovsky
d05898ab1c display stack on app crash, more advanced logic on app refresh 2025-02-11 15:51:56 +03:00
Vitaly Turovsky
900bcb0b56 fix: don't crash and conflict with g663 spyware installed 2024-10-30 07:02:33 +03:00
Vitaly Turovsky
a9d2104dbf fix: Force disable dark reader as it was making the crosshair (reticle) black 2024-09-04 19:14:09 +03:00
Vitaly Turovsky
c680c6a7d1 fix Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'. 2024-08-05 19:05:24 +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 Turovsky
216b1712c2 more basic tests. test joining to a local java vanilla server, movement! 2024-06-13 19:47:48 +03:00
Vitaly
def2baba8f rm unused pmui-playscreen 2024-05-28 18:52:15 +03:00
Vitaly
0886af9b05
feat: Migrate HUD to React, new hotbar and bars (#107) 2024-04-20 17:38:23 +03:00
Vitaly Turovsky
cff438921d feat: update favicon 2024-03-18 05:40:51 +03:00
Vitaly Turovsky
5b0224a52c try to avoid weird object error crash 2024-02-19 15:46:02 +03:00
Vitaly
34d61bc4f9 fix: gracefully display load errors! 2024-02-19 01:09:01 +03:00
Vitaly Turovsky
ca08e73b07 fix safari load breakage 2024-02-08 23:30:39 +03:00
Vitaly
0d4023981d feat: add app loading screen & banner 2024-02-06 06:22:18 +03:00
Vitaly
da0f53301f
Merge branch 'main' into next 2024-01-04 05:22:03 +05:30
Vitaly
41ea0517fd fix: don't crash when R is pressed after not-first successful connect 2024-01-01 18:35:54 +05:30
Vitaly
1ba82a26ab add canonical to use mcraft.fun as main domain for google search. it would reset all scores & index to 0 sadly 2023-12-17 22:48:16 +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 Turovsky
4202a39857 iphone ui improvements 2023-10-13 20:07:11 +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
4356c0169d improve viewport meta for iphones 2023-10-10 13:30:13 +03:00
Vitaly
14a9a2bf18
a few fixes (#20)
fix: ios improvements: always display full ui & no magnifier on double tap anymore
fix: regression: connect to p2p peers
2023-09-19 03:18:01 +03:00
Vitaly Turovsky
e0663fed8c adjust seo a bit 2023-09-14 19:04:56 +03:00
Vitaly Turovsky
5f1b5b9834 improve eruda check & sw index.html 2023-09-04 15:56:58 +03:00
Vitaly
568ca7cf23 add a way to always init eruda 2023-09-04 10:50:17 +03:00
Vitaly
fc7869000e move building to esbuild
change public to dist
2023-08-28 06:37:57 +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
692ec89d9b refactor chat providing scalability and more precise text rendering
fix reconnect qs removal
2023-08-15 19:51:57 +03:00
Vitaly
b0b3279d5b experimental way to handle reconnect without page reload, which doesn't work only when player is joined (though R should work!) 2023-08-12 20:55:55 +03:00
Vitaly
0d643be5a9 add new components to html 2023-08-12 04:03:34 +03:00
extremeheat
c0d9ee982a
fix URI (#340) 2023-04-06 09:22:15 +02:00
KalmeMarq
5b6fcee7f6
connect using url params (#285)
* connect using url params

* lint
2022-03-08 15:46:50 +01:00
KalmeMarq
ed011b07fd
UI reorganized and options (#257)
* added readme pt-pt

* ui reorganized, keybinds, foodbar, panorama, etc
2021-12-24 13:00:07 +01:00
Alexander Ivanov
74ec5feae0
Add health bar (#223)
* Create healthbar.js

* Hardcore/Creative mode support

* Actually add healthbar
2021-10-26 10:23:28 +02:00
PondWader
edec62a20f
Adding Game Menu (#179)
* Fixed Chat Glitch

Fixed an annoying glitch where when you click you are locked out of chat. Makes chat smoother to use

* Added Game Menu

Added a game menu for when player presses escape.
NOTE: Player must be out of mouse lock for this to register (so often requires double pressing of escape).

* Block open chat when in game menu

* Linted + removed alert

* Linted
2021-04-06 13:31:02 +02:00
dada513
accabc8629
Made theme color more prismarine-ish (#141)
* Updated manifest for PWA

* Made theme color more prismarine-ish
2021-03-22 09:14:54 +01:00
Romain Beaumont
c40b00ab5c add service worker for PWA 2021-03-21 01:54:10 +00:00
Romain Beaumont
9b8481e4a7 add more metadata 2021-03-21 01:31:45 +00:00
Romain Beaumont
542033952d add png favicon, og meta and manifest 2021-03-21 01:21:44 +00:00
Romain Beaumont
807ce65b89 no zooming, fix #119 2021-03-20 23:58:31 +00:00
Moondarker
7c9b954d35
Added debug menu (#107)
* Added debug menu

* Replaced overkill string id generation with incremental integers
2021-03-16 20:41:54 +01:00
Moondarker
116b78f3e7
Player list added (#94)
* Player list added

* Using JavaScript Standard Style
2021-03-15 01:55:23 +01:00
Romain Beaumont
19a2da8fa8 put crosshair in webcomponent 2021-03-14 20:48:01 +00:00
Romain Beaumont
cc1a14ea4b
move chat to web component (#91) 2021-03-14 20:34:35 +01:00
Karang
267afce9db Use item atlas 2021-03-14 19:57:29 +01:00
Romain Beaumont
77fa0ee0cd
move hotbar to web component (#89) 2021-03-14 19:33:41 +01:00