Best Way To Use Boolean Parameter?

For developers using the Construct 2 Javascript SDK

Post » Thu Jun 18, 2015 8:16 pm

What is the best way to use a boolean (true/false) parameter?

Should i use the "AddComboParamOption" and then allow the user to pick between true or false or is there a better way? Also is there already any plugins that use a true/false switch that i could check out? thanks
B
9
S
3
G
4
Posts: 55
Reputation: 2,607

Post » Thu Jun 18, 2015 8:48 pm

Just look at Sprite Visibility: Invisible/Visible
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 2 guests