Feature suggested: Opacity Sine behaviour

Discussion and feedback on Construct 2

Post » Fri Mar 16, 2012 8:23 pm

Would be nice a Opacity movement for the Sine behaviour! :D
B
228
S
6
G
8
Posts: 86
Reputation: 12,295

Post » Fri Mar 16, 2012 11:38 pm

Sounded like fun, so I thought I'd try making it.

Here's replacements for two of the files in the "[program files]\Construct 2\exporters\html5\behaviors\sin\" folder.

Set the sin to opacity, magnitude between 0 and 100 (percent). No guarantees, ymmv, glhf, etc.

edit: you might want to back up the original files. (or just reinstall to revert to normal)

edit edit: forgot to specify - the way I implemented, it starts at whatever the initial opacity is set to, and then fades downward as far as [magnitude], and back up to where it started.tyroney2012-03-17 00:34:18
B
3
Posts: 1
Reputation: 302

Post » Sat Mar 17, 2012 12:02 am

Wow! I wasnt expecting a feedback so fast!

I am going to try it later! Already downloaded the file!

Thank you!   
B
228
S
6
G
8
Posts: 86
Reputation: 12,295

Post » Sun Mar 18, 2012 12:44 am

Agreed, this would be nice as an official addition.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Mar 18, 2012 1:01 am

or just being able to have an autosining value you create and can access
that way it can be used for opacity or angle or width, or some some parameter for any random 3rd party plugins, etc
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Mar 18, 2012 3:21 am

I agree with @sqiddster and @lucid. I hope @Ashley and @Tom agree too. So we could be able to post games with this feature to Arcade!
B
228
S
6
G
8
Posts: 86
Reputation: 12,295


Return to Construct 2 General

Who is online

Users browsing this forum: TRMG, zenox98, Zonacas and 1 guest