[Plugin] Ease

Post your work in progress addons and get feedback

Post » Wed Oct 12, 2016 10:21 am

Change any value or parameter gradually with easing effect.

Move objects around with easing. Change the sound volume gradually. Smoothly change an opengl effect parameter. Gradually change variables. You name it.

Easing is frame rate independent since version 1.0.

Demo
Sample.capx
Ease plugin v.0.1 for Construnct 2
Ease plugin v.1.0 for Construnct 2
Ease plugin v.1.0 for Construnct 3


How it works
1. Create a function that changes any value. Set this value to Function.Param(0)
Image

2. Create Ease action and pass the name of the function to it
Image

3. You're good. Once Ease action is triggered, it starts calling Setter function every tick with a new parameter taking into account Easing effect.
Image

Actions
Ease — starts easing

Conditions
In ease — checks if easing is in progress
On finished — triggered once easing is finished

Expressions
Not ready yet
Last edited by valerypopoff on Sat Sep 16, 2017 12:17 am, edited 4 times in total.
B
11
S
6
Posts: 28
Reputation: 1,033

Post » Thu Nov 03, 2016 7:27 pm

Thanks for sharing!
B
159
S
27
G
17
Posts: 917
Reputation: 32,677

Post » Thu Nov 03, 2016 8:55 pm

Awesome !

Duration = Framerate independent ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Dec 16, 2016 9:21 pm

99Instances2Go wrote:Awesome !

Duration = Framerate independent ?


In this version of a plugin it assumes that the frame rate is 60. If it's not, it will work incorrectly.
B
11
S
6
Posts: 28
Reputation: 1,033

Post » Wed Aug 16, 2017 10:30 am

Has the development of this plugin died out?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
93
S
30
G
22
Posts: 1,987
Reputation: 20,203

Post » Fri Sep 15, 2017 11:59 pm

99Instances2Go wrote:Awesome !

Duration = Framerate independent ?


Now it is in version 1.0
B
11
S
6
Posts: 28
Reputation: 1,033

Post » Sat Sep 16, 2017 12:01 am

megatronx wrote:Has the development of this plugin died out?


I've updated it to version 1.0 which is good for Construct 3 and also frame rate independent. The plugin pretty much nails all my needs now and I don't really know what to improve. Any ideas?
B
11
S
6
Posts: 28
Reputation: 1,033


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests