Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
235

Minecraft in JavaScript

repl-account
repl-account

Minecraft in JavaScript

Update: Removed faulty game loop library, sped up game by 1000%

Controls:

Up - Space
Down - Left or Right Shift
Horizontal Movement - wasd
Camera Movement - Mouse
Switch Blocks - Number Keys
Place Block - Right Click
Destroy Block - Left Click

If the repl won't load use this URL instead: https://minecraft.repl-account.repl.co/

2 years ago

Voters

Comments

TopNew
1
Grei
Grei

this is like spectator mde and creative mode together man u made my dream come true i always wanna see a half creative half spectator mode

6 months ago
2
Grei
Grei

i really got some insparation can i help u make your game better?

6 months ago
1
repl-account
repl-account

@Grei
I'm glad you got inspiration out of this, and of course you can fork the repl and make any modifications you want. If you need any help feel free to ask me.

6 months ago
1
Grei
Grei

@repl-account
hi thanks for the reply i was wondering how to make collision in your minecraft

6 months ago
1
Grei
Grei

@repl-account
and also here's the link to my forked minecraft : https://replit.com/join/pmvnuwhckd-grei

6 months ago
1
Grei
Grei

@repl-account
can i have a tiny bit help i added a new block to my repl and the game won't work

6 months ago
3
ConnerSchulz
ConnerSchulz

The warp pipe of death!
Screenshot 2022-05-20 2.38.30 PM


Screenshot 2022-05-20 2.38.34 PM

6 months ago
1
MihirSM
MihirSM

up-space
down-left or right shift
horizontal movement-wasd
camera movement-mouse
switch blocks-number keys
place block-right click
destroy block-left click

6 months ago
1
chinthalapati
chinthalapati

thanks, its a good game my friend.

7 months ago
1
chinthalapati
chinthalapati

Faulty, It's saying "replit.com refused to connect.

7 months ago
1
repl-account
repl-account

@chinthalapati
That is a repl iframe problem. I don't know why they block their own sites but use this URL instead: https://minecraft.repl-account.repl.co/

7 months ago
1
KittyCraft0
KittyCraft0

How did you make Javascript render this many polygons without lagging? Whenever I try to render more than like a thousand on the HTML Canvas, my computer starts dying.

7 months ago
1
repl-account
repl-account

@KittyCraft0
I use ThreeJS to handle all the 3d stuff and instead of using cubes I use planes and arrange them to form cubes. This means I can program it to only create faces where visible, and not inside blocks. Creating many faces on the inside of blocks may be the cause of your lag.

7 months ago
1
AlanCui
AlanCui

i reenforced my bedrock walls four times

8 months ago
Load more