重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
godot-game-loop-collection by thedivergentai/gd-agentic-skills
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-game-loop-collection此技能为"收集循环"提供了一个标准化框架——这是一种游戏玩法目标,玩家需要寻找并收集一组特定物品(例如,隐藏的彩蛋、数据日志、硬币)。
queue_free() 在帧结束时安全地处理它。_physics_process() 中发生,以保持与引擎固定时间步长的同步。load() 会阻塞主线程。请使用 ResourceLoader.load_threaded_request()。is_equal_approx() 或相对比较。call_deferred() 将结果推回主线程。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
_ready() 是从下到上执行的。如果你需要子节点的引用,请使用 @onready 或 await ready。connect("signal", _on_func)。请使用 Signal 对象语法(signal.connect(_on_func))以获得编译时验证。_unhandled_input() 回调来干净地拦截事件,而无需在 _process() 中浪费 CPU 周期。Marker3D 或 CollisionShape3D 节点,以便设计师无需接触代码即可调整布局。queue_free() 会感觉很生硬。在移除前,始终生成粒子或播放声音。CollectionManager 内,并通过发射信号来更新 UI。强制要求:在实现相应模式之前,请阅读适当的脚本。
包含 10 个专家模式:自定义 MainLoop 扩展、延迟场景切换、线程化加载和帧率限制。
收集任务的核心大脑。跟踪进度并管理完成信号。
每周安装量
51
代码仓库
GitHub 星标数
59
首次出现
2026年2月16日
安全审计
安装于
opencode51
kimi-cli50
gemini-cli50
amp50
github-copilot50
codex50
This skill provides a standardized framework for "Collection Loops" – gameplay objectives where the player must find and gather a specific set of items (e.g., hidden eggs, data logs, coins).
queue_free() to safely dispose of it at the end of the frame._physics_process() to stay synced with the engine's fixed timestep.load() on a huge scene stalls the main thread. Use ResourceLoader.load_threaded_request().is_equal_approx() or relative comparisons.call_deferred() to push results back to the main thread._ready() executes from bottom-to-top. If you need child references, use @onready or await ready.connect("signal", _on_func). Use the Signal object syntax (signal.connect(_on_func)) for compile-time validation._unhandled_input() callback to cleanly intercept events without wasting CPU cycles in _process().Marker3D or CollisionShape3D nodes in the scene so designers can adjust layout without touching code.queue_free() feels dry. Always spawn particles or play a sound before removal.CollectionManager and emit signals to update the UI.MANDATORY : Read the appropriate script before implementing the corresponding pattern.
Collection of 10 expert patterns: Custom MainLoop extensions, deferred scene switching, threaded loading, and frame throttling.
The central brain of the hunt. Tracks progress and manages completion signals.
Weekly Installs
51
Repository
GitHub Stars
59
First Seen
Feb 16, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode51
kimi-cli50
gemini-cli50
amp50
github-copilot50
codex50
GSAP React 动画库使用指南:useGSAP Hook 与最佳实践
3,900 周安装