flaxcommunityprojects / flax-auto-import-resources-plugin Goto Github PK
View Code? Open in Web Editor NEWAutomatically imports assets
License: The Unlicense
Automatically imports assets
License: The Unlicense
A bunch of things could be optimized a lot.
So, basically we've (my gamedev team) dropped the idea to separate models like this.
And currently using something like this:
Content/Assets/Characters/Knight/
Models/KnightModel.flax
Textures/KnightBodyDiffuse.flax
Materials/...
TPVKnightPrefab.flax
KnightSettings.flax
Content/Assets/Weapons/LongSword1/
Models/LongSword1Model.flax
Textures/LongSword1Diffuse.flax
Materials/...
TPVLongSword1Prefab.flax
LongSword1Settings.flax
Where Content is the Flax's default root dir.
-- Erdroy
One thing the plugin could automatically do would be name-prefixing. So you could have
Knight/Textures/Body Diffuse.png
and it would turn into Knight/Textures/Knight Body Diffuse.flax
Currently it only keeps the files in sync. Ideally, it would also synchronize the folder structure.
Currently the target folder is Content/Imported
. A neater folder would be Content/Assets
.
Currently, when you import a file (say .png
), you'll end up with a binary .flax
file. This file stores the image and the import settings.
Combined with an auto importer, the .flax
file is a partially auto-generated file. So, I was wondering if it's possible to only store the import settings in a GitHub repository and how you would go about doing so?
It seems like it could work like this (names are subject to change)
/Source/Assets
: Original files/Content/Imported
: Imported filesIt could be added to the .gitignore
, however that requires super deterministic importers that don't change across versions.
Sometimes there are files in the Assets
folder that really shouldn't get imported. For example, a Readme.md
file.
Maybe? Hopefully?
Currently, when reimport is called, the importing popup still pops up.
When the editor isn't focused, pause the actual re-importing.
Currently, it only checks for the existence of the said folders on startup. It would be better if it always checked for their existence.
https://github.com/stefnotch/flax-auto-import-resources-plugin/blob/42bff5c7ad281b5cf8a126899357e7a1c61f678b/Source/Editor/ResourcePlugin.cs#L59
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.