← 返回
开发者工具 中文

Godot Game Claw Bridge

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...
Godot 4.x 命令行项目生成器。80+ CLI 命令快速创建 2D/3D 游戏:项目、场景、脚本、关卡、UI(菜单/HUD/对话框/背包)及游戏组件。
dashiming dashiming 来源
开发者工具 clawhub v1.5.0 2 版本 99915.4 Key: 无需
★ 2
Stars
📥 1,141
下载
💾 301
安装
2
版本
#ai#claw#game#godot#latest#openclaw

概述

Godot Bridge - Project Generator CLI v3.0

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

Quick Start

# 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

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

Generate

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

Game Components

# 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)

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

OptionDescription
---------------------
--typeComponent type
--templateProject template
--x, --yPosition coordinates
--3dCreate 3D project

Example: Complete RPG

# 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

版本历史

共 2 个版本

  • v1.5.0 当前
    2026-03-19 00:31 安全 安全
  • v1.1.0
    2026-03-14 04:20

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,084
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,509
office-efficiency

Pans Excel

dashiming
全功能智能Excel处理专家。功能:数据分析、7种图表可视化、数据处理、7种报表模板、AI智能、CSV/JSON导入导出、数据验证、PDF导出、数据清洗。触发词:Excel处理、表格分析、数据可视化、图表制作、公式生成、报表生成、销售看板、
★ 0 📥 724