# Three projects I've been working on

**URL:** https://forum.makecode.com/t/three-projects-ive-been-working-on/39530
**Category:** Show & Tell
**Created:** [September 28, 2025, 2:53am UTC](https://forum.makecode.com/t/three-projects-ive-been-working-on/39530 "2025-09-28T02:53:52Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [September 29, 2025, 4:54pm UTC](https://forum.makecode.com/t/three-projects-ive-been-working-on/39530/4 "2025-09-29T16:54:05Z")

</div>

Very, very cool! I see you’re having trouble with the ray cast step distance creating weird artifacts on close walls. I would check out the video I shared in this other topic: [Lidar Game - #2 by WoofWoof](https://forum.makecode.com/t/lidar-game/39194/2)  
It explains a simple tile stepping algorithm that should get you the exact distance from the walls (while still being reasonably fast) which will avoid your walls doing this thing

 ![IMG_0344](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/1/b/1b2daf3cd7e4e18af1ec44db781441cd48036bc2.jpeg)  
It’s been a long time since [I’ve done something like this](https://forum.makecode.com/t/2-5d-using-block-code-because-i-m-literally-insane/31396) but at the time I didn’t even know what a Blit was, so you’re definitely doing more than I have! The other thing making the walls looking all curvy when looking down a long line of them is an issue with how the math works. You need a specific function to make sure the rays get closer together on the left and right and further apart in the middle so that it looks straight. I bet you could find a YouTube explanation, but you could also steal that code from that thing I did a while ago if you wanted. I don’t remember which YouTube video I watched for that part unfortunately.

Just saying that this is super super cool and awesome etc etc etc  
 etc etc…

---

_[View the full topic](https://forum.makecode.com/t/three-projects-ive-been-working-on/39530)._
