Commit graph

81 commits

Author SHA1 Message Date
Vitaly
9227ccc7d6 first real cypress test, try on ci
remove refs to unimplemented components for now
2023-08-17 05:35:29 +03:00
Vitaly
b360757331 improve touch support 2023-08-17 04:50:57 +03:00
Vitaly
65734807f8 fix unknown biom f3 crash 2023-08-17 04:21:13 +03:00
Vitaly
0b2191a63d implement singleplayer (not the best way & buggy) 2023-08-17 04:20:55 +03:00
Vitaly
01b3291808 improve error page add guessed problem 2023-08-16 00:52:48 +03:00
Vitaly
c221c003ff remove uneeded removal of reconnect :/ 2023-08-15 19:55:11 +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
9451c266ef fix hud init & build should be fixed 2023-08-15 01:38:52 +03:00
Vitaly
ee75eeab2d experimental singleplayer support 2023-08-12 22:24:10 +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
6805c74b8d add proxy note, improve inputs on mobile & desktop
dont crash on block placement error
2023-08-12 17:49:25 +03:00
Vitaly
26135510ea mostly fix bad performance of mouse move (still work to do)
Implement Frame Limit.
fix boolean settings, refactor pointerlock, making it cleaner
2023-08-12 03:30:10 +03:00
Vitaly
4d349bf8ea commit missing files in order to fix build 2023-08-11 19:07:23 +03:00
Vitaly
631bf20b20 feat: manage pointerLock api cleanly introduce fullscreen modes and new settings (also refactor them)
fix: apply gui scale after release
camera move broken for now...
2023-08-11 15:58:22 +03:00
Vitaly
a716e58e26 feat: change fov from options & always show disabled options 2023-08-11 12:08:02 +03:00
Vitaly
6b7c1353b0 include actual github repo when used on github repo 2023-08-11 04:21:41 +03:00
Vitaly
797bd06a1d NEW escape stack management! Super scalable impl that shouldnt have bugs at all! (already debugged some)
remove displayScreen in favor of new fns
2023-08-11 04:19:12 +03:00
Vitaly
e958d015e9 feat: allow to pass connect config in search params and auto reconnect for faster development!
remove old impl, which was duplicating & bloading code a didnt allow to particially pass data to join screen such as username
2023-08-11 01:16:25 +03:00
Vitaly
d0ddd45df7 [fixup] make all inputs mobile-friendly 2023-08-10 23:59:42 +03:00
Vitaly
5077327604 load click sound on page load
as bonus resources num in devtools is more realistic right after page load
2023-08-10 23:02:07 +03:00
Vitaly
fa258e22bc make all inputs user-friendly. add server history autocomplete (temporary solution) 2023-08-10 22:59:28 +03:00
Vitaly
1e503475be enable vr in chrome [openXR] (to be tested actually) 2023-08-09 20:58:53 +03:00
Vitaly
6570e34a0e dirt is boring... 2023-08-09 20:50:40 +03:00
Vitaly
1a0432dbea [pick pr] display user gpu in debug overlay. Useful for laptops with iGPU and a dedicated one 2023-08-09 19:36:06 +03:00
Vitaly
73ef18fdae [pick pr?] fix some bugs? 2023-08-09 19:34:09 +03:00
Vitaly
2e55b6398e [pick pr] [wip] mouse raw input. Doesn't work for now for some reason :( 2023-08-09 19:33:24 +03:00
Vitaly
e8dba7ed63 [pick pr] fix white strip on buttons 2023-08-09 17:16:46 +03:00
sverben
52c6d2a9ff
Add BossBars (#319)
* Add component

* Add preload function to hud (required for already existing BossBars)

* Remove useless debug log

* Display bars

* Values and colors

* Add dividers

* Add titles

* Remove ;

* Make titles smaller

* Delete BossBars

* Store the container

* Update code standard

* Move BossBars to components

* Proper use of LitElement

* Code style improvements

* init hotbar before player spawn, fixes hotbar not working when joining
2023-03-04 19:04:46 +01:00
Fury-101
172060d584
save all play screen options (#326)
* save all play screen options

* fixed semicolons

was hard to catch in nvim sorry
2022-09-30 19:34:35 +02:00
Keir Finlow-Bates
598d8dce61
Fix for #301 (#306)
Co-authored-by: Keir Finlow-Bates <keirfb@gmail.com>
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2022-05-21 23:18:42 +02:00
KalmeMarq
dd0c3f22d3
Hit entities (#277)
* added readme pt-pt

* added url/querystring deps and fix chat pos/scale

url and querystring were missing in node_modules.
chat scale option wasn't implemented and chat input was on top instead of bottom.

* added bot version text field and guiScale for small screens

text field to choose bot version. gui scale changes on small screens (slider takes no effect then). Removed unused images.

* Update index.js

* bot can now hit entities

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2022-02-13 18:57:47 +01:00
KalmeMarq
09ba027f9b
Fix chat messages (#272)
* added readme pt-pt

* added url/querystring deps and fix chat pos/scale

url and querystring were missing in node_modules.
chat scale option wasn't implemented and chat input was on top instead of bottom.

* added bot version text field and guiScale for small screens

text field to choose bot version. gui scale changes on small screens (slider takes no effect then). Removed unused images.

* Update index.js

* fix chat messages and chat on top on mobile

* npm fix

* fixed mcData var

* removed debug stuff and fixed color shadow

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2022-01-20 20:38:11 +01:00
mat
395b1395db Capitalize "Minecraft" in the bottom info 2022-01-17 10:07:58 -05:00
KalmeMarq
1b08956d10
Mobile controls (#262)
* added readme pt-pt

* added url/querystring deps and fix chat pos/scale

url and querystring were missing in node_modules.
chat scale option wasn't implemented and chat input was on top instead of bottom.

* added bot version text field and guiScale for small screens

text field to choose bot version. gui scale changes on small screens (slider takes no effect then). Removed unused images.

* added mobile controls

* fixed bot and chat

* mobile controls only appear on mobile or if forced

* lint fix
2021-12-25 22:50:40 +01:00
Romain Beaumont
8cbc95b5ef
Default version in config (#261)
* Update play_screen.js

* Update config.json
2021-12-24 21:20:08 +01:00
KalmeMarq
d087ed2846
added bot version text field, guiScale for small screens and removed unused images (#260)
* added readme pt-pt

* added url/querystring deps and fix chat pos/scale

url and querystring were missing in node_modules.
chat scale option wasn't implemented and chat input was on top instead of bottom.

* added bot version text field and guiScale for small screens

text field to choose bot version. gui scale changes on small screens (slider takes no effect then). Removed unused images.

* Update index.js

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-12-24 21:02:11 +01:00
KalmeMarq
5fe0807a25
Added url/querystring to deps and fixed chat (#259)
* added readme pt-pt

* added url/querystring deps and fix chat pos/scale

url and querystring were missing in node_modules.
chat scale option wasn't implemented and chat input was on top instead of bottom.
2021-12-24 17:28:38 +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
Romain Beaumont
1033404f91 migrate to lit 2021-11-12 21:08:49 +00:00
Pandapip1
180e1243c4
Makes chat auto fade away (and fixes CI) (#236) 2021-11-05 13:00:28 -04: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
u9g
fabf85e97b
Only show properties divider if there are properties (#197) 2021-06-17 21:08:48 -04:00
u9g
46bbf782f1
add wait before blocks placed (#160)
* Create util.js

* Update cursor.js

* Update util.js

* Delete util.js

* Done :)

* change comment placement

* Replaced with bot. with this.

* run standard

* pass bot to cursor constructor

Co-authored-by: AwesomestCode <53128754+AwesomestCode@users.noreply.github.com>
2021-04-12 22:25:41 +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
Kalme
c54909390c
Make login menu more like minecraft (#166) 2021-04-02 00:09:07 +02:00
Karang
b488cc4d3c Use blending in break material 2021-03-24 20:50:36 +01:00
Karang
0506f5a70d
Fix dig/place logic (#148) 2021-03-24 02:23:02 +01:00
Karang
46d7c53012 Fix vr button for android 2021-03-22 01:24:52 +01:00
Karang
953835536e Fix lint 2021-03-22 00:26:01 +01:00
Karang
ebf0fa0766
properly test if vr supported (#135) 2021-03-22 00:21:48 +01:00