See the updated version of this video that walks through using Godot 4.2±! kzbin.info/www/bejne/Y5u8i3iGjdSWp8U
@Angemell2 жыл бұрын
Hello dear Godot developer fellows: just to let you know that at Godot's v3.4.4 (May/2022), the external library references *needs* to be done with the single line format (i.e. ), as it was originally intended. The "broken down" will crash when building the Godot's Project. Regards everyone :)
@Codermiguel10 ай бұрын
Underrated video. Thanks so much!
@tomtomkowski76532 жыл бұрын
One of the reasons to use the Mono version of Godot - is access to libraries like Linq or MSQL ;) Great video! And don't forget to add to your csproj 9.0 to have access to new features like shorten new() or [^1]
@Noodle_Sushi4 жыл бұрын
DUDE OMG THANK YOU SO MUCH!!! Seriously, this is an eye-opener. Thank you so much for introducing me to nuget. I had no idea what the hell I'm doing in C#. I mean, I know how to code in C#, but have no idea about libraries and stuff. I was curious of other libraries after you showed me what to do in .csproj, and was wondering if I could run LUA code in Godot. I found in nuget Moonsharp as a LUA interpreter library, I added the PackageReference of Moonsharp in the .csproj file, added "using MoonSharp.Interpreter;" in the first line, interpreted a LUA script and BOOOM results showed up! Again thank you so very much, it's like you've opened my 3rd eye to the possibilities of Godot and C# and gave me the power of extensibility in Godot.
@davidwesst4 жыл бұрын
Really glad it helped! Never thought about using it to add anotyer scripting language. Very cool idea!
@jay-tbl2 жыл бұрын
9:20 My csproj file looks nothing lke yours, its only 6 lines long and doesn't have any of the text you copied, help?
@misterpopo3736 Жыл бұрын
Way, too late (LOL). You have to build it first in Godot and then open externally in Visual Studio (or your editor). In Virtual Studio add the packages. Everything in this video is extremely outdated and I can find no documentation for C# in Godot4.
@stjepandrenski54863 ай бұрын
Video begins at 1:50 This is how you import json library into Godot
@emmanueldouge85044 жыл бұрын
Life saver !!! FeelsStrongMan
@ofgonen47164 жыл бұрын
exactly what I was looking for!!!
@nerdydrow4 жыл бұрын
Thank you so much this is very useful, btw great game collection :)
@davidwesst4 жыл бұрын
Thanks and thanks! I'm glad someone else found some value in this research. 😊
@waltermg117 Жыл бұрын
Hello, great video, do you know a way to reference another csproj from within the main godot csproj??
@davidwesst Жыл бұрын
Sorry no-- I haven't been using Godot for my game development projects the past while. I'm waiting for C# support in Godot 4 to stabilize a bit. Maybe I'll do an update video when they weave it all together.
@celsorodrigues11443 жыл бұрын
Is there any way to use the C Sharp Libraries in GDSCRIPT files ??
@davidwesst3 жыл бұрын
Not that I could find unfortunately. When I looked into it, I believe the Gdscript runtime ran independently of the C# one, but that was just a theory and could be completely false.
@EternalKernel4 жыл бұрын
where was that nuget restore button?
@bitmammothOG3 жыл бұрын
I have a c# lib I really need to use in a game network but most of my game has requirements for c++ is it possible to use both?
@HanProgramer3 жыл бұрын
This dude should have more subs than i am. Keep making video dude! :D
@davidwesst3 жыл бұрын
It took me forever to reply to this, but this comment really boosted my spirit. Thanks for watching and expect new content soon. 😊
@valkyrienyanko3 жыл бұрын
This works fine while running the game through the Godot editor but when you export the game and try to run the game as a standalone exe the game complains saying it can't find the DLL.
@davidwesst3 жыл бұрын
It sounds like your export may need to be updated to include the referenced DLLs on export. I don't remember exactly, but I believe that Godot doesn't export them by default and you may need to include them specifically.
@valkyrienyanko3 жыл бұрын
@@davidwesst Yes this is what I did and it worked thanks.
@るるん-n6n2 жыл бұрын
@@valkyrienyanko Hello! Can you explain how you included the .dll specifically? I have the same problem and don't know how...
@alejandroINC3 жыл бұрын
Thanks man. Very very useful. I dont know why, but my csproject file doesnt look like yours. it is much simpler. any idea why?
@davidwesst3 жыл бұрын
It's been a while and my bet is that they have cleaned up the csproj template as I believe they are moving toward supporting dotnet 6. But that's just my theory. No data or facts to back that up.
@fi-le2 жыл бұрын
Thanks for the video! I have trouble exporting a project using a nuget package, unfortunately. It works great in the editor, but the export outputs: System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception. ---> System.DllNotFoundException: Unable to load library 'libSkiaSharp' I've tried manually adding the dll and placing it next to the executable, hopping Godot versions and build systems and such. Any help is appreciated!
@onusai3 жыл бұрын
Thank you :)
@frankstein748111 ай бұрын
Looks extremely interesting, but is it still valid for GoDot 4xx ?
@davidwesst11 ай бұрын
It's a good question. I think it'll be a bit different considering the changes to how C# works in Godot 4. Think I should do a new updated video on this for Godot 4.
@Xero_Wolf10 ай бұрын
@@davidwesst It would be really awesome if you did an update.
@FalconFetus83 жыл бұрын
Skip to 1:56 to get the part you were actually googling for.
@HanHan-dt4uu2 жыл бұрын
thank you
@MP-tf5sd4 жыл бұрын
I need serial com port access for Godot and GDLibSercomm is not working for me, so I will attempt to do the same via nuget as per your tutorial. Great work - thanks
@davidwesst4 жыл бұрын
Awesome! I hope it works out for you.
@MP-tf5sd4 жыл бұрын
@@davidwesst Well, that was remarkedly easy ... thank you so much for this tutorial. This is awesome and so powerful! Serial port connected: True Sent: AT+RSSI Received: +RSSI:00 I've been spending weeks trying to get this working with the old library. It worked under Linux but not Windows and now I have this working under Windows .... fantastic :)
@davidwesst4 жыл бұрын
That's fantastic! Thanks for the update. I really appreciate knowing that the video helped. 😊