When I choosing sprite file, after new sprite object was added to project, let me type the name of the sprite at this time instead of searching object named "Sprite" in objects panel and rename it. Thank you! And for tilemaps and others too
Yeah the real problem is you're circumventing the type check using a global variable to pass a number where you should pass a string. Ideally C2 would reject this as an invalid expression but then changing the type of global variables could invalidate large numbers of expressions. That's not such a nice consequence. So closing as won't fix.
Yeah the real problem is you're circumventing the type check using a global variable to pass a number where you should pass a string.
Ideally C2 would reject this as an invalid expression but then changing the type of global variables could invalidate large numbers of expressions. That's not such a nice consequence. So closing as won't fix.
Thank you, Ashley!
Develop games in your browser. Powerful, performant & highly capable.
Are you purposely not passing in the name, or are you missing the point that you aren't specifying the function name at all. It's not clear. You should be calling this: Function.Call("Function",Variable1)
Are you purposely not passing in the name, or are you missing the point that you aren't specifying the function name at all. It's not clear. You should be calling this:
Function.Call("Function",Variable1)
Oh yeah, that works. Thank you!
Colludium, try out this capx http://www.filedropper.com/bug2. Is this not a bug too?
Problem Description
Bug on function call
Attach a Capx
http://www.filedropper.com/bug_1 (on page press "Download this file")
http://www.filedropper.com/bug2 (on page press "Download this file")
Steps to Reproduce Bug
Execute capx
Observed Result
Error message
Affected Browsers
Operating System and Service Pack
Win 8.1 64-bit
Construct 2 Version ID
233 64-bit
Member since 20 Jul, 2013