Commit graph

143 commits

Author SHA1 Message Date
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
Romain Beaumont
1c1a66c57a
Fix infinite loop on click with button 1 (#147) 2021-03-23 23:26:21 +01: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
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
Romain Beaumont
843b9a5f43
Bump pviewer 2021-03-22 01:01:34 +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
Karang
119fb046a6
Add basic vr (#134) 2021-03-21 23:13:32 +01:00
dada513
ac459f9ba4
Updated manifest for PWA (#133)
Co-authored-by: d513 <ogoniasty513@gmail.com>
2021-03-21 20:58:26 +01:00
Romain Beaumont
3ef096458f
Fix discord link 2021-03-21 20:22:28 +01:00
dada513
4d4b32e8de
Added docker support, made config dynamic (#108)
* Made config.json dynamic

* added docker support

* Fixed dockerfile npm install error

* fixed line ends

* Revert "Made config.json dynamic"

This reverts commit 5cb413b9aa.

* config.json is now loaded dynamically

* Made dynamic config work on github page

* config is now dynamically copied

* removed sync-request dependency

Co-authored-by: d513 <ogoniasty513@gmail.com>
2021-03-21 17:14:14 +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
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
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
Romain Beaumont
807ce65b89 no zooming, fix #119 2021-03-20 23:58:31 +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
Petr Melentev
f53ebe0e4f
added fading item name above the hotbar (#116) 2021-03-18 08:39:27 +01:00
Karang
6a8d77bbab Expose renderer and add title.jpg 2021-03-18 08:29:12 +01:00
u9g
5d3eeec6a0
less padding + closer to top for playerlist (#115) 2021-03-18 05:33:11 +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
Karang
e7d8fc0e64 Fix hotbar stacking when changing world 2021-03-18 02:38:35 +01:00
Romain Beaumont
401d6bec06
bump mineflayer 2021-03-18 02:06:14 +01:00
Karang
30b539a858 Bump pviewer 2021-03-17 22:01:24 +01:00
Romain Beaumont
becadf73ee make invite link go directly to the right room 2021-03-17 00:41:37 +00:00
Romain Beaumont
3c15f83fa1 add line to menu on how to help 2021-03-17 00:16:09 +00:00
Romain Beaumont
ef6096fac2 add line on what is prismarine web client 2021-03-16 23:33:25 +00: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
Romain Beaumont
ceca3bfcfa enable chat in next tick to avoid t being entered 2021-03-16 20:55:28 +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
3a74d5a09f
(Hopefully) Making playerlist the LitElement way (#106)
* (Hopefully) Making playerlist the LitElement way

* Fixed a double-arrowed function call in playerlist
2021-03-16 09:45:39 +01:00
Moondarker
9a5c008530
Using stackable key events instead of document.onkey/*whatever*/ (#104) 2021-03-16 03:16:37 +01:00
Romain Beaumont
af8b47279d bump mineflayer and pviewer 2021-03-16 02:15:48 +00:00
Romain Beaumont
f08e362801 remove password for menu, add github link
fix #100 fix #101
2021-03-16 00:20:02 +00:00
Karang
04751a724d Improve hotbar css, add item numbers 2021-03-15 21:17:33 +01:00
u9g
9e0f2c9300
Update playerlist.js (#99)
* Update playerlist.js

* use arrow function to be non-this-binding

* lint
2021-03-15 18:28:40 +01:00
u9g
f532e72f6f
remove contributors from package.json (#103)
theres no reason to have it since there are so many contributors to the project, and will be more as the project grows
2021-03-15 17:44:34 +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
6221ec9d3d
remove custom gitpod as the default one is good enough and faster 2021-03-14 22:58:20 +01:00
Romain Beaumont
19a2da8fa8 put crosshair in webcomponent 2021-03-14 20:48:01 +00:00