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)
Hey, I made a remix of this project with all the trig functions taken out. I used the move block to get the initial x and y velocities and it's very similar to yours :) (link to project)
There is an easyier way
(link to project)
and just to let you know i am still impressed that you can do trig but I made that project not useing trig and I find my project is a little more fun. it is still cool that you can use trig and I do not want to offend
Well, this was never intended as a stand-alone project. I thought of it more as something that people could use in their own projects. But maybe I should dress it up a bit...
Very good! I think the shell-holes could be marked on the ground (or at a target). The trajectory could also be marked as a ghost of the ball. I loved it
There always seems to be interest in things that shoot. Here's how to do it with the new Trig functions.
Use Space to shoot, Up/Down to control the barrel angle, Right/Left to roll the cannon around. The X key can be used to clear the cannonball paths.
This is a cannon with the projectile motion calculated using the new Trig functioons. The tip of the Barrel is also located using the Trig functions so that the Ball can be placed at the Barrel tip when it is fired.
Wind is accounted for as a constant change to horizontal velocity. This is not a very realistic model, but it looks good enough for animation.
In addition to changing the barrel angle and the wind, the trajectory can be further modified by changing the inital velocity or the acceleration due to gravity (Ay) in the scripts.
Comments
You need to be logged in to post comments
Add a Comment
Haha, you made it catch on fire if you hit yourself!
(view all replies)Comment Reply
The pop noise the cannon makes is so innocent...
(view all replies)Comment Reply
I have been trying to do this for so long. You did a great job of doing it. I will download,give you a favorite and a love it.
(view all replies)Comment Reply
(link to project) found this re remix of your project.. also check out background 19 by the same person..
(view all replies)Comment Reply
nice I like it
(view all replies)Comment Reply
cool game
(view all replies)Comment Reply
BLUE CLAYMAN, THAT IS NOT A GLITCH.
(view all replies)Comment Reply
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
lol commited suicide!! (on the game not in real life)
(view all replies)Comment Reply
That's not a glitch, that's a feature! The cannonball goes straight up....then comes straight down and blows you up.
(view all replies)Comment Reply
I found a glitch: If you aim up high enoug, the cannon blows up! ;-)
(view all replies)Comment Reply
AAAAAAH I SHOT MYSELF! lol
(view all replies)Comment Reply
Thanks! I just added that feature yesterday.
(view all replies)Comment Reply
I like the way when you aim at the gun the gun blows up!
(view all replies)Comment Reply
lol i shot myselve i shot strait up
(view all replies)Comment Reply
That's a good idea!
(view all replies)Comment Reply
Cool, I'm doing about trigonometry in school. I think if the ball hits the truck it should blow up or something :)
(view all replies)Comment Reply
hey this is really cool i made a cool arch pattern
(view all replies)Comment Reply
I MADE ART!!!
(view all replies)Comment Reply
YAY
(view all replies)Comment Reply
you can change the ball wind vx during flight to make a twist in teh curve, great job!!
(view all replies)Comment Reply
thats cool you can make pretty nice looking patterns
(view all replies)Comment Reply
Cool
(view all replies)Comment Reply
Like this
(view all replies)Comment Reply
Hey, I made a remix of this project with all the trig functions taken out. I used the move block to get the initial x and y velocities and it's very similar to yours :) (link to project)
(view all replies)Comment Reply
There is an easyier way (link to project) and just to let you know i am still impressed that you can do trig but I made that project not useing trig and I find my project is a little more fun. it is still cool that you can use trig and I do not want to offend
(view all replies)Comment Reply
and how you know how to do this ill never know
(view all replies)Comment Reply
Very well coded :)
(view all replies)Comment Reply
can I ask you for some help paddle2see? I need to know howw to speed up this trig formula. (link to project)
(view all replies)Comment Reply
nice
(view all replies)Comment Reply
sound effects now! cool.. found an intresting tank project (link to project)
(view all replies)Comment Reply
Cool...I love catapults! My son and I made one a while back too. It shot softballs and was a lot of fun, even though it was a little scary.
(view all replies)Comment Reply
For science class last year i made a catapult that worked sorta like this
(view all replies)Comment Reply
5...5....5...5...5...??
(view all replies)Comment Reply
cool affect!
(view all replies)Comment Reply
booooooooooooooooooooooooooooooo!
(view all replies)Comment Reply
well done
(view all replies)Comment Reply
Well, this was never intended as a stand-alone project. I thought of it more as something that people could use in their own projects. But maybe I should dress it up a bit...
(view all replies)Comment Reply
Very good! I think the shell-holes could be marked on the ground (or at a target). The trajectory could also be marked as a ghost of the ball. I loved it
(view all replies)Comment Reply
it could of had a aim but still very good
(view all replies)Comment Reply
need sounds go to find sounds .com!!
(view all replies)Comment Reply
(link to project)
(view all replies)Comment Reply
um.. you seem to have collected a slightly offensive inappropriate tag.
(view all replies)Comment Reply
Hey really cool I love it! Oh, and I updated my fairy game.(link to project)
(view all replies)Comment Reply
Cool, and useful.
(view all replies)Comment Reply
Ah! You mean Perspective Cannon! That would be a pretty good trick...not off the top of my head, I'll have to give that some thought.
(view all replies)Comment Reply
Can you swivel the canon around so that it fires into the depth of the picture rather than one side to another?
(view all replies)Comment Reply
Great Project! Sorry I had to add you to my friends list again anything gets all kooky and weird so things get messed up!
(view all replies)Comment Reply
...It's a very strong wind! Or maybe very light cannonballs...
(view all replies)Comment Reply
nice wind effects!
(view all replies)Comment Reply
Cannon!!!
(view all replies)Comment Reply