Running multiple exe and png files question.

Discussion and feedback on Construct 2

Post » Thu Jul 17, 2014 5:57 am

Hello.
I need to open various files in a given order, each one after the last. The problem, is that if I put the codes as in the image shows, all the files runs simultaneously, and they dont wait after the rest is loaded.
Image

Some Ideas? Is there an alternative plugin that haves the "when is loaded" feature?
B
8
S
1
Posts: 32
Reputation: 573

Post » Thu Jul 17, 2014 7:13 am

Well the event is working as it should, I don't know of any way to tell Construct to wait for an external program to do something, other than waiting for JS variables or the like (which wouldn't be useful in your case anyway).

I'm not sure exactly why you're using external files, but perhaps it'd be better to instead load those wavs and pngs as project files, and call them from there, within your NW application. If all you want to do is show an image or load an audio track one after the other, then you're far better off keeping it within your application.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Thu Jul 17, 2014 1:33 pm

Is an experiment that automatic runs the external apps that the user wants, one after another... Its like a Playlist of any type of program, or in other words, a batch processing (.bat system)
B
8
S
1
Posts: 32
Reputation: 573

Post » Thu Jul 17, 2014 1:44 pm

Ah, then in that case, you could make Construct create, edit and run its own batch files with the write and append file actions.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Sat Jul 19, 2014 2:36 am

I'll do that for now. Thank you.
B
8
S
1
Posts: 32
Reputation: 573


Return to Construct 2 General

Who is online

Users browsing this forum: Brendan2007 and 7 guests