Discuss Scratch

honeyr2
Scratcher
80 posts

How do you make 3D stuff?

when green flag clicked
wait until <(I've got the answer!) = [1]>
switch costume to [celebrate v]
say [Thanks!]

Last edited by honeyr2 (June 17, 2016 16:29:00)

PaprsoftGames
Scratcher
36 posts

How do you make 3D stuff?

honeyr2 wrote:

when green flag clicked
wait until <(I've got the answer!) = [1]>
switch costume to [celabrate v]
say [Thanks!]

Correction, Celebrate.

Now developing the Vapor Engine with Sonicfan12p


WOOT WOOT DEVELOPING GAMES SINCE 2013!!!!!
DudmasterUltra
Scratcher
100+ posts

How do you make 3D stuff?

Here's a little piece of code to generate a 3D sprite (not wireframe)

when green flag clicked
forever
show
clear
repeat (10)
stamp
change y by (1)
end

My Devices
Asus G750JX - 2TB / 16GB RAM / Intel i7 + GeForce GTX 770m / Windows 10
Galaxy S7 Edge - 32GB + 256GB / 4GB RAM / Snapdragon 820 / Android 6.0.1, Stock Unrooted
Galaxy Note 4 - 32GB + 32GB / 3GB RAM / Snapdragon 805 / Android 5.1.1, Stock Unrooted
Google Nexus 9 - 32GB / 2GB RAM / NVIDIA Tegra K1 / Android 6.0.1, Cyanogenmod 13 Rooted
Galaxy Tab S2 - 32GB / 3GB RAM / Exynos 5433 / Android 6.0.1, Stock Rooted + Xposed
Gear Live (Android Wear) - 4GB / 512MB RAM / Snapdragon 400 / Android 6.0.1, Stock Rooted
Fossil Q (Android Wear) - 4GB / 512MB RAM / Intel Atom / Android 6.0.1, Stock
Asus Zenfone 2 - 12GB / 2GB RAM / Intel x86 / Android 6.0.1, Cyanogenmod 13 Rooted
Moto G - 8GB / 1GB RAM / Snapdragon 400 / Android 5.0.2 Stock
(!) Kindle Fire HDX, HD - 32GB / 2GB RAM / Snapdragon 800 / Corrupted operating system
TrueThirteen
New to Scratch
34 posts

How do you make 3D stuff?

If you mean an ACTUAL 3d project, it's a little complicated. There are multiple variables that record where the pen should go to next, which is the basic part of it. Of course, this requires a lot of math, so I don't understand it fully, because I am really bad at math
The whole thing is basically manipulating the variables, which include the line X, line Y, line Z (depth), and the camera X, Y and Z.
If you are feeling good about yourself, try checking out @r2dav2 s project right here and try to make sense of what his script does.- http://scratch.mit.edu/projects/17092533/#editor
owiller
Scratcher
11 posts

How do you make 3D stuff?

why not like 10000 dots over lapping like so…


when green flag clicked
forever

go to x: (blank) y: (blank)
set [ ontop or not] to [1/0]
end

im always agravatied when i try to base off a 3d script and its all varibel if type stuff,so i cant find the real simple hidden script!
Alberknyis
Scratcher
1000+ posts

How do you make 3D stuff?

Raycasters (simple ones) aren't that hard, at least the ones I've seen so far. If you want to go farther than that, I suggest arrays. I don't know why.

stop [all v] ::stack

Powered by DjangoBB