Discuss Scratch

-JamesBond007-
New Scratcher
1 post

Hello, I need help making a 3D game.

Hello, I am James Bond.
I have a mission I'm doing on Scratch. I am to find 2 people named Hector Gonzales and General Grubozaboyschikoz.
But thats not what I am asking for help with.
I am bored and it might take me a while to find them.
So while I am waiting, I am interested in making a 3D game.
I need some help though.
You might say I can do anything if I can hack a Goldeneye Satellite but I was never into game making.
If you could please give me some help I will be very grateful.
Thank you.
Bond out.
PetPaw
Scratcher
60 posts

Hello, I need help making a 3D game.

Cool Idea! But Scratch is meant to be simple so there`s no 3-D features.
What kind of 3-D game where you trying to make?
MegaApuTurkUltra
Scratcher
1000+ posts

Hello, I need help making a 3D game.

Scratch doesn't have 3d built in. However, you can fake 3d by moving sprites around and changing their size, as I did here: http://scratch.mit.edu/projects/25016912/ You could also potentially try using pen drawing, but that will require custom blocks with screen refresh turned off to speed up draw loops.

Basically, to make 3d you have to use

set [2d_x v] to ((3d_x)/(3d_z))
set [2d_y v] to ((3d_y)/(3d_z))
Of course I went further and adjusted for fov and aspect ratio, see my project link above. You can find some great stuff on projection online if you're interested. You will need to know some basic geometry (mostly triangle similarity) and trigonometry (to rotate stuff).

Also, I don't really like your style of acting like James Bond. (But I would know a lot about acting like a fictional character… Just look at my avatar)

Last edited by MegaApuTurkUltra (Aug. 9, 2014 15:19:59)

supercreeper2005
Scratcher
100+ posts

Hello, I need help making a 3D game.

I know I'm not that good, but
Set these custom blocks
define change z by (number 1)
change y by (number 1)
change size by ((number 1) - ((number 1) * (2)))
define set z to (number 1)
set y to (number 1)
set size to ((number 1) - ((number 1) * (2))) %
beadyeyes
Scratcher
30 posts

Hello, I need help making a 3D game.

make some objects and apply the same script to them all.
forever

if <key [ w] pressed?> then

change size by ()10
end

end

do this in reverse (with -10 instead of 10 and s instead of w.
a 3d engine by me: search “simple 3d engine”.

Powered by DjangoBB