Thank you very much. This is a remix of Paddle2See's very inspiring project and he made it so that the cannon blows up if the bullet comes back down and hits it. Regards, Ahaan.
When you shoot straight up, gravity brings the bullet back down to the cannon and it will fire the chisis into ashes. That's why shooting is sometimes very tricky!
Thank you. I give credit to Paddle2See for making the original project. I changed the background, added the man and added the "Fire" yell. I even changed the clear command.
Ahaan
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.
The C key can be used to clear the cannonball paths.
This is a cannon with the projectile motion calculated using the new Trig functions.
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.
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.
Ahaan
I hope you enjoy!
I am open to further remixes and suggestions in the Comments box since I am just a 10-year old and a beginner of Scratch.
Thanks for watching my remix on Paddle2See's Project.
Comments
You need to be logged in to post comments
Add a Comment
Great!!! Can I use some of the mathematics for one of my games?
You are most welcome.
(view all replies)cool. could u take a look at my tank projects that also use projectiles. thanks.
Thank you. I will take a look at your projects. Regards, Ahaan.
(view all replies)-28... But try -51..XD
Hmmm... I notice that -28 hits the cannon and -51 hits the man. Thank you for noticing that, Regards, Ahaan.
Nice work here. I still don't have a project about projectiles. Btw. If you shoot at greater than 90 degrees the man blows up!
Thank you very much. This is a remix of Paddle2See's very inspiring project and he made it so that the cannon blows up if the bullet comes back down and hits it. Regards, Ahaan.
(view all replies)????????????????//scratch.mit.edu/projects/brenox/610574??????????????????????????????????///asdabhbdjbjbdjsnhf
scratch.mit.edu/projects/brenox/610574???????????????????????????????????????????/gggggggggj
If you shoot at 90 degrees the cannon blos up!
When you shoot straight up, gravity brings the bullet back down to the cannon and it will fire the chisis into ashes. That's why shooting is sometimes very tricky!
Nice remix. Good job!
Thank you very much. I think Paddle2See did very well on his original project. I give him a lot of credit.
Very nice addition to the Masters work;=>
Thank you very much for your encouragement.
(view all replies)meee yowww, Nice remix of a fine project!
Thanks, your support helps. Ahaan
Very good job!
Thank you very much. I am trying to improve even more. Ahaan
wait how do you play this?
Thank you. I give credit to Paddle2See for making the original project. I changed the background, added the man and added the "Fire" yell. I even changed the clear command. Ahaan
Press up/down for angle change. Press space to fire and change the horizontal velocity by using the silder. I hope that helps, Ahaan
(view all replies)