Chadori's Forum Posts

  • I don't understand the point. If you call a function by a variable string, you have to provide the same parameters regardless of the string provided, right? Function maps are no different in that regard.

    How would you pass parameters of a function that is also calling to another function, and then another function, each passed on function having different parameter values, count, order and types.

    And then, in-between, what if you also need to do some calculations as you pass?

    How would you do such a simple scenario with only Function Maps?

    Please kindly observe my screenshot below, for context. Please pay close attention to how parameters are passed, the number of parameters passed and their types.

  • But this is the Scripting section, lol

    In any case, I understand, but the majority of people using scripting for dynamic function calls will still continue.

  • Aside from the calling of maps/strings, which is already puzzling, have you considered how strange and limited the forwarding of parameters is?

    It expects that developers usually don't change parameters as it passes through functions, especially its order, there is so little flexibility, it's shocking it's designed by an adept programmer who takes this feature for granted in typed languages.

    By the time you have finished planning the Functions Maps, you have ended up spending more time changing the events than it would have taken to just write 1 to 3 lines of JavaScript to do the same thing, with better readability and flexibility to adjust with little changes in the event sheet.

    I mean, it's proof enough that people are willing to use JavaScript to call functions with strings rather than use the built-in. People would always find the more convenient option.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You don't need to use scripting to call a function from a string. The event system allows for this too with the function maps feature.

    It's easier to learn JavaScript than to use that, lol. I bet you wouldn't even use it on an actual project as well.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Ah, this is dark theme, and it's called the action/condition highlight. I think it is implied that this is done to commonly used actions/conditions. This is not based on your usage, rather predefined by the developer.

    In the default theme, that would be a dot on the left side of the action/condition, on the action/condition selection dialog.

  • Release 43 - Stability Update

    Hi everyone, there is a new stable update for the Construct Master Collection, please click here to read the release note and download the update.

    Thank you.