Assuming i don't use parameters and call them every tick, are more efficient Signals or Functions in order to call events from different parts of the project?
Aside the parameters and the inability to use functions in OR Block, are there downsides for one of those options?
Should i use double quotes also in the "create folder" action? or just for eunning Explorer.exe to access the folder?
Yea, already did it as C3 recommends that by default in the event selection :D
When i middle click on any form controls (buttons, sliders, checkbox, texbox, etc), it shows the scrolling icon, is there a way to prevent it?
Spotted the issue!
It returns the correct path, BUT adds \\ after the user folder -> C:\Users\Daniel\\Documents\DinoSystem
It works now after addressing removing it.
Thank you!
Tried the double quotes, still nothing, it opens the Documents folder, but any folder inside it is not opened, even "My Games" or any other.
It strangely opens only the documents folder, although the DinoSystem folder is already present
Launch windows explorer
Show folder dialog opens a dialog from which you choose a folder, i meant a way to directly open a given folder from ingame, like <NWjs.UserFolder & "\Documents\DinoSystem\">
I think it should be something like this. But it won't work in preview, you'll have to export it to NWJS to test.
It worked, thank you!
Is there a similiar way to open a folder in my PC from the game?
Develop games in your browser. Powerful, performant & highly capable.
What do you mean by "directly" - without prompting the user? You can only do this in NWJS export. Use NWJS action Write Binary File. I guess you'll have to load CanvasSnapshot into the BinaryData object first.
Is there an example for how to do it?
As title.
DinoSystem
> able to test if a layer is visible directly in an expression For some unknown reason Construct doesn't have such boolean conditions. You can make a function which checks if a layer is visible, and use it in "Pick by evaluate" expression.
> able to test if a layer is visible directly in an expression
For some unknown reason Construct doesn't have such boolean conditions.
You can make a function which checks if a layer is visible, and use it in "Pick by evaluate" expression.
Why i didn't think about it? Thank you!
Like this?
I mean directly picking instances as an expression, something like: pick objects if object.layer = visible (i made this up ofc).