How activate a Behavior

For questions about using Classic.

Post » Thu Oct 14, 2010 1:27 pm

how i activate a behavior, for example i want when mouse is over a object activate the Sine Behavior
B
5
G
2
Posts: 47
Reputation: 857

Post » Thu Oct 14, 2010 1:37 pm

Here's a dodgy example: http://dl.dropbox.com/u/6660860/sine.cap

I say it's dodgy because you will notice that if the sine behavior takes the sprite away from the mouse, it stops (there would be ways around this). If you don't want it to stop when the mouse isn't over the sprite, just remove the Else condition.
B
7
S
2
G
4
Posts: 164
Reputation: 2,418

Post » Thu Oct 14, 2010 1:43 pm

THanks Citnarf!!!!!! you are awesome :)
B
5
G
2
Posts: 47
Reputation: 857


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests