Vitaly
6e1eb77a5f
fix showing the loading screen + refactor
2023-09-19 16:21:13 +03:00
Vitaly
c135855095
NEW escape stack management! Super scalable impl that shouldnt have bugs at all! (already debugged some)
...
remove displayScreen in favor of new fns
2023-09-19 16:21:13 +03:00
Vitaly
f1f95af918
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-09-19 16:21:13 +03:00
Vitaly
fa5f8568c6
load click sound on page load
...
as bonus resources num in devtools is more realistic right after page load
2023-09-19 16:21:13 +03:00
Vitaly
cdbb551a78
make all inputs user-friendly. add server history autocomplete (temporary solution)
2023-09-19 16:21:13 +03:00
Vitaly
e1b1938210
some basic type-checking change start script
2023-09-19 16:21:13 +03:00
Vitaly
45ea9aed19
minor fixes...
2023-09-19 16:21:13 +03:00
Vitaly
6f02c10483
actually commit mouse raw input impl
2023-09-19 16:21:13 +03:00
Vitaly
5bef43031f
[pick pr] display user gpu in debug overlay. Useful for laptops with iGPU and a dedicated one
2023-09-19 16:21:13 +03:00
Vitaly
c56c98f501
[pick pr?] fix some bugs?
2023-09-19 16:21:13 +03:00
Vitaly
ddf5315108
[pick pr] [wip] mouse raw input. Doesn't work for now for some reason :(
2023-09-19 16:21:13 +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
KalmeMarq
5b6fcee7f6
connect using url params ( #285 )
...
* connect using url params
* lint
2022-03-08 15:46:50 +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
ed011b07fd
UI reorganized and options ( #257 )
...
* added readme pt-pt
* ui reorganized, keybinds, foodbar, panorama, etc
2021-12-24 13:00:07 +01:00
PondWader
ead3527d2a
Fix bug of being able to access slots outside of the 1-9 range ( #238 )
2021-11-07 14:45:08 +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
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
AwesomestCode
fc6e2a6739
fix unnecessary ellipses ( #177 )
2021-04-04 16:43:43 +02:00
ShrimpyStuff
e0a8481954
Make user stop moving when the player isn't on the tab ( #173 )
2021-04-03 15:03:02 -04:00
Kalme
c54909390c
Make login menu more like minecraft ( #166 )
2021-04-02 00:09:07 +02:00
Karang
7dcffada09
Important math stuff ( #168 )
2021-04-01 12:24:26 +02:00
ShrimpyStuff
d7e12c40c4
Kick/End/Err messages on loading screen ( #157 )
2021-03-28 22:34:58 +02:00
Karang
0506f5a70d
Fix dig/place logic ( #148 )
2021-03-24 02:23:02 +01:00
Romain Beaumont
1c1a66c57a
Fix infinite loop on click with button 1 ( #147 )
2021-03-23 23:26:21 +01:00
Romain Beaumont
c590215525
implement keep digging/placing feature ( #137 )
2021-03-22 02:13:58 +01:00
Romain Beaumont
386a1f8b59
add back touchend without preventDefault
2021-03-22 01:28:26 +01:00
Karang
46d7c53012
Fix vr button for android
2021-03-22 01:24:52 +01:00
Karang
119fb046a6
Add basic vr ( #134 )
2021-03-21 23:13:32 +01:00
AwesomestCode
cec8f176f1
Break animation ( #124 )
...
* add base functions
* Add block breaking animation
* Fix async bug and auto-detect version
2021-03-21 16:04:22 +01:00
Romain Beaumont
c40b00ab5c
add service worker for PWA
2021-03-21 01:54:10 +00:00
Romain Beaumont
941ef765b1
prevent scrolling on mobile
2021-03-21 00:57:54 +00:00
Romain Beaumont
7ec6a25474
prevent default on touch
...
make it impossible to scroll on mobile
2021-03-21 00:38:10 +00:00
Romain Beaumont
247f7d4eec
implement touch to move for mobile
2021-03-21 00:32:46 +00:00
Karang
99b0585551
Add blured title panorama
2021-03-20 16:12:20 +01:00
Petr Melentev
52df0ee8cf
adjustable mouse sensitivity added ( #118 )
2021-03-19 11:01:37 +01:00
Karang
6a8d77bbab
Expose renderer and add title.jpg
2021-03-18 08:29:12 +01:00
Moondarker
eb08d3720b
Added block name and properties, also hp and food till #85 is done ( #114 )
2021-03-18 03:22:41 +01:00
Romain Beaumont
7ad999d64e
use litelement properly for debugmenu ( #110 )
...
* use litelement properly for debugmenu
* add customEntries to debugMenu
* add bot on move listener to update when view is moved
2021-03-17 00:00:26 +01:00
Romain Beaumont
7300456fc9
improve debug menu a bit
...
don't update when hidden
2021-03-16 21:43:50 +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
u9g
bf18172805
make func for repeating code ( #102 )
...
* make func for repeating code
* Update index.js
2021-03-15 16:20:42 +01:00
Moondarker
116b78f3e7
Player list added ( #94 )
...
* Player list added
* Using JavaScript Standard Style
2021-03-15 01:55:23 +01:00
AwesomestCode
b39dc5b980
Add cursor ( #93 )
...
* Add cursor
Co-authored-by: Karang <karang.1977472@users.noreply.github.com>
* add canDig check
* Hide when not valid block
Co-authored-by: Karang <karang.1977472@users.noreply.github.com>
2021-03-15 01:20:58 +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
Romain Beaumont
f0294abf9e
fix digit button for hotbar
2021-03-14 19:49:49 +01:00
Romain Beaumont
77fa0ee0cd
move hotbar to web component ( #89 )
2021-03-14 19:33:41 +01:00
Romain Beaumont
4efff81a6a
move loading screen to component ( #86 )
2021-03-14 18:24:09 +01:00