Share your repls and programming experiences

← Back to all posts
SortaCraft Model Builder
tussiez

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())

Voters
DavanIrons
LaneMartin
Sidhoo
piphi
PetarRadmanovi
CODER34352
AdamJerome
EitanGJ
SudhanshuMishra
Yohz
Comments
hotnewtop
TravisHutton

mincraft!

tussiez
Baconman321

Yooo, u finally got the inventory working, tussiez!

Wait till the terminal is finished :D

In fact, it's pretty much functional rn!

tussiez

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

tussiez

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

Baconman321

@tussiez Wdym it works fine for me...

xxpertHacker

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

tussiez

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


threejs down, I used a local copy instead

tussiez

@xxpertHacker Luckily I did, but rip

Baconman321

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

tussiez

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

Baconman321
AndrewMarkarian

Oh so that is why it is white.

CyberHacker101

oh noe the hoooge fat ping KABOOOM @tussiez

MaxitoPlayer

not others

tussiez
[deleted]

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

tussiez
[deleted]

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

Missingn0

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

CODER34352

Nice, What Language is this in?

SudhanshuMishra

Home sweet home

tussiez
LaneMartin
Unclyscam123

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

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

tussiez

@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

Unclyscam123
tussiez
AncientBison

What is this?

tussiez

@AncientBison No idea. I named it somewhere..

IOP3

Pog

tussiez
TheDragonCode

100th upvote!

nityamghai

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

@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

did you bake some lights????

tussiez

@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

that was a dani reffrence @tussiez

tussiez
adilskillz
MaxitoPlayer

gave you something good on norton

MaxitoPlayer

Unclyscam123

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

tussiez
tussiez

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

LOGO923

SWEET!

tussiez
Thedev3

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

tussiez
mrslep

@tussiez How do you build?

tussiez

@srsly Right or left click

MaxitoPlayer

hmm something new

tussiez

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

78JonathanForni

How do you make light?

tussiez

@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

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

CyberHacker101

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

MaxitoPlayer

@CyberHacker101 i do not have discord😭

tussiez
CyberHacker101

thats sad oof :l @MaxitoPlayer

CyberHacker101

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

CyberHacker101

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

MarcusWeinberger

bruh what is that input lag test repl lmaoo

tussiez
52eagle

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

tussiez

@52eagle Cool, thanks!

FlaminHotValdez

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

tussiez

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

MaxitoPlayer

ehhh explain this lol

tussiez
[deleted]

Fortnite Crankers Be Like:

tussiez

@idrgplayer
Be Like:

MaxitoPlayer

minecraf ripoff

tussiez

@MaxitoPlayer Yes, that is the point.

Baconman321

@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

@tussiez ya i think the might sue you a little

X24

@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

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

X24

@tussiez No lawsuit for you :D