# 3d Rendering with floor and ceiling!

**URL:** <https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758>\
**Category:** Arcade\
**Tags:** game, graphics-and-math, extension\
**Created:** [July 20, 2024, 5:06pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758 "2024-07-20T17:06:04Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![awdrgyjil](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/awdrgyjil/32/20926_2.png) [@awdrgyjil](https://forum.makecode.com/u/awdrgyjil)\
**Post date:** [July 31, 2024, 4:44pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/41 "2024-07-31T16:44:15Z")

</div>

That will have so much lag

---

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [August 9, 2024, 9:46pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/42 "2024-08-09T21:46:40Z")

</div>

can I have the link not in GitHub? my school blocks the website. or what do I type in the extension search bar?

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [August 9, 2024, 10:58pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/43 "2024-08-09T22:58:53Z")

</div>

You don’t need to click the link just copy and paste it into the search bar.

---

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [August 12, 2024, 1:59am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/44 "2024-08-12T01:59:31Z")

</div>

this doesn’t work.

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [August 12, 2024, 4:12am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/45 "2024-08-12T04:12:06Z")

</div>

Hmm… do you know what I meant by search bar because I can see how someone might confuse that. I meant the extension search bar in MakeCode

 ![IMG_0842](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/a/ea041f31ed33b5879e55f12758f0d57e65ab9705.jpeg)

---

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [August 12, 2024, 2:45pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/48 "2024-08-12T14:45:45Z")

</div>

Yes I do know what you mean.

---

<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:** [August 16, 2024, 3:24am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/49 "2024-08-16T03:24:07Z")

</div>

I was going to make a game with this extension but realized that the set directional animation block from the original raycasting extension is missing. If you could add that block into the extension that would help allot. thanks!

---

<div class="post-metadata">

**Author:** ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)\
**Post date:** [October 31, 2024, 2:54pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/50 "2024-10-31T14:54:41Z")

</div>

it wont work for me either

---

<div class="post-metadata">

**Author:** ![MicroMan7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/microman7/32/18103_2.png) [@MicroMan7](https://forum.makecode.com/u/MicroMan7)\
**Post date:** [November 15, 2024, 7:47pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/51 "2024-11-15T19:47:20Z")

</div>

I like the _doom_ like feel too! is this (ray casting) ?

---

<div class="post-metadata">

**Author:** ![MicroMan7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/microman7/32/18103_2.png) [@MicroMan7](https://forum.makecode.com/u/MicroMan7)\
**Post date:** [November 15, 2024, 7:47pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/52 "2024-11-15T19:47:23Z")

</div>

Neverminded, I see it in your notes now 🙂 Too cool!

---

<div class="post-metadata">

**Author:** ![MicroMan7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/microman7/32/18103_2.png) [@MicroMan7](https://forum.makecode.com/u/MicroMan7)\
**Post date:** [November 17, 2024, 8:35pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/53 "2024-11-17T20:35:36Z")

</div>

Looks Great!

---

<div class="post-metadata">

**Author:** ![DanielisDaBest](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danielisdabest/32/18412_2.png) [@DanielisDaBest](https://forum.makecode.com/u/DanielisDaBest)\
**Post date:** [November 27, 2024, 7:50pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/54 "2024-11-27T19:50:52Z")

</div>

Im trying to use this tool to make the A-rooms in doors but how do i Import it into my project?

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [November 28, 2024, 6:29pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/55 "2024-11-28T18:29:17Z")

</div>

> [@neintoes](#):
>
> [https://github.com/neintoes/pxt-raycasting](https://github.com/neintoes/pxt-raycasting)

This link does not seem to be working for me… Can anyone help me?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/5/d/5d90bc0a2c8b83f60bb9fb01bd4a3890a01d6d4d.png)

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [November 28, 2024, 6:30pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/56 "2024-11-28T18:30:02Z")

</div>

Looks like the OP changed their GitHub name. The repo is now here:

> **[GitHub - The-Code-Zone/Raycasting-pxt-extension: AqeeAqee's raycasting extension now with ceiling...](https://github.com/The-Code-Zone/Raycasting-pxt-extension)**
>
> AqeeAqee's raycasting extension now with ceiling rendering and MrFranko's floor rendering

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [November 29, 2024, 4:17am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/57 "2024-11-29T04:17:12Z")

</div>

Thank You!

---

<div class="post-metadata">

**Author:** ![PortingPlayTimeCO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/portingplaytimeco/32/23594_2.png) [@PortingPlayTimeCO](https://forum.makecode.com/u/PortingPlayTimeCO)\
**Post date:** [March 24, 2025, 2:37am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/59 "2025-03-24T02:37:28Z")

</div>

how do you unrender the ceiling? im making a doom game and since you cant make backgrounds and ceilings at the same time (no background just black) so i decided to just have one level be just the background but the ceiling is the same from the last level with a ceiling, and i cant find a way to just get rid of it (if you dont use a ceiling at all it shows the background)

---

<div class="post-metadata">

**Author:** ![PortingPlayTimeCO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/portingplaytimeco/32/23594_2.png) [@PortingPlayTimeCO](https://forum.makecode.com/u/PortingPlayTimeCO)\
**Post date:** [March 24, 2025, 2:38am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/60 "2025-03-24T02:38:54Z")

</div>

heres the code, its kinda messy but eh [https://arcade.makecode.com/S20987-72148-50558-75227](https://arcade.makecode.com/S20987-72148-50558-75227)

---

<div class="post-metadata">

**Author:** ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)\
**Post date:** [April 21, 2025, 7:27pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/61 "2025-04-21T19:27:39Z")

</div>

Hey, if this is still being worked on, could the ceiling be set up in a way so that the `arcade-tile-util` extension works with modifying and reading the ceiling tilemap, like make it use the tilemap block instead of the tilemap input type that was used here, and/or add a block to read/write the ceiling tilemap?

Also, could you fix the directional animations so that the block works again?

---

<div class="post-metadata">

**Author:** ![Stickman4269](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/stickman4269/32/23582_2.png) [@Stickman4269](https://forum.makecode.com/u/Stickman4269)\
**Post date:** [July 1, 2025, 4:55pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/62 "2025-07-01T16:55:36Z")

</div>

10/10 would recommend

---

<div class="post-metadata">

**Author:** ![Stickman4269](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/stickman4269/32/23582_2.png) [@Stickman4269](https://forum.makecode.com/u/Stickman4269)\
**Post date:** [July 2, 2025, 5:10pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/63 "2025-07-02T17:10:56Z")

</div>

would it be possible to update the ceiling block to accept variable input?

[Previous page](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758.md?page=2)

[Next page](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758.md?page=4)
