This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-24 11:42:15

spud1998
Scratcher
Registered: 2011-06-07
Posts: 15

3d

Hello Guys,

I am going to attempt to make a 3D (and maybe scrolling) football game (which will be posted on Scratch) but I am unsure how to do 3-D.

I think it is just adding a <{z-axis  }> and making sprites get smaller as they get further away,  but if I am wrong, or there are extra things, or anyone has the coding for 3-D i would be most welcom to it - so please post it.

Thanks!

Offline

 

#2 2011-06-28 07:07:46

spud1998
Scratcher
Registered: 2011-06-07
Posts: 15

Re: 3d

Oh Come On, Please, Someone Must Have Something

Offline

 

#3 2011-06-28 07:16:36

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: 3d

Your Z-Axis variable choice works great for a fake perspective illusion, and as long as there's only one sprite.

As soon as you start getting a bigger (let alone scrolling) scene, it all messes up without a decent amount of hard math.

Maybe keep it 2D, with a 3D illusion like the game zombie dawn (note the walls).

Offline

 

#4 2011-06-28 07:44:59

spud1998
Scratcher
Registered: 2011-06-07
Posts: 15

Re: 3d

Ok thanks Andrew - does that mean I can only make 1 sprite 3D? I know Scratch has limitations (database, scripts etc) but surely it can make more things 3-D?

Offline

 

#5 2011-06-28 10:32:18

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: 3d

I made a small 3D Enviroment. It includes a 3D obstical.

http://scratch.mit.edu/projects/what-the/1287233


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#6 2011-06-28 15:45:04

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: 3d

spud1998 wrote:

Ok thanks Andrew - does that mean I can only make 1 sprite 3D? I know Scratch has limitations (database, scripts etc) but surely it can make more things 3-D?

Only Pseudo-3D, as Scratch was born 2D and is created for kids.
BTW, I'm not andrew. That's just a quote in my signature  big_smile

Offline

 

#7 2011-06-29 01:02:36

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: 3d

spud1998 wrote:

Ok thanks Andrew - does that mean I can only make 1 sprite 3D? I know Scratch has limitations (database, scripts etc) but surely it can make more things 3-D?

I've seen 3D engines, but due to the limitations of Scratch they tend to be too slow and crude to really be of any use besides simply proving it can be done.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer