|Graphics by Ray Wenderlich|
Actually it's the second go but I can't draw for toffee, you wouldn't have wanted to see the original graphics....
I wanted something Spine-esque but simpler, however great Spine is the Corona library doesn't work (v1 Graphics) and it's still £100.
This makes some simplifications for simplicity and speed. All the graphics have to be aligned vertically top-up and their anchor points are on a vertical line through that graphic, though they can be moved up and down that line - see where the anchor point is on the bottom part of the body, it's 20% inwards.
This vertical line can be moved though - if you look at the legs the vertical line is way over to the left
If you look below (perhaps) you can see the arm - having it automatically in this vertical position saves a lot of math, but it does add limitations
|The arm - notice|
the vertical orientation
The big advantage of the simplification in the graphics bit is that there is no complex munging of the image or the line to make it work, it is about 3 or 4 Corona API calls and a little bit of simple mathematics.
I plan to experiment a bit further and then once that's done see if people have any useful suggestions or ideas.
The development version is currently at https://github.com/autismuk/coccyx and should normally be in a working state though of course it is in regular development.