UI problem with callFunction

Bugs will be moved here once resolved.

Post » Mon Aug 11, 2014 8:48 pm

Problem Description
The window of the call function is not resizable. I can't add more than 16 parameters because the "add parameter" is hidden if they are too many. Is it possible to make the window's size resizable?
Maybe it's because of my resolution, I have a little screen.


Construct 2 Version ID
I'm using the latest version.

Thanks
B
6
S
1
Posts: 14
Reputation: 502

Post » Mon Aug 11, 2014 9:31 pm

It's true that the editor can be a bit buggy for extra space, but beyond that you might want to think about another method as 16 params is a bit much.
You could just use a dictionary, and refer to the keypair, and if you need to get a specific object then use the function parameter to pass its id.

Also this bug report will probably just get closed since you didn't follow any of the guidelines.
Image ImageImage
B
172
S
50
G
182
Posts: 8,439
Reputation: 115,097

Post » Mon Aug 11, 2014 9:50 pm

Why do you need so many function parameters?
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023

Post » Tue Aug 12, 2014 7:13 am

Thank you for the answer,
I'm using this to build a dynamic item list. Each item has his own number, name, price, stats etc.
And I want to have a function to be able to add these items in the list, anywhere in the game.
But, yes, as you say Newt, there is probably another better solution. I think about this more.
Thank you !
B
6
S
1
Posts: 14
Reputation: 502

Post » Wed Aug 13, 2014 2:52 pm

Closing as won't fix, you probably should use a different method of passing parameters if you need so many.
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests