🔧 This is a fork with automation support!
This fork adds external automation capabilities to Godot's RemoteDebugger for use with PlayGodot. See the Automation Branch section below.
Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported with one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as well as Web-based platforms and consoles.
Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Godot Foundation not-for-profit.
Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur for several years as an in-house engine, used to publish several work-for-hire titles.
Official binaries for the Godot editor and the export templates can be found on the Godot website.
See the official docs for compilation instructions for every supported platform.
Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.
The best way to get in touch with the core engine developers is to join the Godot Contributors Chat.
To get started contributing to the project, see the contributing guide. This document also includes guidelines for reporting bugs.
The official documentation is hosted on Read the Docs. It is maintained by the Godot community in its own GitHub repository.
The class reference is also accessible from the Godot editor.
We also maintain official demos in their own GitHub repository as well as a list of awesome Godot community resources.
There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more information.
This fork's automation branch extends Godot's RemoteDebugger with external automation capabilities for testing and controlling games from external scripts.
The automation protocol adds the following commands to core/debugger/remote_debugger.cpp:
Node Interaction
get_node- Get node info and properties by pathget_property- Get a single property valueset_property- Set a property valuecall_method- Call any method on any node
Scene Management
scene_tree- Get the full scene tree structurequery_nodes- Find nodes matching a patterncount_nodes- Count nodes matching a patterncurrent_scene- Get current scene path and namechange_scene- Load a different scenereload_scene- Reload the current scene
Game Control
pause- Get or set the pause statetime_scale- Get or set the time scalescreenshot- Capture a PNG screenshot
Input Injection
inject_mouse_button- Simulate mouse clicksinject_mouse_motion- Simulate mouse movementinject_key- Simulate keyboard inputinject_action- Simulate input actionsinject_touch- Simulate touch input
# Clone this fork
git clone https://github.com/Randroids-Dojo/godot.git
cd godot
git checkout automation
# Build for macOS (Apple Silicon)
scons platform=macos arch=arm64 target=editor -j8
# Build for macOS (Intel)
scons platform=macos arch=x86_64 target=editor -j8
# Build for Linux
scons platform=linuxbsd target=editor -j8
# Build for Windows
scons platform=windows target=editor -j8Use this build with PlayGodot for Python-based game testing:
from playgodot import Godot
async with Godot.launch("./my-game") as game:
# Get node info
node = await game.get_node("/root/Game")
# Call methods
result = await game.call_method("/root/Game", "get_score")
# Simulate input
await game.click(400, 300)
await game.press_key(KEY_SPACE)
# Take screenshots
await game.screenshot("test.png")core/debugger/remote_debugger.cpp- Automation command handlerscore/debugger/remote_debugger.h- Automation method declarations
- PlayGodot - Python client library
- Godot-Claude-Skills - Claude Code skill for Godot development
