Can I add a parameter tip to my expression?

For developers using the Construct 2 Javascript SDK

Post » Sun Jan 24, 2016 7:46 pm

I would like to add tips to my expressions – like it is shown in the bottom of this page:
https://www.scirra.com/manual/60/parameters

Can I do that – and if so: how?
B
4
S
1
Posts: 7
Reputation: 364

Post » Mon Jan 25, 2016 12:13 am

You mean that
"clamp(x, lowe, upper)
Number to clamp"

That´s really interesting and helpfull. I saw it in just few expressions. I´ll try to find a plugin that already has it and see how it was implemented.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Mon Jan 25, 2016 12:27 am

Yeah it would be awesome if our functions were integrated into the project, being able to name parameters, etc. Maybe C3 will include that?
B
83
S
22
G
15
Posts: 1,039
Reputation: 15,209

Post » Mon Jan 25, 2016 2:32 am

See the SDK, the description could be added for each ACE, imo.
B
107
S
25
G
225
Posts: 4,327
Reputation: 128,333

Post » Tue Jan 26, 2016 7:57 pm

Yes @frcol. That is exactly what I would like to do.

Unfortunately @rexrainbow, I don’t think this can be achieved with the mandatory description on expressions, but if I’m wrong, please give me a cue.

Else, I’ll wait for C3 like @7Soul :-)
B
4
S
1
Posts: 7
Reputation: 364


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest