Discuss Scratch

jaenotfake4
Scratcher
6 posts

3D on scratch, And how it's professionally accomplished

jaenotfake4 wrote:

define converted (3d drawing math)
set [Draw X v] to (( (Point X) - (Camera X)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
set [Draw Y v] to (( (Point Y) - (Camera Y)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
converted [Draw X = ( Point X - Camera X ) * ( FOV / ( Point Z - Camera Z ) ) Draw Y = ( Point Y - Camera Y ) * ( FOV / ( Point Z - Camera Z ) )]
anyways I just wanted to converted to scratch blocks
jaenotfake4
Scratcher
6 posts

3D on scratch, And how it's professionally accomplished

object version
if <((Point Z) - (Camera Z)) <[1]> then 
hide
else
set [depth mult v] to ( (FOV) / ( (Point Z) - (Camera Z) )
set [Draw X v] to (( (Point X) - (Camera X)) * (depth mult))
set [Draw Y v] to (( (Point Y) - (Camera Y)) * (depth mult))
set size to ([100] / (depth mult))
go to x: (Draw X) y: (Draw Y) // Add this to actually move the sprite!
show
end
pen version
define draw to x:(x) y:(y) z:(z) // Pass point coordinates as inputs
if <((z) - (Camera Z)) < [1]> then
// Do nothing (don't draw if behind camera)
else
set [depth_mult v] to ((FOV) / ((z) - (Camera Z)))
set [Draw X v] to (((x) - (Camera X)) * (depth_mult))
set [Draw Y v] to (((y) - (Camera Y)) * (depth_mult))
go to x: (Draw X) y: (Draw Y)
set pen size to (depth_mult)
pen down // Or use "stamp" if you want to draw a dot
pen up
end

Last edited by jaenotfake4 (April 8, 2026 16:41:04)

ILOVETRAINS24100
Scratcher
41 posts

3D on scratch, And how it's professionally accomplished

jaenotfake4 wrote:

define converted (3d drawing math)
set [Draw X v] to (( (Point X) - (Camera X)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
set [Draw Y v] to (( (Point Y) - (Camera Y)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
converted [Draw X = ( Point X - Camera X ) * ( FOV / ( Point Z - Camera Z ) ) Draw Y = ( Point Y - Camera Y ) * ( FOV / ( Point Z - Camera Z ) )]
What is this?
fenchthebuilder13
Scratcher
54 posts

3D on scratch, And how it's professionally accomplished

ILOVETRAINS24100 wrote:

jaenotfake4 wrote:

define converted (3d drawing math)
set [Draw X v] to (( (Point X) - (Camera X)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
set [Draw Y v] to (( (Point Y) - (Camera Y)) * ( (FOV) / ( (Point Z) - (Camera Z) ) ))
converted [Draw X = ( Point X - Camera X ) * ( FOV / ( Point Z - Camera Z ) ) Draw Y = ( Point Y - Camera Y ) * ( FOV / ( Point Z - Camera Z ) )]
What is this?
3D projection
Mimi-EEEEE
Scratcher
100+ posts

3D on scratch, And how it's professionally accomplished

One day, I'll make a 3D Raytraced Platformer on scratch. Maybe.
Paradox5698
Scratcher
2 posts

3D on scratch, And how it's professionally accomplished

3dMain wrote:

Raman15 wrote:

Destructor_chess wrote:

tottsmc wrote:

HenriVC wrote:

Davtech12 wrote:

glue3d is gonna be the best 3d engine on scratch fr
is realesed!
its the only 3D engine on scratch
NOT AT ALL
true, cuz IM MAKING CSV CODER WHICH IS 2D/3D engine
bro is trying to one-up Gl00B now ggs guys we're cooked the war of the
well its 2D/3D so why not? Glue3D doesn't have 2D so I think it's a good thing.
ametrine_
Scratcher
1000+ posts

3D on scratch, And how it's professionally accomplished

Paradox5698 wrote:

well its 2D/3D so why not? Glue3D doesn't have 2D so I think it's a good thing.
because 2d games are already very easy to make in scratch
fenchthebuilder13
Scratcher
54 posts

3D on scratch, And how it's professionally accomplished

Paradox5698 wrote:

3dMain wrote:

Raman15 wrote:

Destructor_chess wrote:

tottsmc wrote:

HenriVC wrote:

Davtech12 wrote:

glue3d is gonna be the best 3d engine on scratch fr
is realesed!
its the only 3D engine on scratch
NOT AT ALL
true, cuz IM MAKING CSV CODER WHICH IS 2D/3D engine
bro is trying to one-up Gl00B now ggs guys we're cooked the war of the
well its 2D/3D so why not? Glue3D doesn't have 2D so I think it's a good thing.
some 3D minecraft games are made with raycasting in scratch. but the original one we played is created with 3D projection

Last edited by fenchthebuilder13 (April 9, 2026 17:33:44)

El_gatoxd
Scratcher
17 posts

3D on scratch, And how it's professionally accomplished

Wow thx
_-ValX-_
Scratcher
500+ posts

3D on scratch, And how it's professionally accomplished

fenchthebuilder13 wrote:

why if your gonna make a 4D game huh?
That would be so hard bro idk why anyone would do that
fenchthebuilder13
Scratcher
54 posts

3D on scratch, And how it's professionally accomplished

_-ValX-_ wrote:

fenchthebuilder13 wrote:

why if your gonna make a 4D game huh?
That would be so hard bro idk why anyone would do that
since some people can do that like 2.5D 3D or 4D

Last edited by fenchthebuilder13 (April 9, 2026 20:23:30)

3dMain
Scratcher
5 posts

3D on scratch, And how it's professionally accomplished

yay I finally coded my first tri filler
cj_88000
Scratcher
7 posts

3D on scratch, And how it's professionally accomplished

3dMain wrote:

yay I finally coded my first tri filler
Nice, now add textures
ProjetosPT-BR
Scratcher
78 posts

3D on scratch, And how it's professionally accomplished

Raman15 wrote:

TeedyEmu wrote:

Thread is just a month away from being a year old. Congrats.
Now it's actually a year old

Mimi-EEEEE wrote:

3dMain wrote:

Raman15 wrote:

Destructor_chess wrote:

tottsmc wrote:

HenriVC wrote:

Davtech12 wrote:

glue3d is gonna be the best 3d engine on scratch fr
is realesed!
its the only 3D engine on scratch
NOT AT ALL
true, cuz IM MAKING CSV CODER WHICH IS 2D/3D engine
bro is trying to one-up Gl00B now ggs guys we're cooked the war of the
of the 3d engines? watch voxelbear's newest video to see another 3d engine
I didn't know voxelbear made a 3d engine!!!

B R U H

it was not from voxelbear
mikhail_a_m
Scratcher
32 posts

3D on scratch, And how it's professionally accomplished

_-ValX-_ wrote:

fenchthebuilder13 wrote:

why if your gonna make a 4D game huh?
That would be so hard bro idk why anyone would do that
actually, the projection formula is just

go to x: x/w y: y/w z: z/w
go to x: x/z y: y/z

ive actually made one before
Raman15
Scratcher
100+ posts

3D on scratch, And how it's professionally accomplished

ProjetosPT-BR wrote:

Raman15 wrote:

TeedyEmu wrote:

Thread is just a month away from being a year old. Congrats.
Now it's actually a year old

Mimi-EEEEE wrote:

3dMain wrote:

Raman15 wrote:

Destructor_chess wrote:

tottsmc wrote:

HenriVC wrote:

Davtech12 wrote:

glue3d is gonna be the best 3d engine on scratch fr
is realesed!
its the only 3D engine on scratch
NOT AT ALL
true, cuz IM MAKING CSV CODER WHICH IS 2D/3D engine
bro is trying to one-up Gl00B now ggs guys we're cooked the war of the
of the 3d engines? watch voxelbear's newest video to see another 3d engine
I didn't know voxelbear made a 3d engine!!!

B R U H

it was not from voxelbear

I thought he meant 3d engine where you make stuff in it I found out it's actually a platformer
Raman15
Scratcher
100+ posts

3D on scratch, And how it's professionally accomplished

I would like to show you some info about CSV Closer but SCRATCH DIDNT LET ME POST THIS ALL BECAUSE I SAID 5.13D
Raman15
Scratcher
100+ posts

3D on scratch, And how it's professionally accomplished

Scratch needs real moderators
ametrine_
Scratcher
1000+ posts

3D on scratch, And how it's professionally accomplished

Raman15 wrote:

Scratch needs real moderators
it has real moderators already
ProjetosPT-BR
Scratcher
78 posts

3D on scratch, And how it's professionally accomplished

Raman15 wrote:

I would like to show you some info about CSV Closer but SCRATCH DIDNT LET ME POST THIS ALL BECAUSE I SAID 5.13D
closer?

Powered by DjangoBB