# 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:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Shade9788](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Shade9788](https://forum.makecode.com/u/Shade9788)\
**Post date:** [February 6, 2023, 6:49am UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/166 "2023-02-06T06:49:51Z")

</div>

that is nearly impossible because make code arcade limits us on how many people could playe on one screen

---

<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:** [February 6, 2023, 6:41pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/167 "2023-02-06T18:41:56Z")

</div>

then could it be possible for just four players then?

---

<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:** [February 8, 2023, 4:02am UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/168 "2023-02-08T04:02:51Z")

</div>

and when they join the game on “online Beta” each player has their own screen.

---

<div class="post-metadata">

**Author:** ![Shade9788](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Shade9788](https://forum.makecode.com/u/Shade9788)\
**Post date:** [February 8, 2023, 9:45pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/169 "2023-02-08T21:45:51Z")

</div>

when you play recasting you would only have one camera unless somebody do split screen

---

<div class="post-metadata">

**Author:** ![Shade9788](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Shade9788](https://forum.makecode.com/u/Shade9788)\
**Post date:** [February 15, 2023, 4:39pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/170 "2023-02-15T16:39:28Z")

</div>

Is there any updates going to come?

---

<div class="post-metadata">

**Author:** ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)\
**Post date:** [February 19, 2023, 8:57pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/171 "2023-02-19T20:57:13Z")

</div>

Another question: do you think it would be possible to make Paper Mario-style gameplay using this extension? I don’t need help with the floor and stuff like that, I just need help locking the camera in one angle and making sure you can move left and right.

Kinda like this:

 ![](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b4cf1645f9bac3852d315f88b378637c31da11cf.jpeg)

---

<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:** [February 20, 2023, 12:03am UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/172 "2023-02-20T00:03:22Z")

</div>

no because you can’t go up or down.

---

<div class="post-metadata">

**Author:** ![meeeeeeeep1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meeeeeeeep1/32/7912_2.png) [@meeeeeeeep1](https://forum.makecode.com/u/meeeeeeeep1)\
**Post date:** [February 21, 2023, 10:55pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/173 "2023-02-21T22:55:02Z")

</div>

Hi! I have a question about raycasting sprites.  
I’m making a game and I want ceiling tiles, but I can’t figure out a way to change the depth/rotation of them.  
Here is what it looks like now:

 ![Screenshot 2023-02-20 at 18-09-40 Microsoft MakeCode Arcade](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/74b95b7e2c8a49e0d0c4ecd246fc780012770196.png)  
And this is what i want:  
 ![Screenshot 2023-02-20 at 18-10-16 Microsoft MakeCode Arcade(1)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/6b22413ab86247f8041b5d22fc6b69379b102403.png)  
All I want to do is change the sprites so they either are rotated or have depth.

---

<div class="post-metadata">

**Author:** ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)\
**Post date:** [February 21, 2023, 10:56pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/174 "2023-02-21T22:56:04Z")

</div>

That’s not what I meant-  
Paper Mario doesn’t move up or down, he JUMPS. The only way he can even move up is by jumping.

---

<div class="post-metadata">

**Author:** ![Codeboy-Advanced](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeboy-advanced/32/11113_2.png) [@Codeboy-Advanced](https://forum.makecode.com/u/Codeboy-Advanced)\
**Post date:** [February 22, 2023, 5:57pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/175 "2023-02-22T17:57:35Z")

</div>

that looks sick but i cant help you, sorry

_ **the backrooms** _

---

<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:** [February 22, 2023, 5:58pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/176 "2023-02-22T17:58:57Z")

</div>

do you mean while using raycasting?

---

<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:** [February 26, 2023, 8:57pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/177 "2023-02-26T20:57:10Z")

</div>

I didn’t got your requirement either. The screen shot you provided is 2D, what do you want Raycasting do?

---

<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:** [February 26, 2023, 8:57pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/178 "2023-02-26T20:57:12Z")

</div>

What you want is just like paste sprites as ceiling/gourd, which is not supported yet.

---

<div class="post-metadata">

**Author:** ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)\
**Post date:** [February 27, 2023, 6:16pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/179 "2023-02-27T18:16:35Z")

</div>

I’m sorry, that was a bad screenshot.  
I meant something like this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a17484122d506a538718b1cd857669c14aedc9fe.jpeg)  
I know those hills are more than one tile tall, but I just want to make it so that you can move around and jump on the hills in that kind of view.

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [February 27, 2023, 6:21pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/180 "2023-02-27T18:21:48Z")

</div>

Is this what you meant?

> **[Like this?](https://arcade.makecode.com/S24046-17779-54149-90750)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)\
**Post date:** [February 27, 2023, 7:05pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/181 "2023-02-27T19:05:52Z")

</div>

Yes, that IS what I meant! Thanks so much! 😄  
Now I just need to add some hills, a new character, enemies, and some other animations…  
Do I have permission to use this for a game?

---

<div class="post-metadata">

**Author:** ![meeeeeeeep1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meeeeeeeep1/32/7912_2.png) [@meeeeeeeep1](https://forum.makecode.com/u/meeeeeeeep1)\
**Post date:** [February 27, 2023, 10:43pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/182 "2023-02-27T22:43:34Z")

</div>

Thank You!

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [February 27, 2023, 10:43pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/183 "2023-02-27T22:43:53Z")

</div>

Sure! all I really did was lock the camera. The code for the floor was done by @MrFranko

---

<div class="post-metadata">

**Author:** ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)\
**Post date:** [February 27, 2023, 10:43pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/184 "2023-02-27T22:43:59Z")

</div>

3rd person camera? Seems like a cool Venge spinoff idea…

---

<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:** [February 27, 2023, 10:45pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/185 "2023-02-27T22:45:59Z")

</div>

how do you code the floor?

[Previous page](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921.md?page=8)

[Next page](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921.md?page=10)
