# Raycasting 3D render -- Blocks Edition

**URL:** <https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921>\
**Category:** Game Design\
**Tags:** game, graphics-and-math, extension\
**Created:** [April 1, 2022, 6:23pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921 "2022-04-01T18:23:28Z")\
**Posts on this page:** 1\
**Showing post:** 63

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [June 6, 2022, 9:28pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/63 "2022-06-06T21:28:21Z")

</div>

@jwunderl @CarltonFade @Kiwiphoenix364  
Hi guys!  
**as to the multi-level and floor/ceiling:**  
Thanks for your valuable suggestions! These will be adopt when I coding them.

I did some test, the FPS will down to about 8 on device/console with just drawing walls twice. So this extension is not fast enough to do these features right now, I think. We can’t add these until perf has a significant impovement some day.  
But, I know, these are all attractive features, I love them too. I will do my best to optimize perf furture. I am thinking about a new optimized algorithm based on raycasting. But it is a big change, need some time to rewrite almost **ALL** the rendering codes of walls, and then check it works or not.  
Hope I can made it. 🤣

And leave your comments above 2 new previews pls. It won’t be merge into the extension, until you are satisfied with these results.

Thanks a lot for your support as always!

---

_[View the full topic](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921)._
