Skip to content
← Back to Community
Multiplayer 3D
Profile icon
AdCharity

Earlier, I saw that someone took my old Babylon.js 3D experiment and they didn't source me!!! (well to be fair they were asking a question).

I've taken the liberty and made this project... multiplayerified! Now obviously this was not the best way to go about doing it, but hey, it works.

image

BEHOLD LAG IN ALL OF ITS GLORY

Updates (not that people check)

  • got rid of hovering player by dirt block (it was caused by... misuse of socket?)
Voters
Profile icon
HaydenCahoon
Profile icon
DREWNOLT
Profile icon
TalonPham1
Profile icon
Leroy01010
Profile icon
MILESGOFF
Profile icon
BananaSoul
Profile icon
ChungusFam
Profile icon
connorstott
Profile icon
Commodore95
Profile icon
SqueezyS
Comments
hotnewtop
Profile icon
Coder100

Nice work!

One suggestion:

<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.0/socket.io.js"></script>

Can simplify to

<script src="/socket.io/socket.io.js"></script>

people need to take advantage of what they install :P

Profile icon
AdCharity

@Coder100 wait.............. waiiiiiiiiittttttttttttttttttttttt

Profile icon
Coder100

mmmm yes @AdCharity

Profile icon
AdCharity

@Coder100 I didn't even know repl supported that. +1

Profile icon
Coder100
Profile icon
AdCharity
Profile icon
Dart

ME AND THE BOIS PLAYING Multiplayer 3D By AdCharity WHO GONNA JOIN WHERE WE JUMPING BOIS

Profile icon
AdCharity

@Zexogon tilted towers?? Oh wait it's gone

Profile icon
SixBeeps

@Zexogon Ayo we hittin up the rotating dirt block

Profile icon
[deleted]

@SixBeeps nah im gonna solo drop at the I̵̧̧̤̮̱̘̟̻̬̞̳͖͎͔͗̊͋͛̈́͌́͐́̀̕ͅ ̸̡̛̫̦̖̬̳̳̦͔͊̿̀́̄̈̆͋͂̕̚͜͝͝C̸͙̫̪̩̔͐̇͋̽̂̏̄͛̇̍͛̑̚ͅǓ̶̱͂̎̊̋̾͊R̴̢̨̨̛̹̦̣͓͇̦͉͔̝̳͓͋̎͌̌̍̾̚͝S̴̫̳̪̮͇͚͍͇͉̘͂̔͆͒͜͠͠Ę̵̢̧̹̠̪̻̻̐̾̄̐̑̎̔̆̈̎̀͗̇̾͜͠ ̶̡̡̺͖̻̫̩̯͎̪͕̩͈̬̓́́̄̑̋̀̏̈́̄̇͘͜Ý̵̺̍̋̀̄̍̅͗̍͠Ọ̶̧̨̧̨͇͙̘̣͈̦̲̋͂̾̈́̽͐̂͐̿̐͘Ǘ̸̡̡̢̻̟͖͇͖̲̭̼͍̤̥͕͙̱̋̽̅̏̏͒͐͑͘͠ ̸̻̪͇͖̠͕̺̐̉̇̄̀͒̎͌̉̀̇̒̇̔͒̕͝ͅŢ̷̧̛̜̺̗̳̻̖̤͓͇̠̆̈́̌̏̋̒̓͜O̸͎̘͕̝̖̟̼̜̻̺̝̎̏́͌̀̅̍̓̕͝͠ ̶̢̡̫̺̙̭̖̥̰̍̈́͠ͅS̷̡̢̩͖̺͕͍̮̖̣̫͓͈̱͉͌̀͗̋͂͒̿͒̑͛̐̂͐̈͜͝͝ͅT̶̛̠̘̊̈́̌̉̇͋͋͒̿̍̊̚͝͝E̴̯͉̺͊̈̓̂͌́̅̽̀̃̾̃͘P̸̡̨̮̖̙͍̦͙̗̎̚͜ͅͅ ̸̨͇̲͇͖͔͈̺͈̟͕͈̍͗̌̃̾̅̈́̍̋͆̄͝O̸̦͖̗̥̼̙͎͉͕̯̬͔̳̮̙̭̔́̿͐̈́̇̍̄͑͐̏́̐͂̀̐ͅN̶̟͎̜͙͉̲̥̝̟̺̠̳̺͒̀̈́́͒́̅̏̒̿̂̃̎͠ ̴̨̛̪̝̬̳̈́̈́̄̅͆̌̑̌̉͒̋̑̋͂͠A̸̪̻͕̮̰͎̜͎̫͜͜͝ ̷̢̫͖̭̗͙͍̜̟̯̻͎̜͎̱͈͉͂̈́̃̈́͗̄̓͝L̴̡̛͙̩̥͗̀̔̅̽̄͝E̶̛̺̦̮̞̲͍͙̯̩͊̉̈̒̀́̇ͅG̵̜͍̒̏́̓́̚͝Ô̸̰̮̜̻͍̐̍̄̄̿

Profile icon
staticvoidliam7

ALL HAIL THE ALMIGHTY DIRT BLOCK

Profile icon
glitchish
Profile icon
MrEconomical

great work

Profile icon
AdCharity
Profile icon
Darkgamer23

This is amazing good work!

Profile icon
AdCharity

@Darkgamer23 thanks :P

Profile icon
CodeSalvageON

Bro that’s bad oof. Which repl talk post is it ma clanka

Profile icon
AdCharity
Profile icon
HBthePencil

HOLY COW!

aw man doesn't work...

So cool!

Profile icon
NigelIsCoding

kinda looks like minecraft...

Profile icon
DREWNOLT

Cool!

The only thing I would suggest is making it look like the player is standing on the floor. It kind of looks like the player is in the floor.

Profile icon
Leroy01010

nice

Profile icon
StringentDev

image

falling off the map is fun!

Profile icon
An1ruth

Oh yes. That's GREAT! WHERE WE GOING @Mokshake?

Profile icon
Commodore95

Minecraft. Huh.

Profile icon
staticvoidliam7

interesting concept: play in 2 windows at the same time :p

Profile icon
RohilPatel

Very nice job!

Profile icon
AdCharity
Profile icon
RohilPatel
Profile icon
glitchish

cool!
can you add parcore to this???
parcore would be cool, even though it's already SICK!!!!!!!!!!!

Profile icon
AdCharity

@Programmer567 If I have time :P

Profile icon
glitchish
Profile icon
AgastyaSandhuja

cool. So let me get this straight: we can only walk and jump...?

Profile icon
AdCharity

@AgastyaSandhuja pretty much.

Profile icon
AgastyaSandhuja
Profile icon
AdCharity

@AgastyaSandhuja I'm planning on some massive update to make this actually interesting to play but I'm too short on time.

Profile icon
AgastyaSandhuja

@AdCharity looking forward

Profile icon
AdCharity

@AgastyaSandhuja tbh I saw someone else with my project asking how to use socket (for multiplayer) so I was like :/ I'm doing it first lmao (this is definitely not the first mutliplayer 3D game though)

Profile icon
AgastyaSandhuja
Profile icon
glitchish

looking forward to [email protected]

Profile icon
ebest

immediately starts reading bookmarks and tabs

Profile icon
AtriDey

Nice. Also, I fell off the map USING the map boundary.

Profile icon
AdCharity
Profile icon
slip1244

cool af

Profile icon
SixBeeps

Woahhhh, das cool. Could you make a toggle for look lerping? I'd prefer it off :P

Profile icon
AdCharity

@SixBeeps ngl idk what you mean

Profile icon
SixBeeps

@AdCharity It feels like there's damping on the camera rotation when you move the mouse.

Profile icon
AdCharity

@SixBeeps I'll try to make the pointer lock and camera speed better

Profile icon
[deleted]

repl.it refused to connect

Profile icon
AdCharity

@sugarfi oops thanks (private)

Profile icon
AdCharity

@sugarfi I see you moving (maybe it's somebody else)

Profile icon
[deleted]

@AdCharity thanks, it works now