Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » 3D on scratch, And how it's professionally accomplished
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
This is 3d, its just pseudo but it’s still the same thingPlease discuss this somewhere else, this forum is meant for 3D topics and questionsYeah btw if we are talking about 3d then I made a 3d engine (not 3d maze or anything) real, kinda, I’m talking about 3d frames here but making Sonic 2 Special Stage is the easiest choice to make pseudo-3d game!Does anyone want to make an actual ONLINE MULTIPLAYER KAHOOT IN SCRATCH? its easysure, but here isn't the place
First, get 2 sprite sheets, one for the characters and frames and stuff, other for the ground.
Get the sprite sheets here:
1. https://www.spriters-resource.com/mobile/sonicthehedgehog2/asset/64781/
2. https://www.spriters-resource.com/sega_genesis/sonicth2/asset/70829/
(Not spamming I’m just showing links to help peope if you are scratch team and read this)
Second make the start sign, get it from the first sprite sheet, add the following code:when green flag clicked
set y to (189)
repeat until <(y position) = [0]>
change y by (-5)
if <(y position) < [0]> then
set y to (0)
wait (3.92) secs
hide
end
end
I’ll tell more since I’m exhausted of typing
Now to make actual character controls, make a sonic or other character sprite use this code:when green flag clickedWhy: y needs to be -88 (depends on track shape but this is recommended to avoid fencing) and show character is for jumping animation, I’ll tell it later
show
point in direction (90)
go to x: (0) y: (-88)
when I receive [Show character v]
show
Movement (in character sprite):when green flag clicked
forever
if <<key [up arrow v] pressed?> or <key [w v] pressed?>> then
broadcast [Jump v]
end
if <<key [right arrow v] pressed?> or <key [d v] pressed?>> then
broadcast [Go to the right v]
end
if <<key [left arrow v] pressed?> or <key [a v] pressed?>> then
broadcast [Go to the left v]
end
end
- ametrine_
-
Scratcher
1000+ posts
3D on scratch, And how it's professionally accomplished
This is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
Yeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- wasducks
-
Scratcher
16 posts
3D on scratch, And how it's professionally accomplished
bruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
Ok….. but yeah at least it’s like the real game And also if anyone needs help of it go to my topic on show and tell: https://scratch.mit.edu/discuss/topic/830902/?page=1#post-8742044bruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- Dervious
-
Scratcher
2 posts
3D on scratch, And how it's professionally accomplished
when green flag clicked
if <(project) = (good enough)> then
set [motivation v] to [100000000]
Last edited by Dervious (Oct. 4, 2025 02:45:28)
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
Btw sm64 uses polygon raytracing I thinkI think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
No, it uses raster my friend. basically drawing 3D polygons to a 2D screen with zbufferingBtw sm64 uses polygon raytracing I thinkI think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
Yeah I thinked of raytracing because of 3d Minecraft in scratch and polygonsNo, it uses raster my friend. basically drawing 3D polygons to a 2D screen with zbufferingBtw sm64 uses polygon raytracing I thinkI think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- wasducks
-
Scratcher
16 posts
3D on scratch, And how it's professionally accomplished
yes I believe in bowling if you look at the side bumpers and walls you'll see that they are quite clearly raytraced, and I'm surprised they aren't more polished actually.I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- wasducks
-
Scratcher
16 posts
3D on scratch, And how it's professionally accomplished
correct me if I'm dumb but I doesn't it just like mode 7 or whatever it's called to some degree or am I just dumbBtw sm64 uses polygon raytracing I thinkI think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d

- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
It's actually not raytraced my friend, it's basically fake reflections that almost all modern games today use, it's a very cool trickyes I believe in bowling if you look at the side bumpers and walls you'll see that they are quite clearly raytraced, and I'm surprised they aren't more polished actually.I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
- wasducks
-
Scratcher
16 posts
3D on scratch, And how it's professionally accomplished
oh okay. Not trying to start an argument, I believe youIt's actually not raytraced my friend, it's basically fake reflections that almost all modern games today use, it's a very cool trickyes I believe in bowling if you look at the side bumpers and walls you'll see that they are quite clearly raytraced, and I'm surprised they aren't more polished actually.I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
could you explain that method to me a little?- kittygamer8997
-
Scratcher
69 posts
3D on scratch, And how it's professionally accomplished
wut is happening..
- wasducks
-
Scratcher
16 posts
3D on scratch, And how it's professionally accomplished
wut is happening..wdym
- Raman15
-
Scratcher
100+ posts
3D on scratch, And how it's professionally accomplished
Btw I love sm64Yeah I thinked of raytracing because of 3d Minecraft in scratch and polygonsNo, it uses raster my friend. basically drawing 3D polygons to a 2D screen with zbufferingBtw sm64 uses polygon raytracing I thinkI think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d

- hashdashpotato
-
Scratcher
1000+ posts
3D on scratch, And how it's professionally accomplished
I'm using a method were you layer objects on top of each other to make the illusion of being 3D(I've seen people make versions of this method that actually do have camera rotation, but I don't know how do too do that myself.) I've just started implementing some of the wall collision.
- leogames2016
-
Scratcher
500+ posts
3D on scratch, And how it's professionally accomplished
It's actually not raytraced my friend, it's basically fake reflections that almost all modern games today use, it's a very cool trickyes I believe in bowling if you look at the side bumpers and walls you'll see that they are quite clearly raytraced, and I'm surprised they aren't more polished actually.I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
Not if you use DX12's raytracing feature in your games. But keep in mind by doing so means losing out on userbase whose hardware can't handle hardware raytracing…
- hashdashpotato
-
Scratcher
1000+ posts
3D on scratch, And how it's professionally accomplished
I'll have to make a note of this.It's actually not raytraced my friend, it's basically fake reflections that almost all modern games today use, it's a very cool trickyes I believe in bowling if you look at the side bumpers and walls you'll see that they are quite clearly raytraced, and I'm surprised they aren't more polished actually.I think it uses raycasting for detecting collisions or hit scans, something like that, and not rendering. not sure thobruh its in the name its def 3d ALSO I JUST REALIZED THAT WII SPORTS RESORT BOWLING USES RAYCASTING GASP ITS NOT JUST OUR PETTY LITTLE SCRATCH GAMESYeah but at least kindaThis is 3d, its just pseudo but it’s still the same thingpseudo 3d is very much not the same as 3d
Not if you use DX12's raytracing feature in your games. But keep in mind by doing so means losing out on userbase whose hardware can't handle hardware raytracing…
