mcpField
D
defold-docs-fetch

defold-docs-fetch

github.com/indiesoftby开发10457 次安装27 周前更新
代码仓库

关于 defold-docs-fetch

defold-docs-fetch 是面向 Defold 开发者的文档参考技能,将主题对应到纯 Markdown 文档链接,便于获取和阅读相关内容。

主要功能

  1. 01主题到文档链接索引
  2. 02纯 Markdown 文档来源
  3. 03涵盖编辑器与核心概念
  4. 04提供资源、物理和渲染文档
  5. 05平台与优化文档参考

适用场景

  1. 01查询 Defold 功能指南
  2. 02查找项目设置文档
  3. 03定位平台或优化参考资料

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/indiesoftby/defold-agent-config --skill defold-docs-fetch

安装后在 Claude Code 中输入/defold-docs-fetch确认已加载。

详细介绍

Defold 文档参考

从以下链接获取文档(这些 URL 指向纯 Markdown 文件)。

入门

主题URL
简介https://defold.com/llms/manuals/introduction.md
安装 Defoldhttps://defold.com/llms/manuals/install.md
术语表https://defold.com/llms/manuals/glossary.md
面向 Flash 用户的 Defoldhttps://defold.com/llms/manuals/flash.md
获取帮助https://defold.com/llms/manuals/getting-help.md

项目设置

主题URL
创建项目https://defold.com/llms/manuals/project-setup.md
项目设置https://defold.com/llms/manuals/project-settings.md
共享项目(库)https://defold.com/llms/manuals/libraries.md
忽略文件https://defold.com/llms/manuals/project-defignore.md

编辑器

主题URL
概览https://defold.com/llms/manuals/editor.md
代码编辑器https://defold.com/llms/manuals/writing-code.md
自定义项目模板https://defold.com/llms/manuals/editor-templates.md
编辑器脚本https://defold.com/llms/manuals/editor-scripts.md
编辑器脚本:UIhttps://defold.com/llms/manuals/editor-scripts-ui.md
调试器https://defold.com/llms/manuals/debugging-game-logic.md
首选项https://defold.com/llms/manuals/editor-preferences.md
重构https://defold.com/llms/manuals/refactoring.md
样式https://defold.com/llms/manuals/editor-styling.md

核心概念

主题URL
构建模块https://defold.com/llms/manuals/building-blocks.md
寻址https://defold.com/llms/manuals/addressing.md
消息传递https://defold.com/llms/manuals/message-passing.md
应用程序生命周期https://defold.com/llms/manuals/application-lifecycle.md

资源与素材

主题URL
导入素材https://defold.com/llms/manuals/importing-assets.md
缓存素材https://defold.com/llms/manuals/caching-assets.md
导入 2D 图形https://defold.com/llms/manuals/importing-graphics.md
导入 3D 模型https://defold.com/llms/manuals/importing-models.md
适配屏幕尺寸https://defold.com/llms/manuals/adapting-graphics-to-screen-size.md
实时更新https://defold.com/llms/manuals/live-update.md
图集https://defold.com/llms/manuals/atlas.md
缓冲区https://defold.com/llms/manuals/buffer.md
字体https://defold.com/llms/manuals/font.md
资源管理https://defold.com/llms/manuals/resource.md
瓦片源https://defold.com/llms/manuals/tilesource.md
纹理过滤https://defold.com/llms/manuals/texture-filtering.md
纹理压缩https://defold.com/llms/manuals/texture-profiles.md

动画

主题URL
概览https://defold.com/llms/manuals/animation.md
翻页动画https://defold.com/llms/manuals/flipbook-animation.md
模型动画https://defold.com/llms/manuals/model-animation.md
属性动画(缓动)https://defold.com/llms/manuals/property-animation.md

组件

主题URL
概览https://defold.com/llms/manuals/components.md
集合工厂https://defold.com/llms/manuals/collection-factory.md
集合代理https://defold.com/llms/manuals/collection-proxy.md
碰撞对象https://defold.com/llms/manuals/physics-objects.md
摄像机https://defold.com/llms/manuals/camera.md
工厂https://defold.com/llms/manuals/factory.md
标签https://defold.com/llms/manuals/label.md
网格https://defold.com/llms/manuals/mesh.md
模型https://defold.com/llms/manuals/model.md
粒子特效https://defold.com/llms/manuals/particlefx.md
声音https://defold.com/llms/manuals/sound.md
精灵https://defold.com/llms/manuals/sprite.md
瓦片地图https://defold.com/llms/manuals/tilemap.md

GUI

主题URL
GUI 概览https://defold.com/llms/manuals/gui.md
方框节点https://defold.com/llms/manuals/gui-box.md
文本节点https://defold.com/llms/manuals/gui-text.md
饼图节点https://defold.com/llms/manuals/gui-pie.md
ParticleFX 节点https://defold.com/llms/manuals/gui-particlefx.md
模板节点https://defold.com/llms/manuals/gui-template.md
脚本https://defold.com/llms/manuals/gui-script.md
裁剪https://defold.com/llms/manuals/gui-clipping.md
布局https://defold.com/llms/manuals/gui-layouts.md

物理

主题URL
物理概览https://defold.com/llms/manuals/physics.md
碰撞对象https://defold.com/llms/manuals/physics-objects.md
碰撞形状https://defold.com/llms/manuals/physics-shapes.md
碰撞组https://defold.com/llms/manuals/physics-groups.md
碰撞消息https://defold.com/llms/manuals/physics-messages.md
碰撞事件监听器https://defold.com/llms/manuals/physics-events.md
解决碰撞https://defold.com/llms/manuals/physics-resolving-collisions.md
射线投射https://defold.com/llms/manuals/physics-ray-casts.md
关节与约束https://defold.com/llms/manuals/physics-joints.md

声音

主题URL
声音https://defold.com/llms/manuals/sound.md
声音流式传输https://defold.com/llms/manuals/sound-streaming.md

输入

主题URL
概览https://defold.com/llms/manuals/input.md
按键与文本输入https://defold.com/llms/manuals/input-key-and-text.md
鼠标与触控https://defold.com/llms/manuals/input-mouse-and-touch.md
游戏手柄https://defold.com/llms/manuals/input-gamepads.md

游戏逻辑

主题URL
脚本https://defold.com/llms/manuals/script.md
属性https://defold.com/llms/manuals/properties.md
脚本属性https://defold.com/llms/manuals/script-properties.md
Defold 中的 Luahttps://defold.com/llms/manuals/lua.md
源代码混淆https://defold.com/llms/manuals/application-security.md
模块https://defold.com/llms/manuals/modules.md
调试https://defold.com/llms/manuals/debugging-game-logic.md
编写代码https://defold.com/llms/manuals/writing-code.md

文件

主题URL
使用文件https://defold.com/llms/manuals/file-access.md

网络连接

主题URL
概览https://defold.com/llms/manuals/networking.md
HTTP 请求https://defold.com/llms/manuals/http-requests.md
套接字连接https://defold.com/llms/manuals/socket-connections.md
在线服务https://defold.com/llms/manuals/online-services.md

渲染

主题URL
渲染https://defold.com/llms/manuals/render.md
材质https://defold.com/llms/manuals/material.md
计算https://defold.com/llms/manuals/compute.md
着色器https://defold.com/llms/manuals/shader.md
纹理过滤https://defold.com/llms/manuals/texture-filtering.md
基于物理的渲染https://defold.com/llms/manuals/physically-based-rendering.md

工作流

主题URL
应用安全https://defold.com/llms/manuals/application-security.md
打包应用https://defold.com/llms/manuals/bundling.md
缓存资源https://defold.com/llms/manuals/caching-assets.md
命令行工具(bob)https://defold.com/llms/manuals/bob.md
热重载https://defold.com/llms/manuals/hot-reload.md
移植指南https://defold.com/llms/manuals/porting-guidelines.md
重构https://defold.com/llms/manuals/refactoring.md
移动端开发应用https://defold.com/llms/manuals/dev-app.md
版本控制https://defold.com/llms/manuals/version-control.md
编写代码https://defold.com/llms/manuals/writing-code.md
离线工作https://defold.com/llms/manuals/working-offline.md

调试

主题URL
调试游戏逻辑https://defold.com/llms/manuals/debugging-game-logic.md
调试原生代码https://defold.com/llms/manuals/debugging-native-code.md
在 Android 上调试原生代码https://defold.com/llms/manuals/debugging-native-code-android.md
在 iOS 上调试原生代码https://defold.com/llms/manuals/debugging-native-code-ios.md
查看游戏和系统日志https://defold.com/llms/manuals/debugging-game-and-system-logs.md

优化

主题URL
优化应用https://defold.com/llms/manuals/optimization.md
优化游戏大小https://defold.com/llms/manuals/optimization-size.md
优化运行时性能https://defold.com/llms/manuals/optimization-speed.md
优化电池用量https://defold.com/llms/manuals/optimization-battery.md
优化内存用量https://defold.com/llms/manuals/optimization-memory.md
性能分析https://defold.com/llms/manuals/profiling.md

变现

主题URL
广告https://defold.com/llms/manuals/ads.md

平台

Android
主题URL
简介https://defold.com/llms/manuals/android.md
应用间通信https://defold.com/llms/manuals/iac.md
移动端开发应用https://defold.com/llms/manuals/dev-app.md
iOS
主题URL
简介https://defold.com/llms/manuals/ios.md
应用间通信https://defold.com/llms/manuals/iac.md
移动端开发应用https://defold.com/llms/manuals/dev-app.md
游戏主机
主题URL
Nintendo Switchhttps://defold.com/llms/manuals/nintendo-switch.md
PlayStationhttps://defold.com/llms/manuals/sony-playstation.md
Microsoft Xboxhttps://defold.com/llms/manuals/microsoft-xbox.md
HTML5
主题URL
简介https://defold.com/llms/manuals/html5.md
桌面
主题URL
Linuxhttps://defold.com/llms/manuals/linux.md
macOShttps://defold.com/llms/manuals/macos.md
Windowshttps://defold.com/llms/manuals/windows.md

引擎扩展

主题URL
简介https://defold.com/llms/manuals/extensions.md
Defold SDKhttps://defold.com/llms/manuals/extensions-defold-sdk.md
Gradle 依赖项https://defold.com/llms/manuals/extensions-gradle.md
Cocoapod 依赖项https://defold.com/llms/manuals/extensions-cocoapods.md
添加自动补全定义https://defold.com/llms/manuals/extensions-script-api.md
最佳实践https://defold.com/llms/manuals/extensions-best-practices.md
调试https://defold.com/llms/manuals/debugging-native-code.md
扩展清单https://defold.com/llms/manuals/extensions-ext-manifests.md
应用清单https://defold.com/llms/manuals/app-manifest.md
清单合并https://defold.com/llms/manuals/extensions-manifest-merge-tool.md
设置本地构建服务https://defold.com/llms/manuals/extender-local-setup.md
可用的 Docker 镜像https://defold.com/llms/manuals/extender-docker-images.md

用法

当你需要了解 Defold 功能或概念的文档时:

  1. 确定主题(例如,“集合代理”“输入处理”“物理”)
  2. 在上方的表格中找到对应条目
  3. 获取对应的 URL(所有 URL 都是纯 Markdown 格式——获取并阅读原始内容)
  4. 示例:获取 https://defold.com/llms/manuals/collection-proxy.md

评论

支持 Markdown