# A 3d thing

**URL:** <https://forum.makecode.com/t/a-3d-thing/41142>\
**Category:** Show & Tell\
**Tags:** game, graphics-and-math\
**Created:** [December 20, 2025, 1:36am UTC](https://forum.makecode.com/t/a-3d-thing/41142 "2025-12-20T01:36:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [December 20, 2025, 1:36am UTC](https://forum.makecode.com/t/a-3d-thing/41142/1 "2025-12-20T01:36:09Z")

</div>

I made a 3d thing!

[https://arcade.makecode.com/S05557-33904-28616-63370](https://arcade.makecode.com/S05557-33904-28616-63370)

---

<div class="post-metadata">

**Author:** ![Fangstor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fangstor/32/33185_2.png) [@Fangstor](https://forum.makecode.com/u/Fangstor)\
**Post date:** [December 20, 2025, 6:25pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/2 "2025-12-20T18:25:30Z")

</div>

Now I could make a Minecraft clone with this.

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [December 20, 2025, 6:42pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/3 "2025-12-20T18:42:22Z")

</div>

Oh yeah, I should probably list the controls:

Left/Right/Up/Down Arrow Keys: Look

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

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [December 20, 2025, 6:43pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/4 "2025-12-20T18:43:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [December 25, 2025, 2:57am UTC](https://forum.makecode.com/t/a-3d-thing/41142/5 "2025-12-25T02:57:19Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [January 6, 2026, 3:04am UTC](https://forum.makecode.com/t/a-3d-thing/41142/6 "2026-01-06T03:04:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [January 6, 2026, 3:04am UTC](https://forum.makecode.com/t/a-3d-thing/41142/7 "2026-01-06T03:04:29Z")

</div>

Good luck buddy

---

<div class="post-metadata">

**Author:** ![RoboVacDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robovacdev/32/29619_2.png) [@RoboVacDev](https://forum.makecode.com/u/RoboVacDev)\
**Post date:** [January 6, 2026, 7:51pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/8 "2026-01-06T19:51:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [January 6, 2026, 7:51pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/9 "2026-01-06T19:51:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [January 7, 2026, 1:20am UTC](https://forum.makecode.com/t/a-3d-thing/41142/10 "2026-01-07T01:20:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [February 21, 2026, 8:44pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/11 "2026-02-21T20:44:50Z")

</div>

I cant help right now because I’m on mobile ☹

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [February 25, 2026, 9:26pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/12 "2026-02-25T21:26:48Z")

</div>

Hey, can anybody tell me how the Painter’s Algorithm works and how to implement it in Makecode?

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [February 25, 2026, 10:08pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/13 "2026-02-25T22:08:33Z")

</div>

Here’s the [wikipedia](https://en.wikipedia.org/wiki/Painter%27s_algorithm) that seemed to explain it well, I’m not sure how you would implement it because it depends on how you are storing and rendering the polygons! (If you have a link that would help)

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [February 27, 2026, 9:47pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/14 "2026-02-27T21:47:14Z")

</div>

I still need help with sorting the cubes by depth though- could anybody help with that?

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [February 27, 2026, 9:47pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/15 "2026-02-27T21:47:16Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [March 3, 2026, 4:01am UTC](https://forum.makecode.com/t/a-3d-thing/41142/16 "2026-03-03T04:01:47Z")

</div>

HAHA I HAVE FINALLY DONE IT!!!

> **[Flying around four grass blocks for all of eternity](https://arcade.makecode.com/S05557-33904-28616-63370)**
>
> Arrow keys to look
> WASD to move forward/left/right/backward
> Shift/Space to move down/up

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [March 3, 2026, 7:46pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/17 "2026-03-03T19:46:25Z")

</div>

Very cool! But when you turn around everything glitches ☹

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [March 3, 2026, 7:46pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/18 "2026-03-03T19:46:30Z")

</div>

Guys don’t fly into any grass blocks or you will ruin the world lol

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/f/cf16a1b7f115018a81823ff36d992f79dc409e83.png)  
(Note: all cubes are inverted and movement is backwards)

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [March 4, 2026, 11:18pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/19 "2026-03-04T23:18:21Z")

</div>

oh yeah, the link can still be accessed up above

---

<div class="post-metadata">

**Author:** ![Existent\_Chicken](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/existent_chicken/32/25053_2.png) [@Existent\_Chicken](https://forum.makecode.com/u/Existent_Chicken)\
**Post date:** [March 4, 2026, 11:18pm UTC](https://forum.makecode.com/t/a-3d-thing/41142/20 "2026-03-04T23:18:24Z")

</div>

New update! We now have collision with the cubes. Please don’t ask me why these glitches happen; I have absolutely NO idea. Any insight into them would be helpful, however.

[Next page](https://forum.makecode.com/t/a-3d-thing/41142.md?page=2)
