For years I’ve been refining a bash script to create new projects based on a template and it’s been fine for most project types. For a while I’ve been wanting to upgrade it. This 2.0 version enables any shape of project now, irrespective of file management opinions, mainly because it “learns” templates from existing projects.
It’s pretty simple, mainly copies folders and files. For most I’m sure this is overkill, but I’ve enjoyed the process of improving and streamlining the process.
I used to cp -r PROJECT_TEMPLATE New_Project; cd New_Project && ./config and then answer a few questions to set some defaults like Godot version, stage after build, etc.
Now I just pt init godot New_Project and answer some of the same questions.
If you’ve been around a while I’d love to hear how you do things. I’ve always been interested in how things work, pipeline and process.
pt-cli updated with improved UX. Learn → Init → Update: Update now only shows what would be added to a template. This streamlined approach mimics what my project closedown typically includes: a task to improve the template with new tools and processes (documentation.)
PT-GUI now “ships” with example templates and the new “deploy” feature could be useful for teams by listing available remote templates in a deploy.yaml|json file.
This should close the loop allowing for incremental improvement of templates. For my purposes I might only have a few new items I want to retain for the next project but I can quickly see the ones I’ll likely remove.
Oh, the app background color is customizable now, too.
After 40+ versions and 146 passing tests, the API is now locked for the 1.x series. No breaking changes to CLI commands, config schema (~/.pt/config.yaml), or JSON template format (.pt-template.json).
Latest revisions to pt include support for partials, or modular templates. I’m finding it to be a useful addition.
Also made a web app for exploring popular folder structures so newcomers don’t have to start from zero and old-timers can learn something new: https://pt-wizard.lyonritchie.com/
Small update to the thread above. I pulled the wizard apart and rebuilt the discovery side as a gallery: 12 credited structures, each with a ZIP and a pt-cli JSON download: https://pt-gallery.lyonritchie.com/
Two of them are for us. My house layout keeps the engine folder under the working title (SCENE_GODOT), splits assets into MATERIAL/MODEL/TEXTURE, and runs screenshots and captures through RENDER and DAILIES like a film pipeline. The GDQuest card is the engine-side complement: addons, systems, ui, content, gyms. I use the house one for jams and the modular one inside it.
Project templates engineered by you. Grab what fits, rename the rest.
How are you laying out Godot projects these days? …There’s the files in the Godot project folder (res://) and then there’s the rest of it.