I've watched a dozen or more training videos, and read through countless pages of tutorials and educational material, but I'm not sure that what I'm trying to achieve can be done the way I'm going about it. Maybe someone can point me to info that I might have missed?
Here's what I'm up to:
I have a shooting apparatus made up of 4 separate sprites - a Base, a Pivot, a Slide, and a Projectile... and of course there's a ground plain w/walls, etc. The Physics Catapult template was good to test drive, but I've hit a wall. ;-) Here is a visual representation of the layout:
And here is the CAPX file: http://www.webmagi.com/media/uploads/scirra/Slide-Pivot-Catapult.capx
I would like the whole apparatus to be movable, vertically, (without activating or firing the projectile on release) and I would like the slide to control the pivot after the height of the apparatus is set. The pivot should move up or down on either end, but remain attached in the middle, pivoting on the base. The slide should also control the projectile, or at least they should move in concert until released, and then it should return to its original position while the projectile is fired. So basically I'm trying to build a shooting mechanism from 4 separate graphics, and trying to find at way to bind them programmatically. Can this be done?
I first attempted to use Spriter to generate separate animations, but the freedom of movement I need for aiming (high, low, forwards, backwards) in tandem, while holding the projectile with a finger doesn't seem possible. Is it?
Anyway, surely this is not a one-off idea. There must be examples, or information that would help fill the gaps in my knowledge. Any help would be greatly appreciated.