Wishlist "A Beaver's Tale" now!
https://store.steampowered.com/app/30...
Edit: I COMPLETELY forgot to explain why I use VisualStudio and not VSC. It's because the debugger is about 100 times faster. In VSC (on Windows at least) the debugger is barely usable.
Get notified when our game goes on Steam!!
https://www.michaeljared.ca/3dart/gam...
Play A Beaver's Tale now on itch:
https://michaeljared.itch.io/a-beaver...
Useful code snippets:
VISUAL STUDIO LAUNCH CONFIG
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{
"type": "default",
"project": "C:\\Godot\\Godot_v4.2.1-stable_win64.exe",
"name": "Godot Game",
"args": [ "--path", "C:\\Godot\\GDExtensionDev\\extension_test2\\a_beavers_tale_cpp2\\demo" ]
},
{
"type": "default",
"project": "C:\\Godot\\Godot_v4.2.1-stable_win64.exe",
"name": "Godot Editor",
"args": [ "C:/Godot/GDExtensionDev/extension_test2/a_beavers_tale_cpp2/demo/project.godot" ]
}
]
}
SCONS
libname = "gdexample"
...
def find_directories(directory):
directories = ["src/"]
for root, dirs, files in os.walk(directory):
directories.extend(["src/" + os.path.relpath(os.path.join(root, d), directory).replace("\\", "/") + "/" for d in dirs])
return directories
source_dirs = find_directories("C:\\Godot\\GDExtensionDev\\extension_test2\\a_beavers_tale_cpp2\\src")
env.Append(CPPPATH=source_dirs)
...
sources = []
for d in source_dirs:
sources.append(Glob(d + "*.cpp"))
example.gdextension
web = "res://bin/web/libgdexample.web.template_debug.wasm32.wasm"
Other useful stuff:
https://docs.godotengine.org/en/stabl...
Another game made with GDextension: https://github.com/kiwijuice56/sand-s...
Fantastic terrain plugin made with GDextension:
https://terrain3d.readthedocs.io/en/l...