Can I change the folder structure after exporting for web?

0 favourites
  • 4 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • so, I've made the game and exported it for the web. The problem is my client asked me whether I can change the structure or not, so if you see the below image

    my client wants the index.html file in the jspsy/program folder, the css in the jspsy/css folder, and the image in the jspsy/program/image/game_name folder

    I don't think the exported folder's structure can be changed and I already told the client that it might be hard to do so. I just want an opinion from you guys who maybe have this kind of situation before. If it really can't be done, I'll have to talk to my client.

    Thanks in advance.

  • Your two options are "flat" and "folders" in the "Export file structure" project property (in Advanced section), but to be honest "flat" is only there for backwards compatibility and "folders" is the best option. There is not currently any support in Construct for loading different resources from different places outside its own folder. For one thing, that could break your project, if you do things like load resources by a string of their URL relative to the project.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I can't find the "Export file structure" in the advanced section in project properties.

    Or maybe I just misunderstand you when you said the project's properties?

  • Ah, sorry, I forgot that option is only in the latest beta releases. It's not there in the latest stable release, but it will be there in the next stable release, which should be out in the next month or so.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)