Effects propertie types

For developers using the Construct 2 Javascript SDK

Post » Sat Apr 30, 2016 7:58 pm

Thanks R0j0 for the answer!

There are 2 types. percent and float.

-----------------------------------------
Original question
----------------------------------------

<!-- Parameters -->
<parameters>
<param>
<name>Threshold</name>
<description>Separation level, from 0 to 100.</description>
<type>percent</type>
<initial>0.5</initial>
<uniform>threshold</uniform>
</param>
</parameters>

I am curious under type percent what other options do I have. And why the heck isn't there documentation on this lol? Are the same possibilities available as with the rest of the sdk?
Last edited by ruskul on Sun May 01, 2016 4:35 pm, edited 1 time in total.
Image
B
33
S
11
G
2
Posts: 564
Reputation: 5,173

Post » Sun May 01, 2016 2:24 am

You'll have to look at a few other effects for the exact name of it but other than percent you have number or something. Those are the only two.
B
94
S
33
G
117
Posts: 5,388
Reputation: 75,337

Post » Sun May 01, 2016 6:13 am

R0J0hound wrote:You'll have to look at a few other effects for the exact name of it but other than percent you have number or something. Those are the only two.


float and percent. So it would seem. Thank you!
Image
B
33
S
11
G
2
Posts: 564
Reputation: 5,173


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests