dashiming

Godot Game Claw Bridge

開發程式設計v1.5.0
作者:dashiming更新於 2026-05-17共 5 個版本 · 最新版本釋出於 2026-03-14godot-bridge@clawhub_dashiming/godot-bridge
程式碼生成指令碼工具#Game#Health

據 AlphaMoat 統計,截至 2026-09,Godot Game Claw Bridge 累計下載 2,812 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 3,860 位,在「開發程式設計」分類(577 個)中排名第 487 位。

累計安裝
301
累計下載
2812
星標
3
全站排名
#3,860
全站前 77% · 「開發程式設計」前 85%
平台累計安裝累計下載星標評論
ClawHub ↗4316391-
SkillHub ↗30128123—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

演示專案、場景、指令碼、關卡、介面及生命、揹包、存檔、輸入、對話和任務元件。生成檔案需在臨時或明確獲准工作區審查。卡片指出路徑與 shell 呼叫風險;修復前避免不可信引數及開啟不可信專案目錄。

資料釋出於 2026-10-27

可以用來做什麼

  • 規劃 Godot 原型

什麼時候用

  • 可在隔離環境審查生成遊戲檔案時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

展示獲准臨時工作區的專案及元件計劃,先不執行命令。

月度資料趨勢

累計下載2812
369168129932026-03 · 累計下載 5502026-05 · 累計下載 10972026-06 · 累計下載 12682026-07 · 累計下載 16002026-08 · 累計下載 19782026-09 · 累計下載 281226-0326-09
星標3
1232026-03 · 星標 12026-05 · 星標 22026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092812—3
2026-081978+23.6%3
2026-071600+26.2%3
2026-061268+15.6%3
2026-051097—2
2026-03550—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.9 KB · ClawHub v1.5.0
---
name: godot-bridge
description: "Godot 4.x Project Generator CLI. Create 2D/3D games with 80+ CLI commands: projects, scenes, scripts, levels, UI (menu/HUD/dialog/inventory), game components (health/inventory/save/input/dialogue/quest), physics (rigid/kinematic/area/joint), particles, animations, materials, and export to HTML5/Windows/macOS/Linux/Android/iOS. Perfect for AI-driven game development, rapid prototyping, and automated workflows."
metadata:
  openclaw:
    emoji: 🎮
    requires:
      bins: ["node"]
---
展開全部(共 170 行)
# Godot Bridge - Project Generator CLI v3.0

Generate complete Godot 4.x projects with scenes, scripts, and game components.

## Quick Start

```bash
# Create project
clawbridge init MyGame

# Enter project
cd MyGame

# Add components
clawbridge component health --type health
clawbridge component inventory --type inventory

# Add objects
clawbridge label "Score: 0" --x 50 --y 30
clawbridge box --x 200 --y 150
clawbridge camera --x 640 --y 360

# Open in Godot
clawbridge open
```

## Commands

### Project
```bash
clawbridge init MyGame              # Basic 2D project
clawbridge init MyGame --3d        # 3D project
clawbridge init MyGame --template rpg   # RPG template
```

### Generate
```bash
clawbridge scene Main       # Generate scene
clawbridge script Player    # Generate script
clawbridge level Level1     # Generate level
```

### Game Components
```bash
# Health System
clawbridge component health --type health

# Inventory System
clawbridge component inventory --type inventory

# Save/Load System
clawbridge component save_system --type save

# Input System
clawbridge component input_system --type input

# Dialogue System
clawbridge component dialogue --type dialogue

# Quest System
clawbridge component quest --type quest
```

### Objects (add to scene)
```bash
clawbridge label "Hello" --x 100 --y 50
clawbridge button "Click" --x 200
clawbridge box --x 100 --y 100
clawbridge sphere --x 200
clawbridge camera --x 640 --y 360
clawbridge light --x 100
clawbridge particles --amount 50
clawbridge character
```

## Generated Project Structure

```
MyGame/
├── project.godot
├── icon.svg
├── scenes/
│   └── main.tscn
├── scripts/
│   ├── main.gd
│   ├── game_manager.gd
│   └── [your components]
├── levels/
├── assets/
└── prefabs/
```

## Game Components

### Health System
- `take_damage(amount)` - Apply damage
- `heal(amount)` - Heal entity
- `is_alive()` - Check if alive
- Signals: `health_changed`, `died`

### Inventory System
- `add_item(name)` - Add item
- `remove_item(name)` - Remove item
- `has_item(name)` - Check item
- `get_item_count(name)` - Get quantity

### Save/Load System
- `save_game()` - Save to disk
- `load_game()` - Load from disk
- Auto-saves player stats and current level

### Input System
- `get_direction()` - Get left/right input (-1 to 1)
- `is_jump_pressed()` - Check jump

### Dialogue System
- `show(lines)` - Start dialogue with array of strings
- `next()` - Advance to next line
- Signals: `line_displayed`, `dialogue_ended`

### Quest System
- `start_quest(name, target)` - Start quest
- `update_quest(name, progress)` - Update progress
- `complete_quest(name)` - Complete quest
- Signals: `quest_started`, `quest_completed`

## Options

| Option | Description |
|--------|-------------|
| --type | Component type |
| --template | Project template |
| --x, --y | Position coordinates |
| --3d | Create 3D project |

## Example: Complete RPG

```bash
# Create RPG project
clawbridge init MyRPG --template rpg

# Add game systems
clawbridge component health --type health
clawbridge component inventory --type inventory
clawbridge component quest --type quest
clawbridge component save_system --type save
clawbridge component dialogue --type dialogue

# Add UI
clawbridge label "HP: 100" --x 20 --y 20
clawbridge label "Gold: 0" --x 20 --y 50

# Open in Godot
clawbridge open
```

## License

MIT

「開發程式設計」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。