#gdextension — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gdextension, aggregated by home.social.
-
So now I want to make this into a #GDExtension. The problem is that I don't know #CPlusPlus... I am going through what's in learncpp.com but it's really oriented towards people who are way less experienced than I am at general programming, which is annoying because I have to skim a lot and it is a waste of time plus there's a risk of missing something important. I looked at some books, but everything I saw seemed pretty heavily oriented towards systems/low-level programming or, if it's a #GameDev book, towards building your own engine, which is not what I need right now. If I wanted to make everything from scratch, I'd just use Rust...
Does anyone have a resource to recommend that would be appropriate? Something that will help me understand the higher level features of C++, classes, interfaces, things to watch out for and things to know... Also how to structure a program, compiling tips, working with macros, etc.
-
Is anyone here secretly a godot C++ / GDExtension wizard? I'd love to ask some questions and finally understand the meaning of the universe
-
Finally had time to work on the #Godot4 #gdextension version of rope3d, you can't find a preview in the godot asset lib yet, but you CAN find it here: https://github.com/tcmug/godot_rope3d
If you wanna join and help please do!
#godotengine #gamedev -
As I sit down here going back to work taking a chainsaw deep into toyBrot, it occurs to me that maybe some of you may not have checked out last Friday's blog post!
If you were considering dipping your toes into #GodotEngine #GDExtension for your #cpp shenanigans, then this could interest you!
It's going to be followed up this Friday too by a part 2 about the CMake and general project structure side of things. Better catch up on part 1 while there's time =P
https://vilelasagna.ddns.net/coding/bringing-c-to-godot-with-gdextensions/
-
#GodotEngine #Blog #GDExtension #C++
🚨 🚨 🚨
Doot Doot DootNew @VileLasagna blog out!
Learn you some GDExtensions.
https://vilelasagna.ddns.net/coding/bringing-c-to-godot-with-gdextensions/
-
And, whew, there we go!
We got text in pararaphs, on a webpage, with pictures, with code snippets, with links, the whole shebang!
There's plenty of time for more thorough proof reading and adjustments until then but NEXT Friday's blog post is basically done!
Make sure you're ready for it by reading today's post about the C++ side of working in #GodotEngine with #GDExtension
https://vilelasagna.ddns.net/coding/bringing-c-to-godot-with-gdextensions
-
It feels good to be on schedule. Just finished writing the draft for the next blog post, the one that talks about CMake and IDE setup for building #GDExtension projects
Could be just the high and all but I think I like it even more than the one that got published today
-
This "build your #GDExtension with #CMake " post is kiiind of turning into #QtCreator propaganda just a bit
I will not apologise
-
I keep forgetting that me boosting my blog doesn't quite make it go on Local. Still, this week's post is all about the C++ side of playing with #GodotEngine #GDExtension
So I dunno, maybe it's interesting to someone around these parts
https://mastodon.gamedev.place/@tgr@vilelasagna.ddns.net/111977064940666714
-
This pair of posts is about me trying out #GDExtension
Tomorrow it's all about the C++ side, I go kind of step by step on the #GodotEngine Nodes I wrote to wrap toyBrot's std::threads and OpenCL implementations
This next one is going to be about the CMake side of things and general project considerations and pitfalls. Directory structure, debugging, this sort of stuff
-
Okay, it's time to cut my losses. I've got C++ threads and OpenCL toyBrot working as #GDExtension which is hype BUT I'm running into this exact thing where godot::Image is apparently not auto-registering in #GodotEngine ClassDB. I've been fiddling about but couldn't trick it into working. So it's going to stay like this for now. No nasty side-effects for me, except for console pollution. Enough for me to finally get to writing
Same issue as this
https://github.com/godotengine/godot-cpp/issues/1300 -
Heck yeah! After a decent amount of back and forth trying to understand exactly what is actually implemented or called where, looks like my ostream is finally working.
Normally just pipes straight into std::cout, but if I set the define to tell it it's a #GDExtension and this is a debug build, it just calls #GodotEngine print() on flush.
There's a handful of edges to smooth still but quite happy with where it's going
https://gitlab.com/VileLasagna/toyBrot/-/blob/main/common/util.hpp?ref_type=heads
https://gitlab.com/VileLasagna/toyBrot/-/blob/main/common/util.cpp?ref_type=heads
-
#Beehave V3 is growing at a steady pace.
-
Anyone knows, off the top of their head, how do I print to console from a C++ GDExtension?
I know standard out is a no go, but was fumbling around looking for how to call Godot's own print the other day and couldn't find it?
EDIT: NVM, found it!
godot::UtilityFunctions::print("LMAO");
Just make sure to
include "godot_cpp/variant/utility_functions.hpp" -
Meet the marvelous, the mismatched, the perpetually confused. Presenting to you the full cast of the upcoming LimboAI Demo project!
It's time for the... TRAINING MONTAGE! 🎶🤘LimboAI: Open-source C++ plugin for Godot 4, providing behavior trees and state machines for crafting game AI 🤖💡
https://github.com/limbonaut/limboai
#godotengine #gdextension #gamedev #gameai #limboai #behaviortrees
-
Meet the marvelous, the mismatched, the perpetually confused. Presenting to you the full cast of the upcoming LimboAI Demo project!
It's time for the... TRAINING MONTAGE! 🎶🤘LimboAI: Open-source C++ plugin for Godot 4, providing behavior trees and state machines for crafting game AI 🤖💡
https://github.com/limbonaut/limboai
#godotengine #gdextension #gamedev #gameai #limboai #behaviortrees
-
Meet the marvelous, the mismatched, the perpetually confused. Presenting to you the full cast of the upcoming LimboAI Demo project!
It's time for the... TRAINING MONTAGE! 🎶🤘LimboAI: Open-source C++ plugin for Godot 4, providing behavior trees and state machines for crafting game AI 🤖💡
https://github.com/limbonaut/limboai
#godotengine #gdextension #gamedev #gameai #limboai #behaviortrees
-
Meet the marvelous, the mismatched, the perpetually confused. Presenting to you the full cast of the upcoming LimboAI Demo project!
It's time for the... TRAINING MONTAGE! 🎶🤘LimboAI: Open-source C++ plugin for Godot 4, providing behavior trees and state machines for crafting game AI 🤖💡
https://github.com/limbonaut/limboai
#godotengine #gdextension #gamedev #gameai #limboai #behaviortrees
-
Meet the marvelous, the mismatched, the perpetually confused. Presenting to you the full cast of the upcoming LimboAI Demo project!
It's time for the... TRAINING MONTAGE! 🎶🤘LimboAI: Open-source C++ plugin for Godot 4, providing behavior trees and state machines for crafting game AI 🤖💡
https://github.com/limbonaut/limboai
#godotengine #gdextension #gamedev #gameai #limboai #behaviortrees
-
For the new LimboAI demo project, each agent goes through a rigorous training before they can be accepted into the team. Training is hard, and it takes days to prepare an agent for what's to come! 💪😎
#godotengine #limboai #gamedev #gdextension #gameai #screenshotsaturday
-
Revised the Blackboard system in #LimboAI, especially with behavior trees in mind.
Version 1.0-dev3 is out on GitHub and in the Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev3 -
Revised the Blackboard system in #LimboAI, especially with behavior trees in mind.
Version 1.0-dev3 is out on GitHub and in the Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev3 -
LimboAI v1.0-dev2 is out now, bringing hot-fixes and improvements. Work towards the 1.0 release is in full swing! :godot:🔧
It's already on the GitHub and coming soon to Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev2LimboAI is an open-source C++ plugin for Godot 4 that offers a combination of behavior trees and state machines for crafting your game's AI 🤖💡
https://github.com/limbonaut/limboai#godotengine #godot4 #gdextension #gameai #behaviortrees #limboai
-
LimboAI v1.0-dev2 is out now, bringing hot-fixes and improvements. Work towards the 1.0 release is in full swing! :godot:🔧
It's already on the GitHub and coming soon to Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev2LimboAI is an open-source C++ plugin for Godot 4 that offers a combination of behavior trees and state machines for crafting your game's AI 🤖💡
https://github.com/limbonaut/limboai#godotengine #godot4 #gdextension #gameai #behaviortrees #limboai
-
LimboAI v1.0-dev2 is out now, bringing hot-fixes and improvements. Work towards the 1.0 release is in full swing! :godot:🔧
It's already on the GitHub and coming soon to Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev2LimboAI is an open-source C++ plugin for Godot 4 that offers a combination of behavior trees and state machines for crafting your game's AI 🤖💡
https://github.com/limbonaut/limboai#godotengine #godot4 #gdextension #gameai #behaviortrees #limboai
-
LimboAI v1.0-dev2 is out now, bringing hot-fixes and improvements. Work towards the 1.0 release is in full swing! :godot:🔧
It's already on the GitHub and coming soon to Asset Library:
https://github.com/limbonaut/limboai/releases/tag/v1.0-dev2LimboAI is an open-source C++ plugin for Godot 4 that offers a combination of behavior trees and state machines for crafting your game's AI 🤖💡
https://github.com/limbonaut/limboai#godotengine #godot4 #gdextension #gameai #behaviortrees #limboai
-
So it begins...
-
I have just updated and tagged GDExtensionTemplate for Godot 4.2!
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
#GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev #cpp
-
Guys, it happened. :drgn_flat_sob:
Despite me being an absolute performance addict beyond reason, I have decided not to write my dice roller entirely in C++, for now. At least not until Godot 4.2 comes out, which brings hot-reloading to GDExtension.
GDScript is slow, and I really hate wasting people's CPU cycles, but prototyping the game logic is just so much quicker because it's right in the editor and changes are applied immediately.
I am also certain that I will be able to convert GDScript to GDExtension C++ fairly easily, because all I do is call engine functions, basically. It's just a matter of translating the syntax.
Last but not least, It would make a nice case study to directly compare the same implementations in GDScript and GDExtension C++.
#Godot #GodotEngine #CPP #CPlusPlus #GDScript #GDExtension #GameDevelopment #GameDev #Prototyping #Programming #Performance #Gaming #RPG #TTRPG #Tabletop #VirtualTabletop
-
I'm trying to get those overdraws removed. The initial thought was that after generating triangles for each #voxel, bottom triangles of the top voxel will have exactly same triangles as top triangles of the bottom voxel..
but no.. of course I had to generate them differently.
My options seem to be:
- generate matching topology of bottom/top faces, left/right, front/back
- figure out an algorithm to remove triangles that cover the same plane/face -
#GDExtension question: Is it possible to add a method or property to an existing #Godot class, like Node2D, *without* extending a new class from it? Not that I have a need for that right now, I'm just curious about what is and isn't possible. There doesn't seem to be any documentation unfortunately.
-
Been working on a massive refactor of my game using #GDExtension and #flecs. Got most of the gameplay functionality working again, just a few behavior parts left to port!
-
I've been working some more on my #TTRPG dice roller in #GodotEngine. I got basic interaction working, next step is the pick up and drop logic. I'm using only C++ with the #GDExtension system to achieve maximum performance.
The engine is simpler but more intuitive than #Unity. I love it.
This was off-stream because I had some friends talking to me in German, but I will stream some more soon. Follow @[email protected] to get notified.
-
I have just updated and tagged GDExtensionTemplate for Godot 4.1!
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
#GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev #cpp
-
I have just updated and tagged GDExtensionTemplate for Godot 4.0.3.
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
#GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev #cpp
-
I have just updated and tagged GDExtensionTemplate for Godot 4.0.2. Still keeping up with all the releases!
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
#cpp #GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev
-
I have just updated and tagged GDExtensionTemplate for Godot 4 RC 1.
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
#cpp #GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev
-
I have updated and tagged GDExtensionTemplate for Godot 4 Beta 11.
If you want to use an existing C++ library in #Godot or use #CMake instead of #Scons for your C++ extension, check it out!
https://github.com/asmaloney/GDExtensionTemplate
It takes care of all the setup/building/linking with godot-cpp and the GitHub CI so you can focus on your code right away.
I've also added auto-generation of a version header file since the last update.
#cpp #GodotEngine #Godot4 #GDExtension #extension #plugin #GameDev #IndieDev