首页/游戏开发/godot-gdscript-patterns
G

godot-gdscript-patterns

by @sickn33v
4.1(20)

精通Godot 4 GDScript模式,包括信号、场景管理等,高效开发游戏逻辑和交互。

godot-enginegdscriptgodot-4signalsscenesGitHub
安装方式
npx skills add sickn33/antigravity-awesome-skills --skill godot-gdscript-patterns
compare_arrows

Before / After 效果对比

1
使用前

在没有遵循良好模式的情况下,GDScript 代码可能变得混乱,难以理解和维护,尤其是在处理信号和状态时。例如,一个角色控制器可能将所有逻辑混杂在一个 `_process` 函数中。

使用后

通过应用 Godot GDScript 模式,代码结构变得清晰,模块化程度高。例如,使用状态机模式将角色行为分解为独立状态,并通过信号进行通信,大大提高了代码的可读性和可维护性。

SKILL.md

Godot GDScript Patterns

Production patterns for Godot 4.x game development with GDScript, covering architecture, signals, scenes, and optimization.

Use this skill when

  • Building games with Godot 4
  • Implementing game systems in GDScript
  • Designing scene architecture
  • Managing game state
  • Optimizing GDScript performance
  • Learning Godot best practices

Do not use this skill when

  • The task is unrelated to godot gdscript patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量260
评分4.1 / 5.0
版本
更新日期2026年5月23日
对比案例1 组

用户评分

4.1(20)
5
40%
4
50%
3
10%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年5月23日