Drag for power

Hey all,
I have cannon and I want to be able to drag for power. The longer I drag out the more umph! Also, the cannon tracks the mouse cursor for targeting and when I let go the cannon fires.
I saw the pool table game from codemonkey but it's a little different in that the cue ball moves after shot where my cannon is static. I am trying to reverse engineer that pool to figure out how it works. Anyone have a simple solution for dragging for power?
- cannon tracks mouse
- drag to increase power
- let go mouse to fire.
Thanks folks!
Dooki
I have cannon and I want to be able to drag for power. The longer I drag out the more umph! Also, the cannon tracks the mouse cursor for targeting and when I let go the cannon fires.
I saw the pool table game from codemonkey but it's a little different in that the cue ball moves after shot where my cannon is static. I am trying to reverse engineer that pool to figure out how it works. Anyone have a simple solution for dragging for power?
- cannon tracks mouse
- drag to increase power
- let go mouse to fire.
Thanks folks!
Dooki
Comments
@RH: Good luck with your exam, and yes, that would be great!
Thanks.
I do however would like to bring this topic back to the forefront as I'm currently concepting a game based off the gameplay seen in "Hit the Apple"
www.youtube.com/watch?v=hUz4O2rjQc4
I'm just getting started but getting this mechanic working while understanding the GS implementation is my first task
~t