Death by sine waves

Get help using Construct 2

Post » Sun Mar 13, 2016 3:45 pm

I give up!

I think I have set the sine behavior settings in every possible way, but I can't figure this out:

I want to use a sine wave to lower the opacity of an object with the "value only" functionality of the sine wave.

But it seems like no matter how I change the settings, I can't get the opacity to start from 100 and go down from there.

What settings should I use for my sine wave so that I start the wave at value 100 and head downwards from that?

Here are my current sine settings:

Active on start: no
Movement: value only
Wave: sine
Period: 36
Period random: 0
Period offset: 0
Period offset random: 0
Magnitude: 100
Magnitude random: 0
B
9
S
1
Posts: 97
Reputation: 715

Post » Sun Mar 13, 2016 3:49 pm

Dear god I finally figured it out.

In case it helps someone else, it seems to be all about quarters. When I set my period to 40 and Period offset to 10, I got the direction I needed.
B
9
S
1
Posts: 97
Reputation: 715

Post » Sun Mar 13, 2016 5:35 pm

Good to hear that it worked out for you, but I don't really understand. Why would you set the opacity with the 'value only' option if there's an 'opacity' option too?
B
18
S
5
G
3
Posts: 25
Reputation: 2,391

Post » Sun Mar 13, 2016 6:19 pm

Daemon wrote:Good to hear that it worked out for you, but I don't really understand. Why would you set the opacity with the 'value only' option if there's an 'opacity' option too?

For an extra layer of control, I'd imagine. If they just want a certain range of opacity instead of 0-100 it's easiest to set it to a specific number plus the sine value every tick.
B
35
S
9
G
4
Posts: 201
Reputation: 5,170

Post » Mon Mar 14, 2016 8:17 am

Ahr Ech wrote:
Daemon wrote:Good to hear that it worked out for you, but I don't really understand. Why would you set the opacity with the 'value only' option if there's an 'opacity' option too?

For an extra layer of control, I'd imagine. If they just want a certain range of opacity instead of 0-100 it's easiest to set it to a specific number plus the sine value every tick.


Yes, that's correct!
B
9
S
1
Posts: 97
Reputation: 715

Post » Mon Mar 14, 2016 9:05 am

Well if you want more control there is a sin expression....
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, dand and 31 guests