Chadori's Recent Forum Activity

  • 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.

  • 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

Chadori's avatar

Chadori

Member since 10 Oct, 2014

Twitter
Chadori has 50 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

24/44
How to earn trophies