Discuss Scratch
- fyromaniac1
-
100+ posts
How to make Basic 3D
3D, the hardest thing on the planet. Really, it's not that complex! The only skill you need to know is using a pen, and sine, if you want to.
Sine:
Sine is a math operation that however big the number is, it will never get more than 1 (Unless you add or multiply). For example, if you use this script…
In most 3D projects you see, looking inside the project will just make your brain explode. This method is a lot easier, but less 3D.
The custom block:
You'll need a block to make something 3D. Here it is:
All good? Brain still together? I hope so, because we are almost done!
Mapping, and penning:
You are almost done! now, you need to map all the points/vertices of your object. Lets also make the rots go with the mouse.
The pen needs to be cleared every time it draws the square, so the script will be changed to this:
That's about it! Any questions, comments? Make a post here! Thanks for your time!
Have a great day!

Special thanks to R2Dav2 for the info!
Sine:
Sine is a math operation that however big the number is, it will never get more than 1 (Unless you add or multiply). For example, if you use this script…
…The sine variable will keep going up, but the movement, will keep going up and down, like a wave. This can be used to make a rotation illusion. Remember, this type of 3D is only an illusion, and that real 3D graphics can not be used on Scratch.
In most 3D projects you see, looking inside the project will just make your brain explode. This method is a lot easier, but less 3D.
The custom block:
You'll need a block to make something 3D. Here it is:
The x and y variables tell where the line starts, and the x,y rots tell where it will be going.
All good? Brain still together? I hope so, because we are almost done!
Mapping, and penning:
You are almost done! now, you need to map all the points/vertices of your object. Lets also make the rots go with the mouse.
This should make a square, and last but not least, the pen!
The pen needs to be cleared every time it draws the square, so the script will be changed to this:
That's about it! Any questions, comments? Make a post here! Thanks for your time!

Have a great day!

Special thanks to R2Dav2 for the info!
Last edited by fyromaniac1 (Feb. 12, 2014 17:18:47)
- OrcaCat
-
1000+ posts
How to make Basic 3D
Thanks! That's awesome!
Wait, shouldn't it be
Wait, shouldn't it be
Last edited by OrcaCat (Jan. 28, 2014 01:33:41)
- fyromaniac1
-
100+ posts
How to make Basic 3D
Both work, but on some scripts have the pen go up, go to the original position, and repeat. 

- retsamekop10
-
31 posts
How to make Basic 3D
Wait, so sine never goes above 0 yet it gets to be changed to a number above zero? Can someone explain this in a bit more detail.
- OrcaCat
-
1000+ posts
How to make Basic 3D
Sine never goes above +- Wait, so sine never goes above 0 yet it gets to be changed to a number above zero? Can someone explain this in a bit more detail.1
- Patcharisu
-
30 posts
How to make Basic 3D
Actually sine and cosine are math terms to convert angles into points on a grid.
- aceh18
-
100+ posts
How to make Basic 3D
It is just showing me my sprite and a blue line. And what am I supposed to use as the sprite. Please get to me as soon as possible!