Sharing common files between exported projects

Discussion and feedback on Construct 2

Post » Wed Jun 05, 2013 10:22 pm

I asked this question a while ago about sharing assets in projects. This time, I want to share files when I export my projects as HTML5 Websites.

I looked through the file structure of the exported projects, and they are pretty much the same, and in both of my projects, my assets and files are identical. I was wondering if I could merge all of my projects into one folder so all the projects share the same folder.

I am making a browser game that runs full screen. I am also making a dynamic website in HTML5/CSS3/JS, and am using C2 to do some of the elements, mainly the player stats and the message board "widgets" on the player's homepage of the website. The player image files are identical in all three projects.

The thing that struck me was the c2runtime.js file. I went through the index.html file and saw the comment stating that you could rename the file. I do not want to go on with this untull i have had some confirmation that I can use the same image files with different projects, so I dont accidently break my computer :P.

Anyone got some insight on this? I think, theoretically it is possibe, I just want to be sure. I really dont want 3 or 4 copues of the same file on my computer, when I could just reuse the images for the different projects.

TL;DR
I want to merge my 3 projects so that they share the same files, save for the c2runtime.js file. Is this possible?
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Thu Jun 06, 2013 1:51 pm

Why not just make it all in one project?
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,672

Post » Thu Jun 06, 2013 2:29 pm

Because the three projects are able to run simltaneously; two projects on the Player's homepage, and one project running in tis own window (the actual multiplayer game)
B
10
S
2
Posts: 94
Reputation: 1,536


Return to Construct 2 General

Who is online

Users browsing this forum: ErekT, Happyjoker666, JithinJoy and 2 guests