Discuss Scratch

Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

how do you make a full 3d game without using raycast?

Last edited by Tywow1123 (Oct. 11, 2026 18:18:23)

ClarkeGhost
Scratcher
100+ posts

how do you make a full 3d game without using raycast?

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
DragonBeast829
Scratcher
100+ posts

how do you make a full 3d game without using raycast?

You could make prerendered 3D graphics. Kinda like Donkey Kong Country. It's not 3D, but it can look pretty good.
Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

Tywow1123 wrote:

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
I think the best project on scratch is the mast created awesome-llama
Blobfish_Industries
Scratcher
100+ posts

how do you make a full 3d game without using raycast?

You would use complicated math and the pen extension. I am working on a 3D engine using C++, but it is honestly probably harder on Scratch.
xyros90
Scratcher
25 posts

how do you make a full 3d game without using raycast?

Very complicated coding that may take months.
rift7
Scratcher
88 posts

how do you make a full 3d game without using raycast?

Tywow1123 wrote:

Tywow1123 wrote:

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
I think the best project on scratch is the mast created awesome-llama
I can tell you ways, I can do rasterization, raytracing, pathtracing, raymarching, DDA raytracing, 2.5D Raycasting, etc. You don't want 2.5D Raycasting so just tell me which one you want and incase you don't know what these are just tell me what your goal is
Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

rift7 wrote:

Tywow1123 wrote:

Tywow1123 wrote:

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
I think the best project on scratch is the mast created awesome-llama
I can tell you ways, I can do rasterization, raytracing, pathtracing, raymarching, DDA raytracing, 2.5D Raycasting, etc. You don't want 2.5D Raycasting so just tell me which one you want and incase you don't know what these are just tell me what your goal is
my goal is to make a 3d game without using raycast like “the mast” by awesome-llama not that complex though.
Greenie_WasTaken
Scratcher
56 posts

how do you make a full 3d game without using raycast?

You could use math to draw triangles that then form 3D shapes, like this project by randomguy48. Might run bad though
dem_bot
Scratcher
1000+ posts

how do you make a full 3d game without using raycast?

essentially you want to keep track of a 3 by 3 rotation matrix and then you take the 3d vectors of every point, subtract the vector of the cam pos from them, and multiply them with your rotation matrix and then get the angles from the camera to them to find where on the screen they should be.
You might want to put them all in a list and sort them on how far they are (a z buffer) and then render them in that order so the layering is correct.
Usually you have shapes made of triangles consisting of three vertices each, which you can fill with a tri fill.

EDIT: I vaguely know there's also a way to do it with 4 by 4 matrix and quaternions or smt, but I don't quite understand that.

Last edited by dem_bot (Oct. 12, 2026 18:27:34)

Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

dem_bot wrote:

essentially you want to keep track of a 3 by 3 rotation matrix and then you take the 3d vectors of every point, subtract the vector of the cam pos from them, and multiply them with your rotation matrix and then get the angles from the camera to them to find where on the screen they should be.
You might want to put them all in a list and sort them on how far they are (a z buffer) and then render them in that order so the layering is correct.
Usually you have shapes made of triangles consisting of three vertices each, which you can fill with a tri fill.

EDIT: I vaguely know there's also a way to do it with 4 by 4 matrix and quaternions or smt, but I don't quite understand that.
idk what that means to
rift7
Scratcher
88 posts

how do you make a full 3d game without using raycast?

Tywow1123 wrote:

rift7 wrote:

Tywow1123 wrote:

Tywow1123 wrote:

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
I think the best project on scratch is the mast created awesome-llama
I can tell you ways, I can do rasterization, raytracing, pathtracing, raymarching, DDA raytracing, 2.5D Raycasting, etc. You don't want 2.5D Raycasting so just tell me which one you want and incase you don't know what these are just tell me what your goal is
my goal is to make a 3d game without using raycast like “the mast” by awesome-llama not that complex though.
Yeah, raycasting is pretty basic now, I highly recommened starting using tutorials by @mathmathmath and @CodingBio and look at other peoples projects
Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

rift7 wrote:

Tywow1123 wrote:

rift7 wrote:

Tywow1123 wrote:

Tywow1123 wrote:

ClarkeGhost wrote:

I'm not really sure! I only know about raycasting, but there's definitely more than one way to make a 3D game. If you need help, maybe ask awesome-llama.
Actually I saw some of his projects and Thats the reason why I want to make 3d stuff . I’ll ask him
I think the best project on scratch is the mast created awesome-llama
I can tell you ways, I can do rasterization, raytracing, pathtracing, raymarching, DDA raytracing, 2.5D Raycasting, etc. You don't want 2.5D Raycasting so just tell me which one you want and incase you don't know what these are just tell me what your goal is
my goal is to make a 3d game without using raycast like “the mast” by awesome-llama not that complex though.
Yeah, raycasting is pretty basic now, I highly recommened starting using tutorials by @mathmathmath and @CodingBio and look at other peoples projects
thanks
DragonBeast829
Scratcher
100+ posts

how do you make a full 3d game without using raycast?

@randomguy48 is making a video series on YouTube where he documents remaking Super Mario 64 in Scratch. What he has so far might interest you
Tywow1123
Scratcher
22 posts

how do you make a full 3d game without using raycast?

DragonBeast829 wrote:

@randomguy48 is making a video series on YouTube where he documents remaking Super Mario 64 in Scratch. What he has so far might interest you
ok thanks I might look into that

Powered by DjangoBB