# Can someone pls make raycasting with depth

**URL:** https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662
**Category:** Arcade
**Tags:** extension
**Created:** [January 29, 2023, 11:59pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662 "2023-01-29T23:59:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)
#### Post date: [January 29, 2023, 11:59pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/1 "2023-01-29T23:59:11Z")

</div>

I can only make games in raycasting without depth, (which is great thanks to aqee aqee,) but it would be nice to also have depth to make games like 1v1 lol or minecraft.

---

<div class="post-metadata">

### Author: ![Slimey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/slimey/32/27894_2.png) [@Slimey](https://forum.makecode.com/u/Slimey)
#### Post date: [January 8, 2026, 10:12pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/2 "2026-01-08T22:12:49Z")

</div>

interesting question… i have the same issue and want to make a script that uses the raycaster extension for this, or create my own new raycasting system.

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [January 9, 2026, 12:03am UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/3 "2026-01-09T00:03:43Z")

</div>

There have been some attempts at this, many getting quite far, but I think the main issue is that even if you could show objects on the screen, you would need to define levels as hundreds of points. There is already a demo for 3D rendering by @Brohann: [Brohann's 3D devlog](https://forum.makecode.com/t/brohanns-3d-devlog/20917) you would just need to turn it into a game!

P.S. Posts older than a year or two generally shouldn’t be dragged up from the depths, so please check how old a post is before replying. That user hasn’t been on Makecode for over a year, so you probably won’t get a response anytime soon.

---

<div class="post-metadata">

### Author: ![Slimey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/slimey/32/27894_2.png) [@Slimey](https://forum.makecode.com/u/Slimey)
#### Post date: [January 9, 2026, 5:34pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/4 "2026-01-09T17:34:34Z")

</div>

my faviorite makecode forum peaple ar reacting to stuuf where i chat! 😁

---

<div class="post-metadata">

### Author: ![Slimey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/slimey/32/27894_2.png) [@Slimey](https://forum.makecode.com/u/Slimey)
#### Post date: [January 9, 2026, 5:35pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/5 "2026-01-09T17:35:02Z")

</div>

btw, you can use the buildt in height of the raycasting extension to change your height and tilemap repeatedly and screenshot every frame and turning that into the backround.

 ![canvas (10)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/7/d7562a90f215439cdd8f72bb9adb207f47a1a96f.png)

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [January 9, 2026, 8:36pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/6 "2026-01-09T20:36:07Z")

</div>

I umm… so… no…? I mean, yes, but also really no. You wouldn’t be able to give things bottom faces, and I believe the automatic tile culling in the extension will delete tiles that you “can’t see” and you’ll want to be able to see said tiles when looking from the bottom. Also the main issue isn’t the physical setup, it’s the lag. I would be surprised if that method works at more than 15fps. The issue is always going to be lag. Obviously it’s physically possible, but until you can run it at at least 30fps it’s not going to be very good.

---

<div class="post-metadata">

### Author: ![Pneumonoultramicro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pneumonoultramicro/32/35403_2.png) [@Pneumonoultramicro](https://forum.makecode.com/u/Pneumonoultramicro)
#### Post date: [September 19, 2026, 7:34pm UTC](https://forum.makecode.com/t/can-someone-pls-make-raycasting-with-depth/17662/7 "2026-09-19T19:34:47Z")

</div>

I’m also having a problem with this. I’m trying to demake _ULTRAKILL_, but the vertical height limitations are **very** annoying, mostly because it kills the game’s look (how appealing it is).

Also, I think I have something ‘similar’ to what @Slimey described, although it just **changes the wallZheight when you enter a room**. The problem is, I can’t add secrets (mostly the elevated ones), and wall jumping is basically useless (which is why I didn’t add it, and slam storage either [the vertical height version]). I feel like carving a hole through my brain, but maybe in later variations it **may be possible**.
