Make actor grow and shrink

wsuhoopswsuhoops Member Posts: 28
edited November -1 in Working with GS (Mac)
I need help with for example after making a diamond shape grow and shrink automatically. I want it to be big, then transition to smaller, then tranition back big etc, thanks.

Comments

  • wsuhoopswsuhoops Member Posts: 28
    anyone
  • RHRH Member Posts: 1,079
    Here is what I would do. If you wanted the growth rate to remain constant you would have to replace the 1 and -1 with some other maths.

    http://img718.imageshack.us/f/sizechange.png/

    EDIT: how on earth do i embed an image here?
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    RH said:
    EDIT: how on earth do i embed an image here?

    Hi RH, there is some generic HTML code floating around somewhere given by one of the GS team guys, but I can't find it now; probably a google would find it. But another way which I've just used is to upload the image into Photobucket, and then copy and paste the html code supplied. Hope that helps.
    wsuhoops said:
    I need help with for example after making a diamond shape grow and shrink automatically. I want it to be big, then transition to smaller, then tranition back big etc, thanks.

    Interseting prob, wsuhoops. I'm having a bash to solve it now; i'll let you know if I succeed! Good lead from RH, I'll check that out as well.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • wsuhoopswsuhoops Member Posts: 28
    thanks!
  • RHRH Member Posts: 1,079
    like this?

    image
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    That's looking good RH, I'm sure wsuhoops will be well happy with that!

    My attempt failed, but at least I had a go, I say! (You can tell I'm a newbie...) It works (at least, I think this is the attempt that did) but not very smoothly.

    Photobucket

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    When using the change size behavior, the description says

    "Note: The collision volume will still be at the scale of the original actor."

    Any way around this other than a solution I posted in this thread:
    http://gamesalad.com/forums/topic.php?id=7265
  • AfterBurnettAfterBurnett Member Posts: 3,474
    "Note: The collision volume will still be at the scale of the original actor."

    What does that mean? It will only collide when at original size or the collision box itself doesn't scale?
  • RHRH Member Posts: 1,079
    Nah, I think it means that the the collision size is constant, the original size of the actor. When the actor grows bigger it won't collide with what we see as the edge of the actor but the original edges of the actor.
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Well, that's stupid... would you be able to put in an attribute that says "if smaller or larger than x by x, the don't collide"?
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi again wsuhoops: don't know if you cracked the prob or not...

    For the record, iPhoneDevForMe has produced a neat solution that works well:

    http://gamesalad.com/game/play/61878

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.