Sample to show how to use c++ as script instead of gdscript to implement "Dodge the Creeps!" project from Godot docs here.
cd godot-cpp
scons platform=platform generate_bindings=yes bits=64 target=release -j4
cd ..
scons platform=platform bits=64 target=release