Логотип Assets Pipeline

Assets Pipeline

Сообщество
jame581
assets-pipeline

Используйте при импорте ресурсов и управлении ими: сжатие изображений, импорт 3D-сцен, аудиоформаты, форматы ресурсов и настройки импорта

Add to TypingMind

Обзор

Издательjame581
РепозиторийGodotPrompter
Название навыкаassets-pipeline
Звёзды
808
Форки
47
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — jame581. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Assets Pipeline в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/jame581/GodotPrompter/tree/master/skills/assets-pipeline
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jame581/GodotPrompter.git /tmp/GodotPrompter
mkdir -p .claude/skills
cp -r /tmp/GodotPrompter/skills/assets-pipeline .claude/skills/assets-pipeline
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Assets Pipeline в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Assets Pipeline, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Assets Pipeline не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Assets Pipeline in Godot 4.3+

All examples target Godot 4.3+ with no deprecated APIs. GDScript is shown first, then C#.

Related skills: audio-system for audio playback and bus architecture, 3d-essentials for 3D materials and lighting, 2d-essentials for 2D rendering and sprites, animation-system for imported animations, godot-optimization for asset-related performance, multithreading for threaded resource loading.


1. How Importing Works

The Import System

When you add a file to res://, Godot auto-imports it based on its type. Import settings are stored in .import sidecar files alongside the original.

project/
├── textures/
│   ├── player.png           ← original file (committed to VCS)
│   └── player.png.import    ← import settings (committed to VCS)
└── .godot/
    └── imported/            ← compiled cache (NOT committed — .gitignore it)

Key Rules

  • Never modify files in .godot/imported/ — they are regenerated from originals
  • Commit .import files to version control — they store your settings
  • Reimport after changing settings: select file → Import dock → click Reimport
  • .godot/ should be in your .gitignore

Changing Import Settings

  1. Select the file in the FileSystem dock
  2. Open the Import dock (next to Scene dock by default)
  3. Change settings
  4. Click Reimport (or Reimport All for batch changes)

Import settings can also be set via Advanced Import Settings for 3D scenes (double-click the .glb/.gltf file).


2. Image Import

Compression Modes

ModeQualityVRAMFile SizeUse For
LosslessPerfectHighLargePixel art, UI elements
LossyGoodHighSmallLarge photos, backgrounds
VRAM CompressedReducedLowSmall3D textures, large 2D sprites
VRAM UncompressedPerfectHighLargeWhen VRAM compression artifacts are unacceptable
Basis UniversalReducedLowVery smallCross-platform, multiple GPU formats

When to Use Each

Pixel art / UI icons       → Lossless (no artifacts, crisp pixels)
2D game sprites            → Lossless (small sprites) or VRAM Compressed (large sprites)
3D textures (albedo, normal) → VRAM Compressed (saves GPU memory)
Large backgrounds          → Lossy or VRAM Compressed
Mobile targets             → VRAM Compressed (essential for memory)

Key Import Settings

SettingDescriptionDefault
Compress > ModeCompression algorithm (see table above)VRAM Compressed
Mipmaps > GenerateGenerate mipmaps for distance renderingOff
Process > Fix Alpha BorderPrevents dark outlines on transparent spritesOn
Process > Premult AlphaPre-multiply alpha (avoids dark halos)Off
Flags > FilterBilinear filtering (smooth) vs nearest (crisp)Linear
Flags > RepeatEnable texture tilingDisabled

Pixel Art Setup

For crisp pixel art, set these project-wide:

Project Settings > Rendering > Textures > Canvas Textures > Default Texture Filter → Nearest

Or per-image in Import dock: Filter → Nearest

Enabling Mipmaps

Mipmaps prevent shimmering on textures viewed at an angle or from a distance. Required for 3D textures; optional for 2D.

  • 3D textures: Always enable mipmaps (Import dock → Mipmaps → Generate → On)
  • 2D sprites: Usually off (unless you use Camera2D zoom)
  • UI textures: Off (rendered at fixed scale)

Godot 4.7+: DDS import supports the R8 and R8G8 texture formats. (GH-116307)


3. 3D Scene Import

Supported Formats

FormatExtensionRecommendation
glTF.gltf, .glbRecommended — open standard, best support
Blend.blendDirect Blender import (requires Blender installed)
FBX.fbxGood for legacy pipelines
Collada.daeOlder format, use glTF if possible
OBJ.objStatic meshes only — no animations/rigs

glTF is the recommended format. It has the best Godot support, is an open standard, and preserves materials, animations, and rigs accurately.

Node Naming Conventions

Godot auto-creates appropriate node types based on suffixes in your 3D model's object names:

SuffixGenerated NodeExample Name
-colStaticBody3D + collisionWall-col
-convcolConvexPolygonShape3DRock-convcol
-rigidRigidBody3DBarrel-rigid
-navmeshNavigationRegion3DFloor-navmesh
-occluderOccluderInstance3DBigWall-occluder
In Blender:                  In Godot (after import):
Wall-col                  →  StaticBody3D
├── Wall (mesh)           →    ├── MeshInstance3D
                          →    └── CollisionShape3D (auto-generated)

Import Dock Settings

Select the imported .glb/.gltf in FileSystem, then in the Import dock:

SettingDescription
Root TypeOverride root node type (Node3D, RigidBody3D, etc.)
Root NameCustom name for the root node
Meshes > Generate LODAuto-generate LOD levels (on by default)
Meshes > Light BakingStatic or Dynamic for lightmap baking
Animation > ImportEnable/disable animation import
Animation > FPSBake animation at this framerate

Godot 4.7+: The Import dock's import-type option can also import a 3D scene file as a single Mesh resource or as a MeshLibrary (for GridMap), instead of a full scene — no separate export step in the 3D authoring tool needed. (GH-107856)

⚠️ Changed in Godot 4.7: EditorSceneFormatImporter's IMPORT_SCENE, IMPORT_ANIMATION, IMPORT_FAIL_ON_MISSING_DEPENDENCIES, IMPORT_GENERATE_TANGENT_ARRAYS, IMPORT_USE_NAMED_SKIN_BINDS, IMPORT_DISCARD_MESHES_AND_MATERIALS, and IMPORT_FORCE_DISABLE_MESH_COMPRESSION constants moved into a new ImportFlags enum (bitfield). GDScript-compatible; C# importer plugins referencing the old class-level constants must switch to the enum members. See the 4.7 migration guide.

Runtime Scene Loading

Use preload() for paths known at compile time and load() for data-driven paths. GDScript + C# snippets: references/runtime-resource-loading.md.

Runtime glTF Import Flags (Godot 4.7+)

GLTFDocument exposes an ImportFlags bitfield — IMPORT_FLAG_GENERATE_TANGENT_ARRAYS (8), IMPORT_FLAG_USE_NAMED_SKIN_BINDS (16), IMPORT_FLAG_DISCARD_MESHES_AND_MATERIALS (32), IMPORT_FLAG_FORCE_DISABLE_MESH_COMPRESSION (64) — accepted by the flags: int = 0 parameter of append_from_file(), append_from_buffer(), and append_from_scene():

gdscript
var doc := GLTFDocument.new()
var state := GLTFState.new()
doc.append_from_file("user://mods/enemy.glb", state,
        GLTFDocument.IMPORT_FLAG_GENERATE_TANGENT_ARRAYS | GLTFDocument.IMPORT_FLAG_USE_NAMED_SKIN_BINDS)
add_child(doc.generate_scene(state))
csharp
var doc = new GltfDocument();
var state = new GltfState();
doc.AppendFromFile("user://mods/enemy.glb", state,
    (uint)(GltfDocument.ImportFlags.GenerateTangentArrays | GltfDocument.ImportFlags.UseNamedSkinBinds));
AddChild(doc.GenerateScene(state));

4. Animation Import

Splitting Animations

If a 3D file contains a single timeline with multiple animations, split them in the Advanced Import Settings:

  1. Double-click the .glb file to open Advanced Import Settings
  2. Go to Animations tab
  3. Add animation clips with start frame and end frame
  4. Set loop mode per clip (None, Linear, Ping-Pong)

Retargeting Animations

Share animations between characters with different skeletons:

  1. Import both the source (animation) and target (character) models
  2. Open Advanced Import Settings on the target model
  3. Go to Skeleton3D > Retarget settings
  4. Map source bones to target bones
  5. Use SkeletonProfile resources for standard humanoid mappings

Animation Import Settings

SettingDescription
ImportEnable/disable animation import
FPSBake framerate (30 is standard)
TrimmingRemove empty frames at start/end
Remove Immutable TracksRemove tracks that don't change

5. Audio Import

For in-depth audio playback, bus setup, and music management, see the audio-system skill.

Format Recommendations

FormatImport AsUse ForKey Settings
WAVAudioStreamWAVShort SFXLoop Mode, Mix Rate
OGGAudioStreamOggVorbisMusic, long SFXLoop, Loop Offset
MP3AudioStreamMP3Music (fallback)Loop, BPM

Key Import Settings

SettingDescriptionWhen to Use
LoopEnable looping playbackMusic, ambient loops
Loop OffsetStart position for loop restartAvoid intro on loop
Force MonoConvert stereo to mono3D positional audio
BPMBeats per minuteRhythm games
Beat CountTotal beats in the trackRhythm sync

Import tip: Use WAV for short SFX (zero decode latency). Use OGG for music (small file, good quality). Enable Force Mono for any audio used with AudioStreamPlayer3D — stereo doesn't spatialize properly.


6. Resource Formats

.tres vs .res

FormatTypeReadableUse For
.tresTextYesResources you edit by hand or diff
.resBinaryNoLarge resources, faster loading
gdscript
# Save as text resource
ResourceSaver.save(my_resource, "res://data/item.tres")

# Save as binary resource
ResourceSaver.save(my_resource, "res://data/item.res")

# Load (either format)
var resource: Resource = load("res://data/item.tres")
csharp
ResourceSaver.Save(myResource, "res://data/item.tres");
ResourceSaver.Save(myResource, "res://data/item.res");
var resource = GD.Load<Resource>("res://data/item.tres");

When to Use Each

  • .tres — Custom resources you create and edit (item data, config, skill definitions). Version control friendly.
  • .res — Generated or large binary data (baked lightmaps, navigation meshes, large meshes). Faster to load.
  • .tscn — Text scene files (always use text for scenes — diffable in VCS)
  • .scn — Binary scene files (rare — only for very large scenes where load time matters)

Threaded Resource Loading

Load large resources without freezing the game with the ResourceLoader.load_threaded_request() / load_threaded_get_status() / load_threaded_get() pattern. Full loading-screen recipe (GDScript + C#): references/runtime-resource-loading.md.


7. Common Pitfalls

SymptomCauseFix
Texture looks blurryFilter is set to Linear for pixel artSet Default Texture Filter to Nearest in Project Settings
Dark outlines on transparent spritesAlpha border not fixed on importEnable "Fix Alpha Border" in Import dock
3D model has no collisionsNo naming suffix in source modelAdd -col suffix to mesh names in Blender, or add manually
Imported animations missing"Import Animation" disabled in Import dockEnable Animation > Import and reimport
Texture VRAM too high on mobileUsing Lossless compression for large texturesSwitch to VRAM Compressed for textures > 256px
3D textures shimmer at distanceMipmaps not generatedEnable Mipmaps > Generate in Import dock
Audio has pop/click at loop pointLoop offset not set correctlyAdjust Loop Offset in Import dock; add fade in audio editor
Scene file is enormousUsing binary .scn instead of .tscnSave scenes as .tscn (text) for VCS; use .scn only if needed
Import settings lost after reclone.import files not committed to VCSAlways commit .import files; only .godot/ goes in .gitignore
Threaded load freezes gameChecking status every frame with load()Use ResourceLoader.load_threaded_request/get_status pattern

⚠️ Changed in Godot 4.7: The font import hinting default changed from 1 (Light) to 3 (Light (Except Pixel Fonts)) — pixel-style fonts now auto-disable hinting on import, so their rendering can change after upgrading. Set hinting back to 1 (Light) in the Import dock per font to keep the 4.6 look. See the 4.7 migration guide.


8. Implementation Checklist

  • .gitignore excludes .godot/ but NOT .import files
  • Pixel art projects set Default Texture Filter to Nearest in Project Settings
  • 3D textures have mipmaps enabled (Import dock → Mipmaps → Generate)
  • Large textures use VRAM Compressed (especially on mobile targets)
  • 3D models use glTF format (.glb or .gltf) as the primary import format
  • Collision shapes use naming suffixes (-col, -convcol) in the 3D authoring tool
  • Animations are split into individual clips in Advanced Import Settings
  • Audio SFX uses WAV; music uses OGG Vorbis
  • 3D positional audio files are imported as mono (Force Mono enabled)
  • Custom data resources use .tres (text) for version control diffability
  • Large or runtime-loaded resources use ResourceLoader.load_threaded_request()
  • Scene files use .tscn (text format) for version control

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Assets Pipeline?

Используйте при импорте ресурсов и управлении ими: сжатие изображений, импорт 3D-сцен, аудиоформаты, форматы ресурсов и настройки импорта

Зачем использовать Assets Pipeline в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Assets Pipeline — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Assets Pipeline в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/jame581/GodotPrompter/tree/master/skills/assets-pipeline. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Assets Pipeline?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Assets Pipeline?

С любым количеством. В TypingMind вы можете использовать Assets Pipeline с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Assets Pipeline?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — jame581. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип anthropics

Brand Guidelines

anthropics
ОрганизацияПопулярный

Применяет официальные фирменные цвета и типографику Anthropic к артефактам, которым подойдёт стиль компании. Используйте этот навык, если важны фирменные цвета, рекомендации по стилю, визуальное оформление…

21.8K
184K
Инструкции
Открыть
Логотип openclaw

Solid

openclaw
ОрганизацияПопулярный

Пишите, переносите, проверяйте или тестируйте интерфейсы Solid 2 UI в OpenClaw (Control UI, представления плагинов, хосты Canvas), включая управление состоянием, совместимость с Lit в процессе миграции, встроенные оверлеи, тестирование, производительность и…

82.4K
391.7K
Файлы: 9
Открыть
Логотип openclaw

Canvas

openclaw
ОрганизацияПопулярный

Показывайте документы размещённых виджетов на подключённой панели macOS и управляйте её видимостью и навигацией.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Diagram Maker

openclaw
ОрганизацияПопулярный

Создавайте диаграммы в SVG/HTML или Excalidraw для описания концепций, архитектуры, процессов и досок для совместной работы.

82.2K
391K
Файлы: 2
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇