# Need help with a Catapult Game

**URL:** <https://forum.kirupa.com/t/need-help-with-a-catapult-game/206086>\
**Category:** programming\
**Created:** [November 5, 2006, 4:51am UTC](https://forum.kirupa.com/t/need-help-with-a-catapult-game/206086 "2006-11-05T04:51:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smsmith](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@smsmith](https://forum.kirupa.com/u/smsmith)\
**Post date:** [November 5, 2006, 4:51am UTC](https://forum.kirupa.com/t/need-help-with-a-catapult-game/206086/1 "2006-11-05T04:51:39Z")

</div>

I have gone through countless tutorials and examples on gravity and physics for Flash MX, and so far i have nothing. What I’m trying to do is create a catapult game.

The catapult will be stationary at the bottom left of the screen and a power meter will tell you how much “power” you have to launch your projectile. All of the tutorials I have looked at use many variables to calculate where and what velocity a projectile is “flying” through the air. All I want is one variable that is constaly changing (the power meter)

Basically the Power meter will go from 0 to 10 and then back. When at the middle posistion (5) the projectile will land on the target, at 0 it will fall to short, and at 10 it will go past the target.

If anyone has played the game by N-Storm “Frogapult”, this is similar to the type of game I’m hoping to make. Any help or links to tutorials would greatly be appreciated.

[Here’s a link to a screen shot of the game “frogapult”](http://www.wam.umd.edu/~jcallis/Pics/Screens/Frogapult.jpg). Just looking at it pretty much explains how everything would work.
