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 damageheal(amount)- Heal entityis_alive()- Check if alive- Signals:
health_changed,died
Inventory System
add_item(name)- Add itemremove_item(name)- Remove itemhas_item(name)- Check itemget_item_count(name)- Get quantity
Save/Load System
save_game()- Save to diskload_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 stringsnext()- Advance to next line- Signals:
line_displayed,dialogue_ended
Quest System
start_quest(name, target)- Start questupdate_quest(name, progress)- Update progresscomplete_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
# 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