A 3d thing

I made a 3d thing!

https://arcade.makecode.com/S05557-33904-28616-63370

5 Likes

Now I could make a Minecraft clone with this.

1 Like

Oh yeah, I should probably list the controls:

Left/Right/Up/Down Arrow Keys: Look

W/A/S/D/Shift/Space Keys: Move

1 Like

WOW this is actually quite well done!!
The 3D projection works well, and I was suprised you even included moving up and down too 0_0 impressive!
The only glitch I’ve found is that if you walk forward into the block, the texture sort of explodes and the block flips upside-down. (It’s a pretty cool effect to see!)

2 Likes

that method is easy, but the rendering gets messed up sometimes. I don’t know how it works, but if it renders each cube one by one using math, then that kind of glitch happens. either make it only render cubes in front of the camera (though there may be other rendering glitches) or cast rays from the camera (I don’t expect you to know rust or what this means, but I would recommend https://www.youtube.com/watch?v=ztkh1r1ioZo . one thing to note is that you don’t want to do rays on constant step distances, but instead using math to find the next voxel). somebody please rewrite this.

I need help from someone who KNOWS Javascript. The cubes aren’t showing up, please check the Renderer3D file. https://makecode.com/_HoPYVidPHAp0

Good luck buddy

Bro wow. Instead of making a 3D object itself, you projected it!

This is what eventually happens to any project relying on an AI-generated backbone. I ran into similar issues when progressing my 3D engine past a ChatGPT tech demo. Your options are either learn JavaScript and research 3D engines, or wait until GPT-7 comes out.

2 Likes

Well I wrote the render all cubes function myself, it was working until then

3 Likes