Stretching !

CloudsClouds Member Posts: 1,599
edited December 2011 in Working with GS (Mac)
Hi there

I am trying to do something fairly simple (well obviously not simple to me - lol !) . . . but no matter what I try I can't quite crack it.

: (

I have a long thin actor (let's imagine something 100 pixels wide by 300 pixels tall) and I want to be able to grab the object and pull it down and have it stretch vertically - but constrained by the top of the object . . .

Hope that makes sense !

Hold on, let me do a quick animation to explain . . . .

Comments

  • CloudsClouds Member Posts: 1,599
    edited December 2011
    ...
  • CloudsClouds Member Posts: 1,599
    edited December 2011
    ....
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Give me a minute to make a demo, twinkle-toes.

    Ace
  • CloudsClouds Member Posts: 1,599
    Like this, took me 30 seconds in After Effects, but 2 hours later in Gamesalad and I am still stuck !

    : (

    image

  • CloudsClouds Member Posts: 1,599
    edited December 2011
    Ace, can I just buy your brain off you, it would make all this much quicker, I only need the bit that deals with Gamesalad, you can keep all the other stuff, scoop out the bit that knows all about GS, stick it in a plastic bag with some ice to keep it fresh and post it to me.

    Cheers.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    edited December 2011
    You certainly can, but I have a no returns policy strictly in place :)

    Here you go:
    http://mynameisace.com/files/GSDragDown.zip

    It's not as straight forward as you would think.

    Ace

    P.S. I do not condone the strangling of little girls with their scarfs ;)
  • CloudsClouds Member Posts: 1,599
    Brilliant stuff Ace !

    : )

    Excellent !

    What's amazing is how elegant your solution is, my attempts (all which had various issues) where all around 5 times as complex, overly involved, had loads of rules, had loads of attributes and . . . er . . . didn't really work.

    >> "P.S. I do not condone the strangling of little girls with their scarfs ;)"

    Who said it was a girl, ignore that skirt - it's all in the knees, that's how you can tell, it's all in the knees.


    Cheers, really appreciated !!


    Lee.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Anytime buddy.

    It did have my mind boggled for a bit! Trying to get code as simple as possible so it is optimised takes 10 times longer than anything else!

    Ace

    P.S. I have removed the GS part of my brain, but the ice may melt... You know what the Royal Mail is like this time of the year!
  • ozboybrianozboybrian PRO Posts: 2,102
    Tynan
    6:28AM Flag
    "Ace, can I just buy your brain off you"

    If anyone is buying the contents of his Cranium it's ME!!!!!
Sign In or Register to comment.