Commit graph

59 commits

Author SHA1 Message Date
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
u9g
0d0cda3e17
check hand for item before dropping (#83)
prevents spam promise rejection in console when pressing q with empty hand
2021-03-14 12:23:24 +01:00
Romain Beaumont
f04b085183
replace prompt by menu (#75)
* replace prompt by menu

implemented with lit element
https://lit-element.polymer-project.org/

I think we should use more of lit element for
all html things

makes it easy to build modular things

* use require
2021-03-14 02:20:11 +01:00
u9g
b7ed63623a
Remove debug messages (#72) 2021-03-14 00:11:37 +01:00
Karang
09807e9ee6 Improve place block and add hotbar wheel selection 2021-03-13 13:51:13 +01:00
Karang
f2c1e4fa2a Fix invisible entities 2021-03-13 04:35:11 +01:00
Romain Beaumont
a49404238c increase all timeouts 2021-03-13 01:51:45 +00:00
Romain Beaumont
0a861190a0 fixed lint 2021-03-13 01:40:56 +00:00
Romain Beaumont
bfec4ad351
increase default timeout to 2min 2021-03-13 02:35:07 +01:00
Romain Beaumont
59c4c490a3
add printing of end reason 2021-03-13 02:27:03 +01:00
Romain Beaumont
11a0e50d02 fix vec3 import 2021-03-13 01:19:07 +00:00
Romain Beaumont
ea6d5256e0 expose more things 2021-03-13 00:14:17 +00:00
Romain Beaumont
a836496e31
Expose bot variable 2021-03-13 00:35:16 +01:00
Romain Beaumont
45b5afc0bb persist username to localstorage 2021-03-07 23:37:27 +00:00
Karang
b0b144e49c Fix test 2021-03-08 00:15:33 +01:00
Karang
8cd2b5ddf7 Fix item versions 2021-03-08 00:10:37 +01:00
AwesomestCode
01c1cabdef
Feature: Hotbar (#42)
* Add Rendering Hotbar

* Load hotbar on login

* Add live hotbar changes

* Add selecting slot

* Add dropping

* fix lint

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-07 22:49:49 +01:00
Karang
eace2c97cc
Add resize of webgl canvas (#65) 2021-03-07 22:41:29 +01:00
Romain Beaumont
de22f91b1e remove not working forced full screen and print errors properly 2021-03-07 18:32:41 +00:00
Karang
357ab35eef Add config.json 2021-03-04 04:02:30 +01:00
Karang
edf12cea69
Add custom proxy selection (#53)
* Add custom proxy selection

* Remove request dependency

* Remove duplicate font
2021-03-04 01:39:21 +01:00
AwesomestCode
49a347b9fa
Feature: loading screen (#26)
* add broken loading screen

* Add loading screen

Add image & change webpack for easier testing

* more loading script stuff

* not really working kick detector

* last ditch attempt

* lint
2021-03-02 21:44:42 +01:00
Karang
776f1ab772 Fix moving in chat, fix breaking snapping view 2021-03-02 05:07:12 +01:00
Romain Beaumont
0ab855c9db fix default name 2021-03-02 00:00:57 +00:00
Karang
0d46059346
Update pviewer, no space in username (#32) 2021-03-02 00:44:41 +01:00
Romain Beaumont
1d94b108f8 fix username 2021-03-01 23:43:08 +00:00