How do I make that, clicking a button, to start an executabl

Get help using Construct 2

Post » Wed Nov 26, 2014 12:29 pm

As always, I apologize for any grammatical errors. I am working Google Translator.

How do I make that, clicking a button, to start an executable file?

I created an isometric game for mobile devices and'm doing a version for Windows computers. If on smartphones, the character can interact with things and houses, following a short animation, computer windows I want to make sure that the character has the feeling of really get into it, thanks to an executable of my creation. Construct 2 allows, clicking on a button in html5, to start an executable?
B
7
S
2
Posts: 55
Reputation: 692

Post » Wed Nov 26, 2014 2:37 pm

Hi there. In order to do that, just add the Node-Webkit object to your project if it isn't already done, then create an event that says:
On Button clicked: Run file at path %expression%
You will have to replace %expression% by a working file path.
You can find exemples of file paths variables by entering "NodeWebkit." in the path. The dot "." is important because it will auto-suggest different variables you can use, just remove the quotes.
B
17
S
3
G
3
Posts: 89
Reputation: 2,825

Post » Tue Dec 09, 2014 1:52 pm

Thanks!
B
7
S
2
Posts: 55
Reputation: 692


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 61 guests