.\rebuild_clean.ps1This script will:
- Clean the build
- Build Debug configuration
- Build Release configuration
- Output DLLs to
bin/windows/with correct names
cmake --build godot/build --config Debugcmake --build godot/build --config Releasecmake --build godot/build --config Debug --clean-firstIf Godot doesn't pick up changes, clear the cache:
Remove-Item .godot -Recurse -ForceThen restart Godot editor.
Check DLL timestamps:
Get-Item bin/windows/*.dll | Select-Object Name, LastWriteTime- Debug DLL:
bin/windows/libagent_arena.windows.template_debug.x86_64.dll - Release DLL:
bin/windows/libagent_arena.windows.template_release.x86_64.dll
The project uses CMake with Visual Studio generator (multi-config).
cmake -S godot -B godot/build -G "Visual Studio 17 2022" -A x64CMake needs to be in your PATH. Either:
- Restart your terminal/VS Code after installing CMake
- Use full path:
& "C:\Program Files\CMake\bin\cmake.exe"
- Make sure DLL was rebuilt:
Get-Item bin/windows/*.dll | Select-Object LastWriteTime - Clear Godot cache:
Remove-Item .godot -Recurse -Force - Restart Godot editor
If DLL goes to bin/windows/Debug/, the CMakeLists.txt wasn't updated correctly.
Make sure lines 96-105 in godot/CMakeLists.txt have the RUNTIME_OUTPUT_DIRECTORY_* properties.
The GDExtension includes these C++ classes:
SimulationManager- Manages simulation tick loopEventBus- Handles event recording/replay (critical for deterministic simulation)Agent- Agent representation with perception/actionToolRegistry- Manages available agent toolsIPCClient- Communication with Python runtime
All classes are registered in godot/src/register_types.cpp.