Comments (13)
I think its useless
from prismarine-web-client.
Great you're working on this!
hey! added pee
rjs (p2p wan) multiplayer support (feels more like actual flying-squid server in the browser). I thought it would be harder to do, though it was fun. However, I noticed a few issues with minecraft-protocol package (there are definitely issues with handling disconnect and keepAlive packages)
who asked bobby? its your yearly salary
from prismarine-web-client.
from prismarine-web-client.
@zardoy could you please open pull requests to add features from your fork here ?
from prismarine-web-client.
from prismarine-web-client.
How:
- socketProvider option in nmp createServer
- use it with a fake local socket for single player
- use it with a simple-peer webrtc socket for crazy experiments
from prismarine-web-client.
anvil may need to be adapted by using indexeddb
from prismarine-web-client.
Another idea here is to use a reverse websocket proxy
from prismarine-web-client.
Hey! I'm currently working on this feature and wanted to report the progress. Currently, support implemented for the following backends (this all is possible only with the latest version of browserFS):
- localstorage - just hit & play (5mb cap) - can be exported with
/export
- ZIP loading - just dragndrop (not really effective, but still can load any size, though there is ~400mb limit on ios)
- Folder loading - best option, but available only in Chrome: dragndrop or via folder picker (read/write to real fs)
- Download & play from link - link example - downloads map from server & uses ZIP FS later
I have used PeerJS previously for small projects and I think I'll also use it here for multiplayer.
I could test almost any 1.8 save, however, it seems that saves for 1.14+ are not supported by prismarine-chunk? (PrismarineJS/flying-squid#632, PrismarineJS/flying-squid#545)
Also will work to improve zipFS later.
from prismarine-web-client.
from prismarine-web-client.
finally found it! though i wonder why it wasnt done before? btw do you have any plans to improve support like chests? i was looking for mcedit on mobile and couldnt find absolutely anything on the web,, also any plans for it?
from prismarine-web-client.
though i wonder why it wasnt done before?
IMO it's weird to ask why something wasn't done before, however I can actually explain why I had to do it now. I've been using pojav to play mc on ios (I don't really like bedrock version, also had to load java worlds, mods etc) on jb idevice, without jb it requires JIT on the air (to be connected to anything), and I don't think jb it's coming to new devices.
btw do you have any plans to improve support like chests?
I think this is off-topic to ask here what is planned and what is not, but yes this will be done eventually (will first try to resolve rendering issues when have time). The current priority is command blocks to make adventure maps playable, only then survival things...
mcedit...
I'm really not sure about this one. I don't really need it, but still would be great to have! If I don't come up with any ideas in other projects, I think world edit mode will be added here eventually (I was thinking about it a week ago)...
from prismarine-web-client.
Great you're working on this!
hey! added peerjs (p2p wan) multiplayer support (feels more like actual flying-squid server in the browser). I thought it would be harder to do, though it was fun. However, I noticed a few issues with minecraft-protocol package (there are definitely issues with handling disconnect and keepAlive packages)
from prismarine-web-client.
Related Issues (20)
- (console logs) Client not connecting to server. Endless loading screen or p(0) undefined disconnect reason. HOT 2
- Memory leak in prismarine-web-client HOT 8
- pwc uses threejs 0.127.0 and pviewer uses threejs 0.128.0
- NPM install error HOT 2
- Cannot connect to any server HOT 5
- cant connect to the web version HOT 1
- version HOT 2
- Fix publish build
- dmca notice HOT 2
- Menu stuck on white screen HOT 1
- It's Only A Blackscreen HOT 5
- Login with Microsoft
- This project's live preview link is not working HOT 1
- It swears at the nodejs version, and this is in the browser. How so? HOT 9
- build error HOT 2
- default server can't login HOT 2
- have a cron test to make sure this keeps running
- Blank page HOT 5
- tcp connection closed HOT 2
- Server connection error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prismarine-web-client.