/godot_local_assets_browser

a asset browser for local assets

Primary LanguageGDScriptGNU General Public License v3.0GPL-3.0

Local assets browser

An asset browser for local assets
image

Usage

  1. Click the folder icon in the top right and select the folder that all your assets are in.
  2. Wait for all the assets to appear.
  3. Find the asset you want and click import.
  4. The assets should be in res://Assets/{asset_name}.

Settings

Local_Assets/asset_dir - directory to look for the assets. mainly used to keep the same directory across projects Local_Assets/File_preview_names - An array of names for preview files. files must be images.
Local_Assets/use_first_image_found - If a file in a dose not match any name in Local_Assets/File_preview_names and no Assets.json file is found it will take the first image file it finds and use that

Troubleshooting

  1. If assets don't show up this could be because the addon looks for image files with a specific name if it can't find a file with that name it skips it. You can add file names in EditorSettings -> Local_Assets -> File_preview_names.
    Alternatively, you can force a directory to be an asset by putting a file named Assets.json in the folder you want to be an asset.
    The Assets.json file must contain the following properties:
          - path - the base path for the asset everything in here will be copied to your project
          - name - the name of the asset that will appear in the browser
          - (Optional) image_path - Preview image image