Pseudo 3-D in flowlab. (How to make)

Why because of this forum?

Okay so the reason why i’m making this topic, is because people think pseudo 3-D in flowlab is hard, (and even feature request 3-D becoming in flowlab), but its actually pretty simple. (Unless your using triangular displays, or no ray-casting). (Feel free to ask questions)!

Wall Ray-casting
Using the object behavior block called “Raycast”, which calculates the distance
between the starting point to whatever closest object it hits, we could make something called “Pseudo-3D”, but how are we gonna make “Pseudo-3D” using ray-casts? Well if we make a top-down player, top-down walls, and rays connected to the player, we can actual make a “Pseudo-3D” ray-caster.
If you connect (F.O.V number) to the player, make the distance opposite, (the lower the distance is, the higher the number is, and the higher the distance is, the lower the number is), make each ray rotated + Resolution, (Make it that if the number is higher than 360, it will now plus by Resolution), insert it into size, you have a 3-D ray-caster, and also to fix fisheye, make it the higher the size, the more it will subtract the size, (i IMPORTANT ! Make it a only once activation when the size changes).

To fix bugs

If your walls look weird when you look at a side view of a wall Make the hit-boxes of the walls bigger. (This only happens if your F.O.V is higher than 60).

If your walls look way to pixelated, put a rotation in the walls.

Mistakes
(Also I can’t make an example right now it is 11-12PM,
might be spelling mistakes, and some missing info, I can’t check right now its too late an night).

Might add how to make floor ray-casting!

How can i make a 3rd person 3d world

1 Like

I would have to explain a lot, and I wouldn’t even make that inside flowlab, its gonna take some months to make, anyways i’m gonna go to bed it’s late and I only slept a little last night.

Also i’m not saying its not possible.

1 Like

And also I could explain it to you but i’d doubt you’d read a entire long essay, about rotation, looking up and down, F.O.V, floor raycasting, bug fixes, texturing, and more.

1 Like

Want me to explain how? (There will be no ray-casting, or any triangles).
(I’m not making a game example because that will take me spending 13-14 hours of my day, and its fathers day, but I could make an example tomorrow).

Yes please