3D Projectile

user_icon chalkmarrow shared it 6 months ago
646 views, 28 people love it, 1 tagger, 79 downloads, in 17 galleries, 4 remixes
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

Scratchguy12125 Scratchguy12125 1 week, 4 days ago

i got it to go 6859.

(view all replies)
Comment Reply

deatheater deatheater 2 weeks, 2 days ago

do u know how cos works?

(view all replies)
Comment Reply

mazemaker mazemaker 2 months, 1 week ago

o lol i just changed angle by 1 nd got 6906 lyk evry1 else

(view all replies)
Comment Reply

mazemaker mazemaker 2 months, 1 week ago

6859!

(view all replies)
Comment Reply

EGEmedia EGEmedia 2 months, 1 week ago

Hope you dn't mind if I add it to some gallerys

(view all replies)
Comment Reply

Cyclone103 Cyclone103 2 months, 2 weeks ago

like this for example this is just plain cool!

(view all replies)
Comment Reply

purplekittygirl509 purplekittygirl509 2 months, 3 weeks ago

6906

(view all replies)
Comment Reply

1tchy 1tchy 3 months, 1 week ago

To get a distance of 6906 use these settings: v0: 200, angle: 44, angle_lateral: 0.

(view all replies)
Comment Reply

acex995 acex995 3 months, 1 week ago

6906

(view all replies)
Comment Reply

1tchy 1tchy 3 months, 1 week ago

6906

(view all replies)
Comment Reply

pawnee pawnee 3 months, 2 weeks ago

6878 is my new record

(view all replies)
Comment Reply

pawnee pawnee 3 months, 2 weeks ago

6479 is my farthest

(view all replies)
Comment Reply

jmic jmic 3 months, 2 weeks ago

the best so far !!!!!

(view all replies)
Comment Reply

bigB bigB 3 months, 3 weeks ago

very neat

(view all replies)
Comment Reply

Axeblade Axeblade 3 months, 3 weeks ago

phun!

(view all replies)
Comment Reply

astrogirl astrogirl 3 months, 3 weeks ago

Interesting

(view all replies)
Comment Reply

Zelda123 Zelda123 3 months, 3 weeks ago

Awesome!

(view all replies)
Comment Reply

AddZero AddZero 3 months, 3 weeks ago

Whoa, awesome idea. Well done!

(view all replies)
Comment Reply

KingDedede KingDedede 3 months, 4 weeks ago

0.0 I havent seen something this cool in a while!

(view all replies)
Comment Reply

funkymonkey funkymonkey 4 months, 1 week ago

I was wondering if you would like to enter this in the Scratch Awards for Best Tool. reply here: (link to gallery) and enter it here: (link to gallery)

(view all replies)
Comment Reply

ms_program ms_program 4 months, 2 weeks ago

Awesome! I'll definitly use it.

(view all replies)
Comment Reply

sausagestand sausagestand 4 months, 3 weeks ago

rofl!! distance: 0

(view all replies)
Comment Reply

Lucario621 Lucario621 4 months, 3 weeks ago

Wow, very impressive.

(view all replies)
Comment Reply

shockwave shockwave 5 months, 2 weeks ago

i made a more realistic version... chec it out! (link to project)

(view all replies)
Comment Reply

5 months, 2 weeks ago

5116

(view all replies)
Comment Reply

boisvert boisvert 5 months, 2 weeks ago

Just a little push and we'll crack read 3d in Scratch!

(view all replies)
Comment Reply

boisvert boisvert 5 months, 2 weeks ago

Also check (link to project) I like the interactivity of yours though.

(view all replies)
Comment Reply

boisvert boisvert 5 months, 2 weeks ago

There's a "3D magic" gallery - ask donscratchio to add it there...

(view all replies)
Comment Reply

dingdong dingdong 5 months, 2 weeks ago

amazing finally something resembling a good 1st person! very good!

(view all replies)
Comment Reply

EGEmedia EGEmedia 5 months, 2 weeks ago

virtually impossible! To right Shockwave. It's impossible but clever! www.EGEmedia.co.uk

(view all replies)
Comment Reply

shockwave shockwave 5 months, 3 weeks ago

virtually impossible!

(view all replies)
Comment Reply

shockwave shockwave 5 months, 3 weeks ago

awesome!!

(view all replies)
Comment Reply

MoonDemon MoonDemon 5 months, 3 weeks ago

I so very much agree with My Red Neptune!! Breathtaking!

(view all replies)
Comment Reply

MyRedNeptune MyRedNeptune 5 months, 3 weeks ago

Breathtaking!

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 5 months, 3 weeks ago

Good idea, EdnaC. I hadn't thought about making it into a 2-person game. I think the real challenge would be making a 3D tank game where you could rotate your field of view, etc.

(view all replies)
Comment Reply

EdnaC EdnaC 5 months, 3 weeks ago

Another Challenge Idea: A turn-based two player game. Add shifting wind, put an opponent on the other end of the "field", shoot at him, then switch perspective when it's his turn to shoot back.

(view all replies)
Comment Reply

EdnaC EdnaC 5 months, 3 weeks ago

Sweet! And just a few scripts, very very clever. Another favorite for me to go have a closer look at when time allows...

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 5 months, 3 weeks ago

Challenge #1: Make a golf "closest-to-the-pin" project. Just make the projectile into a golf ball, move its initial position to (0, -170, -180) or so, and make the variable "angle" equal to the loft of the club (look on wikipedia for the angle of woods and irons). For the background, you could find a picture of a good golf hole (if you're in the UK, you're lucky), then line it up so the flag is about in the middle of the screen. Bonus: Account for hitting trees...

(view all replies)
Comment Reply

Robin7 Robin7 5 months, 4 weeks ago

This is beautiful!

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 6 months ago

Paddle2See: Thanks. Now I can rest easily...

(view all replies)
Comment Reply

scratcher1 scratcher1 6 months ago

sorry, paddle2see I accidentally pressed flag as inappropriate on your comment-please forgive!

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months ago

Much better! Now you get the coveted "love it" from me. Ya gotta earn those things, ya know!

(view all replies)
Comment Reply

Jens Jens 6 months ago

awesome. I'm speechless. this. is. brilliant.

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 6 months ago

I modified the scaling factors that control how the 3d coordinates are mapped to 2d, so the path looks more realistic, depth-wise.

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 6 months ago

Paddle2See: I know what you mean. I think that the scale into the screen in the z direction is a bit off (the c1 and c2 constants). The viewpoint and projectile should both be (0,0,-180). If you set the lateral angle to about 90, and fire sideways, then it definitely looks like 45 degrees. I'll play with it a bit.

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months ago

Look, you've already got a remix!

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months ago

Well, this is fun! Real 3D comes to Scratch! I'm confused though, when I swing the lateral angle to 45 degrees and fire, the path does not look like 45 degrees, it looks like something much less, 5 or 10 degrees. The projectile coordinates look right (equal x and z distances, after accounting for the -180 z start position) but the angle of the projectile path looks wrong. Is the viewport at the same z coordinate as the projectile initial position? It seems to be but I'm not positive.

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 6 months ago

OK. Fixed the error in how the path is computed using the trig functions.

(view all replies)
Comment Reply

amandude13 amandude13 6 months ago

awesome i hit the target three times

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 6 months ago

There's a trig error in one of the formulas that I will fix shortly.

(view all replies)
Comment Reply

TyCamden TyCamden 6 months ago

Cool program !

(view all replies)
Comment Reply