-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js http server multiplayer: I need help #46
Comments
Install node, go to project directory, run Go to http://localhost:3000/multiplayer.html while server is running. You can test 2 players by connecting both via Chrome and Firefox. To connect from different computer replace |
It now works, but I cannot place blocks, is there a way to fix this?
…On Fri, Mar 27, 2020 at 9:35 PM cymno ***@***.***> wrote:
#18 (comment)
<#18 (comment)>
Install node, go to project directory, run node server.js. If necessary
install socket.io etc. with npm
Go to http://localhost:3000/multiplayer.html while server is running. You
can test 2 players by connecting both via Chrome and Firefox. To connect
from different computer replace localhost with the server's IP address
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJ73FKSFTEMBAD76FR5T7DRJVO67ANCNFSM4LTF5MLQ>
.
|
There's a restriction of block placement around world spawn. Change this line to modify at which distance placement becomes possible: Line 500 in 47b3f69
|
is it possible to get it running without having it on a local host but like in herokuapp or something?(I code and program on my school chromebook so local hosting is unavailable for me) |
Is there any way to do this with vercel? |
I have been working on this for some time now, but I can't seem to figure out how to use multiplayer. I am using node.js http-server, and I would really like some insight on how to get this running.
The text was updated successfully, but these errors were encountered: