下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「godot-gdscript-patterns」。 Give me a scene management approach with loading feedback for Godot 4.
預期結果:
- Use an autoload scene manager to swap scenes and emit progress signals
- Load scenes asynchronously with threaded loading for smooth feedback
- Show a loading scene while progress updates are emitted
- Play a transition before and after the scene swap
正在使用「godot-gdscript-patterns」。 How do I structure player states for an action game?
預期結果:
- Create a StateMachine class that manages current state and transitions
- Define State base class with enter, exit, update, and physics_update methods
- Each player behavior (idle, move, attack, jump) extends State
- Use signals to communicate state changes to other systems
正在使用「godot-gdscript-patterns」。 What patterns help with game performance in Godot?
預期結果:
- Cache node references with @onready instead of calling get_node repeatedly
- Pool frequently spawned objects like bullets and enemies to reduce allocations
- Disable processing on objects that are not currently needed
- Use resources to separate data from logic for better memory management
安全審計
安全This skill is documentation-only with GDScript code examples for Godot 4 game development. All static findings are false positives - there is no executable code, no network access, and no credential exfiltration. The static scanner misinterpreted markdown code block markers as shell backticks and placeholder documentation examples as security issues.
風險因素
⚙️ 外部命令 (38)
🔑 環境變數 (1)
品質評分
你能建構什麼
规划小型动作游戏
为紧凑的 Godot 4 项目选择场景、状态和组件模式。
减少帧率波动
应用池化和处理控制来稳定运行时性能。
标准化团队模式
采用一致的信号、资源和存档系统指导。
試試這些提示
为 Godot 4 中的俯视射击游戏推荐基本的场景树和信号流。
设计一个包含空闲、移动、攻击和跳跃状态且转换清晰的状态机。
展示如何使用对象池处理子弹,并包含生成和销毁回调。
概述使用资源来保存和加载玩家属性和位置的存档系统。
最佳實務
- 使用信号解耦场景和系统
- 在就绪时缓存节点引用以优化热路径
- 将可重用数据保存在资源中
避免
- 在每一帧中调用 get_node
- 将游戏机制逻辑放在资源内部
- 将非全局功能用于自动加载
常見問題
这与 Godot 4.x 兼容吗?
它不涵盖什么?
我可以将其集成到现有项目中吗?
它会访问我的文件或密钥吗?
如果某个模式不适用于我的游戏怎么办?
这与 Godot 文档有何不同?
開發者詳情
作者
wshobson授權
MIT
儲存庫
https://github.com/wshobson/agents/tree/main/plugins/game-development/skills/godot-gdscript-patterns引用
main
檔案結構
📄 SKILL.md