-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize folder structure #822
Comments
After discussing with @SirePi we found out that the Media folder actually contains only temporary data that is used so that you can edit resources in external programs. The source of truth is actually still the resource itself. Might sound a bit weird since it does get updated from the media folder but thats just a trick to make it work with a external program. @ilexp is the above correct? To make it more clear that this is temporary data I think we should put this folder under duality/temp. |
Yes and no. You can safely delete the Source/Media folder and everything will still work in Duality and the editor. You can even open or re-export most of the builtin Resources via double-click, and the sources will just be extracted again and opened. However. This is not true for all Resource importers that can be implemented, and not even for some that currently exist, since importing and exporting are not symmetric operations. It is possible for an import to extract relevant information and omit "design" information that cannot be recreated on export. So, in summary, the |
On a different note:
Please use Looks good other than that. Not sure about the
|
ok
Ah that makes sense. You always want to edit the source data for best quality.
Some more idea's
I don't think we want to put it under the Duality folder though as you don't need these files anymore when publishing your game. Makes it easier if its already separated by default. |
Decided to go with |
I think for now we should keep DualityLauncher and Editor in the root folder as thats much easier to implement. Moving further discussion about this to #828 |
Summary
Before releasing v4 we should consider optimizing the folder structure a bit. I propose that we introduce a separation between source code and the duality game engine.
To give a general idea the structure would look like this
Duality does use some hardcoded paths so these have to be changed to make this work.
Analysis
EDIT: updated example structure
The text was updated successfully, but these errors were encountered: