Share your repls and programming experiences

← Back to all posts
Online 3D multiplayer voxel sandbox
ASTROIDE

This is a 3d voxel sandbox game I made a few months ago.

There are two modes : singleplayer and multiplayer.

Controls

W : forward
A : left
S : backward
D : right
space : jump (or, in flight mode, add upwards force)
shift : crouch
Q : run (in multiplayer only)
L : toggle flight mode
E : open / close inventory
left click : break
right click : place
0-9 : select that element of the hotbar
Y : save world
T : open chat, press Enter to send your message
P : teleport to (0, 50, 0)
C : next element of hotbar
X : In multiplayer, remove duplicate blocks
F : hold to aim, click while holding to shoot an arrow
R : ride horse (when near it) or go down the horse
escape : when playing, free the cursor

If you want a greater render distance, you can open the console and run renderDistance = 80 (or whatever distance in blocks)

Multiplayer servers

For multiplayer there are two servers:

  • the default server: this is an ordinary world of the game, except that it's multiplayer (however, the server messages (someone joined the server) are in French since I've not translated it yet.)
  • the "Destroy the Crystal" server: this server is a game in which there are two teams, starting on two islands floating in the sky. The goal is to make a bridge to the other island, dig a hole under the other team's flag, and then destroy the crystal (a red or blue block in a group of glass blocks).

Note: the game's quite laggy on Chrome, a little less on Firefox. For maximum performance, run it in Electron (a bit more complicated, but with that you can get 60fps).

The game is way better if you run it in a new tab.

Screenshots


Note: I did not build that castle, it's a script I made which builds castles.

Voters
nbash
ruiwenge2
MikeW3
ch1ck3n
ASTROIDE
Comments
hotnewtop
ruiwenge2

this is so underrated

SomeBoyPlayz

underground path from one tree to another :D

hg0428

Click wont break blocks.
I can't right click either.

SomeBoyPlayz

@ASTROIDE so are there bots that play? because I dont click multiplayer but I see random people

and how to switch blocks?

ASTROIDE

@SomeBoyPlayz They aren't exactly bots, they're simply people who wander around their village. And they're in singleplayer (look for brick houses to find them). In multiplayer, there are only real people (bots would make the server laggy). Press C to switch blocks.

SomeBoyPlayz

@ASTROIDE oh ok thanks

SomeBoyPlayz

OMG this is the best! I like this game ngl

ch1ck3n

you should call this "3D Minecraft | 3d voxel sandbox" to attract more people

VERY NICE!!!! I LOVE IT