How to a make image size gradually become bigger

TigrisLiTigrisLi Member Posts: 19
edited January 2012 in Working with GS (Mac)
Hi!

I was wondering how to make a image size gradually become bigger?
It's for a game I'm making and a image comes from a distance and comes closer and bigger.

Please help me!
Thanks!
Tigris

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    interpolate the self.size.width and self.size.height to whatever you want

    cheers
  • TigrisLiTigrisLi Member Posts: 19
    Is it possible for it to change it's size while it's doing a random spawn?

    Thanks for the fast reply!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited January 2012
    yeah you would just do the same thing. If you have 2 interpolate behaviors, one for width and one for height, and there not in any rules or anything they will start when the actor spawns
  • TigrisLiTigrisLi Member Posts: 19
    Great!
    Thanks a lot!
  • MotherHooseMotherHoose Member Posts: 2,456
    this might work: as ChangeSize behavior changes both the width and height
    Rule: when
    Attribute: self.Size.W < 200 (the maximum width you want)
    --changeSize Growth Rate: (1 is very slow)
    Otherwise:
    --changeSize Growth Rate: 0

    @};- MH
Sign In or Register to comment.