1
Resolved Questions / Stop Fading with an Event? - SOLVED
« on: November 19, 2015, 10:59:47 am »
Is there a method to decrease an actor's opacity on a given amount of time, but thine reset it to 100% with a click, and start to fade it again from there, a little bit faster?
I've tried to use Tweening at first, then tried to use a Timer with "set opacity", but in both cases the fading effects stacked, and were way too fast after a few clicks. In frustration, I've tried to use a "while loop" once. . . Once . . .
I'd be really, really grateful, if someone could answer this, since I've been trying to solve it on my own with googling for the past three hours without any succes.
EDIT: Yaaaaay, I've got it! Looks like I just had to take a step back, and look at the problem again after a little break.
I've tried to use Tweening at first, then tried to use a Timer with "set opacity", but in both cases the fading effects stacked, and were way too fast after a few clicks. In frustration, I've tried to use a "while loop" once. . . Once . . .
I'd be really, really grateful, if someone could answer this, since I've been trying to solve it on my own with googling for the past three hours without any succes.
EDIT: Yaaaaay, I've got it! Looks like I just had to take a step back, and look at the problem again after a little break.