# 3D Racer Tech Ideas

**URL:** <https://forum.makecode.com/t/3d-racer-tech-ideas/30096>\
**Category:** Arcade\
**Created:** [August 12, 2024, 2:46pm UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096 "2024-08-12T14:46:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kikketer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikketer/32/16551_2.png) [@Kikketer](https://forum.makecode.com/u/Kikketer)\
**Post date:** [August 12, 2024, 2:46pm UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096/1 "2024-08-12T14:46:13Z")

</div>

So I’ve seen lots of the raycasting games and had a thought about one that would be more of a racing theme. I have zero experience in the raycasting realm so I’m not sure if it’s a good fit.

From what I can tell (just listening to that little code monster in my head) is that I have 3 options:

1. Raycasting = might not be a good fit, might be slow? Hills?
2. Scaling images = basically you stack road textures and scale them closer to the screen… It almost looks like you are racing on top of a series of cards but there are some old games that did this.
3. Custom = (almost leaning to this cuz I like to roll my own stuff). Thinking a somewhat simplistic vector style drawing of lines curves, etc…

Note: Like most of my games, I don’t like using “the extension is all you need” because my goal isn’t to make a game (what?!) it’s to learn how to make a game 🙂

Inspiration:  
Rad Racer NES:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/5/c5f9573d1806a767489ce2705a826112208d9c5d.png)

Can’t remember the game name for the stacked sprites thing ☹

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [August 12, 2024, 2:53pm UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096/2 "2024-08-12T14:53:24Z")

</div>

Give these a look, @Kikketer . There is a bit of a blurring of the lines between raycasting and “mode 7.” I haven’t worked in either space in a long time, so I’m not able to provide an informed opinion on which direction to take.

> [@A little racing "game"](https://forum.makecode.com/t/a-little-racing-game/561):
>
> Not very playable, but gets the idea how to draw a road.

> [@MakeCode Kart](https://forum.makecode.com/t/makecode-kart/5787/26):
>
> @Primal_Nexus @Colethewolf @ggiscool @MopishCobra75 @SCAR.chris I made this prototype. Adapted @mmoskal’s code To change the track change the array found. 1 is left, 0 is foward, and 2 is right.

> [@Isometric render](https://forum.makecode.com/t/isometric-render/22580):
>
> A preview of my Isometric Render: Building on the same framework of my [Raycasting 3D render – Blocks Edition](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921) extension. Most features of raycasting are planned supportting, but some not finished yet. Tiles rotating algorithm is based on the [SNES mode 7 transformations](https://forum.makecode.com/t/snes-mode-7-transformations/8530) Main features implemented: Render view following selfSpr position & view angle Tilemap: supported Sprite: build-in blocks: Position, Scale, Projectile, SayText, Particle Effect extension feature: jump, floating,etc. Walls b…

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [August 12, 2024, 5:06pm UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096/3 "2024-08-12T17:06:48Z")

</div>

yeah, as alex mentioned I would recommend taking a look at how the SNES did [mode 7](https://en.wikipedia.org/wiki/Mode_7) graphics; there are many tutorials online outlining the math involved. it’s much less complicated than raycasting, but creates a great faux-3d effect in racing games like f-zero

---

<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:** [August 13, 2024, 1:47am UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096/4 "2024-08-13T01:47:17Z")

</div>

You might want to check out [World race](https://forum.makecode.com/t/world-race/13543). Its probably the best example of a pseudo-3d racer in Makecode Arcade. I made a tech demo a while ago with scaling sprites for the road but I can’t seem to find it…

---

<div class="post-metadata">

**Author:** ![Kikketer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikketer/32/16551_2.png) [@Kikketer](https://forum.makecode.com/u/Kikketer)\
**Post date:** [August 17, 2024, 3:19am UTC](https://forum.makecode.com/t/3d-racer-tech-ideas/30096/5 "2024-08-17T03:19:16Z")

</div>

Thank you this lead me to [http://www.extentofthejam.com/pseudo/](http://www.extentofthejam.com/pseudo/) where I think I’ll enjoy the read/learn 🙂 .
