Fade Bug

Post your own tutorials, guides and demos.

Post » Thu Feb 05, 2009 2:53 pm

Shouldn't this object fade when i click it?
B
2
G
4
Posts: 50
Reputation: 1,150

Post » Thu Feb 05, 2009 3:16 pm

if you set
+on Left Clicked on Sprite -> Sprite: Start Fade

it works fine, but i have no idea why it's not working when variable is set...
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Thu Feb 05, 2009 5:00 pm

Once "Variable 1" is equal to zero, your condition will keep executing those actions, so the fade is constantly restarting, hence it not fading in. If you add an additional action to that condition that sets "Variable 1" back to 1, then the fade will work since the condition will only be true until you click the object again. :)
B
2
S
1
G
5
Posts: 59
Reputation: 1,518

Post » Thu Feb 05, 2009 5:13 pm

oh thanx
B
2
G
4
Posts: 50
Reputation: 1,150


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests