# Help with a raycasting map

**URL:** https://forum.makecode.com/t/help-with-a-raycasting-map/5868
**Category:** Help
**Created:** [January 29, 2021, 4:59pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868 "2021-01-29T16:59:41Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [January 29, 2021, 4:59pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/1 "2021-01-29T16:59:41Z")

</div>

So there is another project I am trying to make ([MakeCode Kart](https://forum.makecode.com/t/makecode-kart/5787)) And I need help with the making of the race tracks:  
 ![art](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/97d67dc63b0df7ca3e4f1631b62358e844552b0e.png)  
 ![art (1)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/adfb73a5bded1a8a6f4b62d771f6ef885782691f.png)  
Here is the battle circuits:  
 ![art (2)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7bec2576c5971580b47d8301e190c19a43d5b9d0.png)  
They all have the same pixel size somewhat. This is just to give you an idea of how it will go through.  
Can you help me @mmoskal?

---

<div class="post-metadata">

### Author: ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)
#### Post date: [January 29, 2021, 6:19pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/2 "2021-01-29T18:19:25Z")

</div>

maybe use @mmoskal 's 3d map as a base for your game i mean if that is okay with him

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [January 29, 2021, 6:53pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/3 "2021-01-29T18:53:33Z")

</div>

The problem is, It does not involve walls (except the battle circuit, but it still needs smaller walls.) For the race circuits I just want the floor to look like that.

---

<div class="post-metadata">

### Author: ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)
#### Post date: [January 29, 2021, 7:38pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/4 "2021-01-29T19:38:24Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/efab8cb47f862032d0d91b3c8a9fe8d970764011.png)  
i think that we use this function to make the character move and i think that we can find the thing that makes walls and set them to ghost and change the size too

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [January 29, 2021, 8:06pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/5 "2021-01-29T20:06:16Z")

</div>

I was reading the code, and no, it should be in a different section. The code is so precise, and maybe it is rigid, so I do not know if adjustments would cause it to go wonk.

---

<div class="post-metadata">

### Author: ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)
#### Post date: [January 29, 2021, 8:57pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/6 "2021-01-29T20:57:13Z")

</div>

well i guess we need to take that risk

---

<div class="post-metadata">

### Author: ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)
#### Post date: [January 30, 2021, 5:43pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/7 "2021-01-30T17:43:45Z")

</div>

Wait use outrun as a template!

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [January 30, 2021, 7:30pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/8 "2021-01-30T19:30:51Z")

</div>

Use what?

---

<div class="post-metadata">

### Author: ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)
#### Post date: [January 30, 2021, 11:37pm UTC](https://forum.makecode.com/t/help-with-a-raycasting-map/5868/9 "2021-01-30T23:37:01Z")

</div>

> [@Outrun](https://forum.makecode.com/t/outrun/5296):
>
> I love Outrun and and I used it as inspiration for this javascript racing game. There isn’t no need to say it, you’re driving a Ferrari !! [Outrun](https://makecode.com/_VW37Xaf77L0y)
