Hey guys! I made a game that involves this cannon meathod! It is called Alien Invasion. It is a fun game with multiple lvls and a final boss...
(link to project)
by the way i love this game
Woah why do I get different results when I try the same angle twice? Interesting.
Piter, I read your comment about Scratch possibly benefiting from arrays etc. We agree that this might be a nice feature in the future, and we're considering in what ways this type of thing might be added. Thanks for the feedback as always.
This reminds me a game with two gorillas throwing bananas at each other. I remember it was one of the sample programs that came with QBASIC. I modified and I started to get interested in programming.
This was fun. I think the farthest for me was around 46 degrees. What did everyone else think? I was wondering if you think this represents the farthest in real life physics too?
This reminds me of an old game. I think it may have been called "artillery". It had a hill that you had to shoot over, a target (in a random spot), and wind. I think it may have been two-player--each player picked the angle and "powder" charge for their cannon and they you hit "go" to see what happened. In that game, as in this, the ball went slowly and left trails so it was quite suspenseful to watch.
Download this project!
Download the 3 sprites and 6 scripts of "canon ball" and open it in Scratch
Project Notes
Find out through experiment, which heading gives maximal distance!
Comments
You need to be logged in to post comments
Add a Comment
Obviously 45 gives biggest distance. You should make it so that you can enter the Heading instead of moving the mouse
nice
finally I got to fix the bug with holding space down!
Check out my projects!!
Press and hold the spacebar while shooting, and move the mouse around. Behold, The Haunted Cannonball!
thanks, this was an old bug, now it is fixed!
УУУ,класс!
sry, i gave you a dead link...here it is (link to project)
Hey guys! I made a game that involves this cannon meathod! It is called Alien Invasion. It is a fun game with multiple lvls and a final boss... (link to project) by the way i love this game
wow
Press and hold space bar while shooting
fixed now! thanks
cooky!!!
cool it's probably the best old featured project even though it's just a canon ball. i could use this.
ITS 45 EVEN i KNOW THAT
i know cos i downloadid it
it is a hack or coded outside scrach in the scratch folder.
no, it is pure Scratch!!!
the varible cannons heading is cannos's direction
it wont go to slider mode
did u hack or something????
ok dude pleas tell me where u got the varible cannons heading to b blue?????
if you just select the direction in "Motion" section, it will always be blue - this is not a variable, it is just object's attribute
А что это за синее окошко canon's heading? Выглядит как переменная, но в скриптах никакого упоминания не нашел, к тому же - синее...
это просто у объекта Canon в разделе Motion поставлена галка на direction - отображает на экране свойство объекта.
Прекрасная модель! Ничего лишнего. Утащил к себе на сайт "Учитесь со Scratch!" Не возражаете?
Приветствую! там была бага с удержанием пробела, сейчас поправлена
i think the maximal distance is with 45 degrees, isn´t it?
pfui des is voll da schmarn so a müll was hat des fürn sinn???!!!! understanden?!
jay is gay
Woah why do I get different results when I try the same angle twice? Interesting. Piter, I read your comment about Scratch possibly benefiting from arrays etc. We agree that this might be a nice feature in the future, and we're considering in what ways this type of thing might be added. Thanks for the feedback as always.
To jay: The maximal distance of 454 is reached with heading 45, which absolutely correspond to the real world physic with no air resistance.
This reminds me a game with two gorillas throwing bananas at each other. I remember it was one of the sample programs that came with QBASIC. I modified and I started to get interested in programming.
This was fun. I think the farthest for me was around 46 degrees. What did everyone else think? I was wondering if you think this represents the farthest in real life physics too?
This reminds me of an old game. I think it may have been called "artillery". It had a hill that you had to shoot over, a target (in a random spot), and wind. I think it may have been two-player--each player picked the angle and "powder" charge for their cannon and they you hit "go" to see what happened. In that game, as in this, the ball went slowly and left trails so it was quite suspenseful to watch.