Event based on sine behaviour cycle position

Get help using Construct 2

Post » Wed Aug 01, 2012 8:32 pm

I have a sprite.
The sprite has a sine behaviour (size).
The behaviour is activated when clicking the sprite.
I wish to deactivate the behaviour when the size reaches maximum.

I can make a textbox update every tick with a sprite.cyclePosition.
However I can only add events that trigger based on the fixed values...not the cyclePosition.

Any ideas how I can add an event that triggers based on cycle position?
My work around idea is to monitor the value of the textbox.
B
2
Posts: 1
Reputation: 252

Post » Wed Aug 01, 2012 9:51 pm

Make it different, don't use the behavior to make it grow up, use a math,


https://dl.dropbox.com/u/47035927/temp/increase_size.capx
ImageImageImageImageImageImage
B
93
S
20
G
13
Posts: 1,215
Reputation: 18,990


Return to How do I....?

Who is online

Users browsing this forum: tatogame and 27 guests