Share your repls and programming experiences

← Back to all posts
SortaCraft Model Builder
tussiez (1568)

SortaCraft Model Builder!

This was originally intended to be a tool for building naturally-generated structures in SortaCraft, e.g villages, dungeons, and various types of trees.

This model builder features a stripped-down version of the voxel engine found in SortaCraft, and fly-style movement controls.

Features

  • Save
  • Load
  • Inventory
  • Transparent block support
  • Better lighting and higher-quality shadows
    All textures were drawn by: @UncleSamIs234 , @foodandmoarfood, me, and one more

Controls

For the first time, I decided to write my own controls for Threejs.
You move in the direction you look in, e.g look up to move up

W, A, S, D to move
Hold Shift to go faster
Left click to break blocks, and right click to place blocks.
Press E to open your inventory.
Click to lock your pointer, and Escape to exit pointer lock.
Use your mouse to look around.

Update!

Due to popular demand, you can now choose between:

  • Shift making you move faster
  • Shift moves you down

Saving and Loading

Click "Save" or "Load" and follow the instructions in the prompts that appear.

Enjoy!
Ignore the tall grass - this is a custom block being worked on

Play it!

experimental: run makeLight() in console to enter light-building mode

Screenshots

Inventory!

Home

😳

Lights! (makeLight())

Comments
hotnewtop
Baconman321 (1101)

Yooo, u finally got the inventory working, tussiez!

Wait till the terminal is finished :D

In fact, it's pretty much functional rn!

tussiez (1568)

@Baconman321
1. Yep! :D
2. oooooooo
Awesome!

tussiez (1568)

@Baconman321 @xxpertHacker @foodandmoarfood @UncleSamIs234
Sorry about the ping, three.js is down today
EDIT: Yey, it's back :D

Baconman321 (1101)

@tussiez Wdym it works fine for me...

xxpertHacker (928)

@tussiez Well, there's not much I can do about that; should've made a local copy.

tussiez (1568)

@Baconman321 Someone else commented that the model builder was broken..
see this:


threejs down, I used a local copy instead

Baconman321 (1101)

@tussiez It works fine for me. It's probably on their end.

tussiez (1568)

@Baconman321 Hmm, are you talking about threejs.org?

AndrewMarkarian (20)

Oh so that is why it is white.

CyberHacker101 (118)

oh noe the hoooge fat ping KABOOOM @tussiez

Coder2404 (362)

This gonna be the coolest thing I ever saw on repl.it, wow

Coder2404 (362)

@tussiez you’re welcome :D
It’s for being my best friend, so I gotta be nice to you!

Missingn0 (0)

The harder mode on Breakout is kinda scuffed btw. I did manage to clear it eventually, but this is a fast boi.

CODER34352 (2)

Nice, What Language is this in?

Unclyscam123 (4)

When is sortacraft2 coming?
and d you think it's so good that you're going to get to 1,000 cycles with it?

tussiez (1568)

@Unclyscam123 Working on the inventory now. Stacking sorta works, but gotta finish that. When we get everything done, I hope :):):)

tussiez (1568)

@Unclyscam123 Dunno when, there are some problems I don’t even know how to solve, e.g physics. Mobs won’t be hard tho. Crafting will be interesting

tussiez (1568)

@AncientBison No idea. I named it somewhere..

nityamghai (0)

Link should opens in a different tab so that your user can easily return to the main page. It can be little bit faster. The rest of the project is fantastic. This gonna be the coolest thing I ever saw on repl.it, wow.

tussiez (1568)

@nityamghai
1. Oke
2. Yeah, I need to delete vertices/add faces instead of generating a new geometry every time, this is expensive :/ will probably apply this change to SortaCraft 2 also
3. :D

adilskillz (5)

did you bake some lights????

tussiez (1568)

@adilskillz Nope. All dynamic!
There's only one light anyway, also you would need to re-bake when modifying the chunk. I am looking into baking lights into the geometry though, see https://threejs.org/examples/webgl_geometry_minecraft.html

wait! where'd the AO version go? nuuuuu i was gonna use it

adilskillz (5)

that was a dani reffrence @tussiez

MaxitoPlayer (4)

gave you something good on norton

Unclyscam123 (4)

Great finnly a tool to make new world gens! ( i work on the sorta gams team so wanted this for a while!) @tussiez

tussiez (1568)

Why does this have 88 upvotes?!?!?!
Save your cycles for SortaCraft 2 :(

Thedev3 (0)

It said it had my password when I did jail breakout thing lmfao.

tussiez (1568)

@MaxitoPlayer yes
Yay, people are exploring my other Repls!

78JonathanForni (3)

How do you make light?

tussiez (1568)

@78JonathanForni It is a secret function. If you can, open your console (Ctrl+Shift+I in Chrome and click "Console" tab) and type in makeLight().

Now, move around to position the light. When you are satisfied with where the light is, press Enter. You will leave light mode and a new light will be placed.

78JonathanForni (3)

@tussiez oh ok Thank you and your creations are amazing!

CyberHacker101 (118)

yo can yall go on discord or something im literally lagging LOL :L @tussiez @19wintersp

CyberHacker101 (118)

better yet use IRE kid proxxy discord unblocked @MaxitoPlayer @tussiez

CyberHacker101 (118)

wOoHoO i hAvE 766 cYclEys lEsS tHen yOu :p @tussiez

MarcusWeinberger (779)

bruh what is that input lag test repl lmaoo

52eagle (50)

im working on a 2d block game, and i cant even do that much
this is really awesome

FlaminHotValdez (629)

Oh great, another Minecraft clone. At least this one is good though.

tussiez (1568)

@FlaminHotValdez Lol
But it wasn't intended to be a clone...

Baconman321 (1101)

@MaxitoPlayer It's not meant to imitate minecraft it's meant to help us [me, tussiez and a few others] create a minecraft remake (so yes, I guess it is partially related to a minecraft remake). The fun is really in making it, not playing it.

It's not meant to be a ripoff. It's free, so if you don't like it then just simply don't use it, nothing to lose.

MaxitoPlayer (4)

@tussiez ya i think the might sue you a little

X24 (28)

@MaxitoPlayer Imagine that, Mojang suing some person that decided to make a Minecraft remake for fun. (Also I don't think that they are breaching any terms and conditions)

tussiez (1568)

@X24 Yeah, since everything is original, down to dirt being called Soil, I can’t really be sued

X24 (28)

@tussiez No lawsuit for you :D