-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Project specific Preview-templates #3379
Comments
+1 |
Thx for your suggestion. but I don't know where I can use this and it works. |
Hi @ColinCollins, Sorry for the super late response. I did not see your message before this and was about to bump this post. The problem is that you are not able to have custom "preview-templates" folders / game project, but you can have "build-templates" for a specific project. My request would be to support Project Specific "preview-template" folders I try to explain by using images: In my Game Project: There are many cases depending on your project where you would like or need to adjust your development environment, preview tool and game wrapper depending on what project you are working on. Currently I have to replace the Cocos Creator Application "preview-template" folder each time i swap projects. TL/DR: Would it be possible to have project specific "preview-template" folders? |
👍 |
@ColinCollins Did you understand what we are trying to achieve with the project specific preview-template folder? |
I think we should add it in 2.2 |
@jareguo @ColinCollins I would really appreciate this. I think this is something that many doesn't realize how strong it would be. I'm also assuming that it would not be a super complicated thing to do (I might be wrong). If we would get it in 2.2 I would be supper happy! |
+1 It is important to have the same result when preview and release for developers. |
Why was this closed @jareguo @knoxHuang ? :( |
This feature has been implemented and will be in version 2.2, so turn it off |
Awesome, Thank you! 💯 🎉 |
What about this feature now? |
This feature landed in v2.2, see https://docs.cocos.com/creator/manual/en/advanced-topics/custom-preview-template.html |
* gfx: CommandBuffer.draw accept DrawInfo * clang-tidy config * tidy adapt * enable function name check * better workflow
Hi,
Something that would really help a lot when working with different projects using Cocos Creator would be to be able to have project specific "preview-templates" folders in the root of the projects, the same way as "build-templates" in project roots override the "resources\static\build-templates" default build templates.
Preview-templates folder is also in Cocos Creator application under "resources\static\preview-templates" the exact same way as "build-templates".
This sounds like a quite small change in the software (?) but would be a HUGE benefit in many cases where you have some project specific requirements for your preview templates. Now these changes can be easily applied only for builds.
I'm sure that the usability of Cocos Creator would go up by miles for many of us struggling to implement custom solutions for our preview templates.
Thank you a lot in advance and I'm always ready to answer any questions you might have.
The text was updated successfully, but these errors were encountered: