Share your repls and programming experiences

← Back to all posts
Minecraft WebGL Project Core
HENRYMARTIN4 (329)

Minecraft WebGL

Credit to @duck132912 for the menu. Thanks a bunch!

About

This is the final version of my WebCraft and MC-Engine projects. I merged them into one, and added a menu. (Once again, thank you, @duck132912!) Multiplayer is coming NEVER due to the fact that it would be almost impossible to get to work perfectly. I am ending the WebGL Minecraft project here and now.

Past versions

PLEASE UPVOTE IF YOU ENJOY!!!

NOTE

I will be experimenting with Voxel.js, so stay tuned!
I might just be able to make a multiplayer version using Voxel.js instead of WebGL.

EDIT: Click the open in new window button otherwise it just won't look very good.
EDIT EDIT: Thanks for all the upvotes, guys! I really appreciate it!
EDIT EDIT EDIT: Thanks for making this post the front page!

Commentshotnewtop
DeBeast591 (134)

Awesome, the textures could use some work, but other than that, 5/5 stars!

Zexogon (873)

Is this your code?

HENRYMARTIN4 (329)

@Zexogon Sort of, sort of not. You know what I mean.

Zexogon (873)

@HENRYMARTIN4 alright there are a lot of git hub posts with code like this but yours looks good keep making stuff :)

3941driB (32)

LOL, so that's why @duck132912 was so busy! XD

duck132912 (176)

@3941driB 4battle is not my only thing

4battle (3)

@duck132912 You were on only 4 hours ago!

duck132912 (176)

@4battle Btw you could have made something like https://login--duck132912.repl.co instead of the hours of php login of yours

HENRYMARTIN4 (329)

@duck132912 wow i looked on 4battle thanks for using ultracode yay

3941driB (32)

OMG, I'm duck132912's friend!

duck132912 (176)

@3941driB I know, you come to my school

3941driB (32)

@duck132912 Are you still on ^_^? You replied 2 minutes ago!

BlueComet (120)

WoW!This is amazing

amasad (2517)

Multiplayer is coming NEVER due to the fact that it would be almost impossible to get to work perfectly.

@HENRYMARTIN4 can you share what technical limitations exist to make this work? Maybe we, the Repl.it team, can help with this.

HENRYMARTIN4 (329)

@amasad Well, I was experimenting with Voxel.js and realized that I don't have admin in the bash shell, meaning that I can't use the browserify command to compile the scripts. I therefore cobbled together this instead of using the Voxel.js engine. I'm still looking for ways to run Voxel.js scripts on Repl.it. You can see the tutorial at http://voxeljs.com.

SilentShadowBla (541)

100th upvote! epic job btw

HENRYMARTIN4 (329)

@SilentShadowBla yay!!!!!!!!!!
thank you!!!
I will gladly invite you to work on a repl with me if u want me to.

MatReiner (106)

Sorry for crushing you in the "hot" list, but yours is better.

PDanielY (1065)

the map isn't useful

mkhoi (286)

@PDanielY It shows height, the whiter a place is the higher it is

duck132912 (176)

You are welcome, I am happy to be mentioned.
News: Me and @3941drib are working on @4battle we could use a little help. Thank you @duck132912

MarcPech (1)

I cant build anything but other than that 4 stars

BlueComet (120)

how did you make it so you could do tons of different things

neutralcoder101 (4)

there is one thing that is when u dig down continuously u fall into the void but u don't die u just continuously fall down but other than that this is EPIC

neutralcoder101 (4)

also when u right click water it gets destroyed like other blocks

neutralcoder101 (4)

just work on that and your game will be PERFECT

neutralcoder101 (4)

and some trees and vegetation

Kringle200 (1)

That is so cool !!!!

JORDANSISNEY (4)

When you think you're good at programming and someone makes this.

ITS JUST AMAZING :D Please don't stop working on it!! It could be so cool!!!!

HENRYMARTIN4 (329)

@JORDANSISNEY Voxel.js is a framework for building minecraft-like games in the web browser. I'll do stuff with that instead of WebGL. Therefore meaning the WebGL Minecraft project will end, but the Voxel.js Minecraft project will begin. Find out more at: http://www.voxeljs.com/

JORDANSISNEY (4)

Ooooh. Well, I'm still definitely excited to see what else you do! :D @HENRYMARTIN4

Darkgamer23 (6)

Wow this is amazing!

Epicmuffinepic (60)

Guys this is my friend he is literally sitting next to me in class.

sycrepl (10)

The quality of the textures is a little disappointing. Make sure that when you're resizing the images you're doing it with a point filter or whatever it's called. Makes it so it doesn't fade. I have no clue what the WebGL code is for it though.

Coder100 (6700)

Nice work!

while(true){
  votes++;
  blocks.push(new Block(random(0, infinity), random(0, infinity)));
}
AncientBison (64)

OMG YOU ARE A AMAZING GOD AT CODING!!!

JordanDixon1 (324)

Pretty good. One problem though: You can look down infinitely and it kinda gives me nausea whenever I do lol other than that its fantastic.

pipythonmc (3)

This looks awesome! This must have taken a long time

[deleted]

This is a account that I have not seen in a long time. I am happy to see it again

dan82 (3)

Nice work on this dude keep it up.

12608335 (19)

This is incredible! the menu looks great :D

HENRYMARTIN4 (329)

@12608335 i didnt make the menu, i just changed the background image. the original is at https://repl.it/@duck132912/Minecraft
i just changed the script to embed an iframe of https://minecraft-engine.henrymartin4.repl.co instead of https://classic.minecraft.net