# 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:** 4

<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:12pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/64 "2025-07-02T17:12:41Z")

</div>

The ceiling fails to render correctly when I increase the screen resolution, which is annoying as I’m working on a map with large hallways and it looks bad in low resolution

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/36648_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [July 7, 2025, 6:05pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/65 "2025-07-07T18:05:39Z")

</div>

Yeah, high resolution isn’t a supported feature so none of the extensions are made to be compatible with it 😕

---

<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 7, 2025, 11:45pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/66 "2025-07-07T23:45:46Z")

</div>

Most extensions work with it anyway because they use (screen height) and (screen width)

---

<div class="post-metadata">

**Author:** ![justaramdonperson1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/justaramdonperson1/32/23598_2.png) [@justaramdonperson1](https://forum.makecode.com/u/justaramdonperson1)\
**Post date:** [July 21, 2025, 3:01am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/67 "2025-07-21T03:01:19Z")

</div>

it would be really helpfull if you add a block that will change the scale of a certain floor tile pls 😀

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/36648_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [July 21, 2025, 11:16pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/68 "2025-07-21T23:16:32Z")

</div>

What do you mean by scale?

---

<div class="post-metadata">

**Author:** ![justaramdonperson1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/justaramdonperson1/32/23598_2.png) [@justaramdonperson1](https://forum.makecode.com/u/justaramdonperson1)\
**Post date:** [July 28, 2025, 2:05am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/69 "2025-07-28T02:05:35Z")

</div>

like insted of it being a floor it will be a block that you can go thou like a door

---

<div class="post-metadata">

**Author:** ![BlobDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobdev/32/36825_2.png) [@BlobDev](https://forum.makecode.com/u/BlobDev)\
**Post date:** [July 28, 2025, 3:05am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/70 "2025-07-28T03:05:01Z")

</div>

Is it possible to make somthing like a minecraft tree

---

<div class="post-metadata">

**Author:** ![aBoiWhoMakesGames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aboiwhomakesgames/32/23312_2.png) [@aBoiWhoMakesGames](https://forum.makecode.com/u/aBoiWhoMakesGames)\
**Post date:** [October 6, 2025, 2:00am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/71 "2025-10-06T02:00:40Z")

</div>

bro i’ve been using this extension is 50% of my projects. THANK YOU SOOOOOOOO MUCH!

---

<div class="post-metadata">

**Author:** ![mrbananaguy1234](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mrbananaguy1234](https://forum.makecode.com/u/mrbananaguy1234)\
**Post date:** [October 13, 2025, 4:45pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/72 "2025-10-13T16:45:39Z")

</div>

make 3d tilemaps plz

---

<div class="post-metadata">

**Author:** ![DEBOI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deboi/32/25485_2.png) [@DEBOI](https://forum.makecode.com/u/DEBOI)\
**Post date:** [November 5, 2025, 11:17pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/73 "2025-11-05T23:17:45Z")

</div>

@neintoes Yeah I need directional animations for my doom game

---

<div class="post-metadata">

**Author:** ![aBoiWhoMakesGames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aboiwhomakesgames/32/23312_2.png) [@aBoiWhoMakesGames](https://forum.makecode.com/u/aBoiWhoMakesGames)\
**Post date:** [February 12, 2026, 5:57pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/74 "2026-02-12T17:57:01Z")

</div>

Bro I’m using this for my new game! Thanks a bunch!

---

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://forum.makecode.com/u/Mik)\
**Post date:** [June 8, 2026, 5:40pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/75 "2026-06-08T17:40:30Z")

</div>

Animation block does not appear. Only

 ![IMG_1633](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/7/272a08decf183748f3a895deb51fbd1e7343cdb3.png)

---

<div class="post-metadata">

**Author:** ![cveredly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cveredly/32/36817_2.png) [@cveredly](https://forum.makecode.com/u/cveredly)\
**Post date:** [July 4, 2026, 6:35pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/76 "2026-07-04T18:35:20Z")

</div>

Does anyone know how do I implement Wall Height? I’ve tried this before and affectively broke my game (The walls started flying off the floor), I can’t find a way around this. I’m only using Wall Height to make the illusion of a bigger scale, because the game is stuck to a “crawl space” feeling.

---

<div class="post-metadata">

**Author:** ![Spind213k](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Spind213k](https://forum.makecode.com/u/Spind213k)\
**Post date:** [August 24, 2026, 10:57pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/77 "2026-08-24T22:57:36Z")

</div>

Dude, thank you so much! I wanted to do The Backrooms, and I was worried about the carpet and the lamps for a long time. You should be awarded the Nobel Prize.

---

<div class="post-metadata">

**Author:** ![ShadowWhisker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shadowwhisker/32/35148_2.png) [@ShadowWhisker](https://forum.makecode.com/u/ShadowWhisker)\
**Post date:** [September 9, 2026, 6:44pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/78 "2026-09-09T18:44:37Z")

</div>

The ceiling can jump lol

---

<div class="post-metadata">

**Author:** ![CondorCraft940](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/condorcraft940/32/35368_2.png) [@CondorCraft940](https://forum.makecode.com/u/CondorCraft940)\
**Post date:** [September 18, 2026, 11:58pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/79 "2026-09-18T23:58:17Z")

</div>

Can you show us the exact code you used to make the floor and ceiling, and the URL we need to type into the extensions bar? If so, I really appreciate it.

---

<div class="post-metadata">

**Author:** ![Sword\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sword_studios/32/36911_2.png) [@Sword\_Studios](https://forum.makecode.com/u/Sword_Studios)\
**Post date:** [September 18, 2026, 11:58pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/80 "2026-09-18T23:58:56Z")

</div>

Welcome to the forums!

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/36648_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [September 21, 2026, 6:28am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/81 "2026-09-21T06:28:17Z")

</div>

Welcome! 👋 the code link you need to enter is [https://github.com/neintoes/pxt-raycasting](https://github.com/neintoes/pxt-raycasting) and if you go to that link you’ll see the repository for the code, which is basically just a folder with all of the code in it and also a helpful explanation of the code in the README.md file. You can open the readme to read more about the code or open ‘main.ts’ to see the actual code. Let me know if this is enough info!

---

<div class="post-metadata">

**Author:** ![CodeTycoon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codetycoon/32/27588_2.png) [@CodeTycoon](https://forum.makecode.com/u/CodeTycoon)\
**Post date:** [September 21, 2026, 6:29am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/82 "2026-09-21T06:29:30Z")

</div>

This is the repo, should also work as the extensions URL (or just copy the example project and edit it yourself): [https://github.com/The-Code-Zone/Raycasting-pxt-extension](https://github.com/The-Code-Zone/Raycasting-pxt-extension)

---

<div class="post-metadata">

**Author:** ![Ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@Ricky](https://forum.makecode.com/u/Ricky)\
**Post date:** [October 2, 2026, 10:52pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/83 "2026-10-02T22:52:51Z")

</div>

Is there any chance you could make a code where you can change the height of the ceiling please.

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