Simultaneous Rotate, Move To, fade in Alpha

gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
edited November -1 in Working with GS (Mac)
Hallo; in another test, I'm trying to Rotate, Move To, and fade in Alpha on an Actor, all at the same time. Rotate and Move together work fine; as does fading in the Alpha on it's own, but all three together either freezes GS or crashes it. The Rules for fading in Alpha are:

Rule: Fading In Logo
When all conditions are valid:
Attribute: self.Fade In is true
(then)
Interpolate Attribute: self.Color.Alpha To 1
Duration 2

The attribute Fade In is checked, and the Actor's Alpha is set to 0

Any help appreciated, thanks.

:-)

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

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hope it's OK to bump this: anyone please?

    ---------------------------------------------------------------
    Spiral Gyro Games

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

  • quantumsheepquantumsheep Member Posts: 8,188
    Hey fella,

    Kept meaning to reply to this, so sorry I haven't before.

    I guess it depends on what your actor is, and what else they're doing.

    I have an actor on my title screen that rotates and moves to a position. Which is why I was thinking 'I should respond to this!'.

    I added a fade in command to it about 5 mins ago to see if I could do what you were doing. It works fine, but as I said, it depends on the context your actor's in.

    My actor's sole purpose was to move to a certain position while rotating. As I mentioned, I added the fade in too:

    image

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    quantumsheep said:
    Hey fella,

    Kept meaning to reply to this, so sorry I haven't before.

    No worries, QS; your reply is appreciated!

    It works a treat, thank you; just what's needed. (Only thing I changed was the Alpha to .2) When I first posed this l'il prob to myself, I hadn't got round to checking out Interpolate. I've now realised the power of it (I was trying to change stuff using Time to reach the same effect; newbie mistake I guess).

    The Power of Interpolate: sounds good for a t-shirt!

    :-)

    ---------------------------------------------------------------
    Spiral Gyro Games

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

  • quantumsheepquantumsheep Member Posts: 8,188
    I'm very glad it helped out.

    I've got a brilliant idea for interpolate in a title I like to call 'Hit iPhone Game'.

    Interpolate attribute: self.wealth

    TO

    £1,000,000

    Duration:
    7 days

    Function: ease in/out/linear is optional

    :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Ha! Yes; could also have a set of Rules to badger the iPhone owner. Every half hour, there'd be a phone call: "You now have...three thousand five hundred and seventy two pounds and fourty seven pence".

    :-)

    ---------------------------------------------------------------
    Spiral Gyro Games

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

  • SlowboySlowboy Member, PRO Posts: 329
    Hi Gyro, glad you got it sorted. ' just like to say, not a newbie mistake at all! Interpolate is a very new feature, and until it arrived, timers were the only way! I haven't even used it yet, my first game is all timers! I agree it's potentially very powerful, and I can't wait to start using it - once my blummin' iMac is fixed :[
    Enjoy!
    Wayne
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Thanks, Wayne! Here's hoping your iMac is up and running soon.

    :-)

    ---------------------------------------------------------------
    Spiral Gyro Games

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

Sign In or Register to comment.