AI-assisted dev tool for the Godot game engine
Top 96.5% on sourcepulse
This project provides AI-assisted code completion for the Godot game engine, targeting GDScript developers. It leverages OpenAI APIs to offer intelligent code suggestions directly within the Godot editor, aiming to accelerate development by automating repetitive coding tasks.
How It Works
Godot Copilot integrates with the Godot editor, allowing users to trigger AI code completions via a keyboard shortcut. It supports OpenAI's Completion and Chat interfaces, with specific prompt engineering for the Chat interface to ensure code is inserted correctly. The plugin sends the current script content to the OpenAI API, with mechanisms to handle context length limitations. It also injects zero-shot explanations of GDScript changes to improve model performance with Godot 4.x syntax.
Quick Start & Requirements
res://addons/
.Highlighted Details
text-davinci-003
, gpt-3.5-turbo
, gpt-4
, and gpt-4-github-copilot
.gpt-3.5-turbo
is the cheapest at $0.002/1K tokens.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
GDScript performance may vary due to OpenAI model training data limitations and Godot 4.x syntax changes. Some completions might have indentation issues or hallucinated methods. Using GitHub Copilot via this plugin carries a risk of account suspension.
1 year ago
1 day