Nice to find another godot C# dev, seems there aren't that many of us around (at least not on youtube). Some interesting ones there, I was actually going to make almost the same video. I already started on an updated "How to install C# and Godot video" and was going to follow it up with a tips and tricks video. I think the only overlap I have with yours is extention methods. Other things I find extremely useful in C# is, * NuGet (json parsers, database connections, libraries, etc...) * Reflection (man I use this everywhere, I made a JSON editor that uses reflection to parse my data classes by reading annotations and automatically builds a editor GUI for me. Much faster than keeping tools up to date or using other editors. For instance it can restrict values based on enums with a single annotation. Oh and it's open source :D). I got a video from an old version on my channel called "C# JSON editor directly integrated into godot". * Properties (you partially covered it, but just having a property with a get method that loads data on demand can be very useful. Specially if you got something like a json file that references another json file, just make a get method that will resolve the reference when needed) * Default parameters and overloading * delegates / events * Generic methods And so many more things.
Definitely appreciate the c# tutorials. Could you do a tutorial on how you have your animations setup, the procedural ones without having sprite sheets in your shooter GunGame?
Thanks a lot for the great video! Lots of helpful tips! I still don't know how to build the library after cloning the repository (I'm coming from the dark Java side...). Do I need to build the lib with VisualStudio or Visual Studio code? Do I need to download nuget separately? I would love to use your node wiring mechanism, especially now that I learned that I can wire the nodes directly after instancing the objects!
If you have dotnet installed (which you should if Godot mono builds work correctly) You can do "dotnet build -c Release" and that will build the nupkg file which you can include in your project. You'll need to probably do some configuration for local nupkg files. More here stackoverflow.com/questions/10240029/how-do-i-install-a-nuget-package-nupkg-file-locally Sorry it's so convoluted!
Maybe someone can help me with something. I tried working with the "create your first 2d game". The issue I had with it is it keeps giving me an error about top level statements. I am new to all this and is there a way to turn it off? How do I format my code differently? It's just frustrating
Nice to find another godot C# dev, seems there aren't that many of us around (at least not on youtube). Some interesting ones there, I was actually going to make almost the same video. I already started on an updated "How to install C# and Godot video" and was going to follow it up with a tips and tricks video. I think the only overlap I have with yours is extention methods.
Other things I find extremely useful in C# is,
* NuGet (json parsers, database connections, libraries, etc...)
* Reflection (man I use this everywhere, I made a JSON editor that uses reflection to parse my data classes by reading annotations and automatically builds a editor GUI for me. Much faster than keeping tools up to date or using other editors. For instance it can restrict values based on enums with a single annotation. Oh and it's open source :D). I got a video from an old version on my channel called "C# JSON editor directly integrated into godot".
* Properties (you partially covered it, but just having a property with a get method that loads data on demand can be very useful. Specially if you got something like a json file that references another json file, just make a get method that will resolve the reference when needed)
* Default parameters and overloading
* delegates / events
* Generic methods
And so many more things.
This aged well
C# Godot content would be fantastic.
Definitely appreciate the c# tutorials. Could you do a tutorial on how you have your animations setup, the procedural ones without having sprite sheets in your shooter GunGame?
The Node attribute should honestly be standard in the engine.
I agree!
This is so great! Please keep up with Godot C# tutorials.
Still one of the best videos for c# beginners. Short informative and well made. Thanks!
this is one of the most concise and well explained videos i've ever seen on godot, let alone c#. really good stuff :]
It's relatively rare to see Godot C# tutorials, always appreciated! :)
I am primarily a c# dev and Godot 4 brings very interesting new features. Would love to see more godot c# tutorials!
Great video!!! I have a question on your Utilities: What does the Scene attribute do in the Source Generator?
Great video! Feels like this type of videos is important to make the community support growth of C# and Godot!
great stuff mate. the web lacks on good documentation of c# in godot
Great video please do more c# related tutorials!
This are some cool tips, I liked the Refernce one specially, thanks for sharing your utilities sir!
Great video! What would be the equivalent for extending Reference to pass custom objects as arguments in Godot 4.0?
Same concept but it's called "RefCounted" now 👍
Thanks a lot for the great video! Lots of helpful tips! I still don't know how to build the library after cloning the repository (I'm coming from the dark Java side...). Do I need to build the lib with VisualStudio or Visual Studio code? Do I need to download nuget separately? I would love to use your node wiring mechanism, especially now that I learned that I can wire the nodes directly after instancing the objects!
If you have dotnet installed (which you should if Godot mono builds work correctly)
You can do "dotnet build -c Release" and that will build the nupkg file which you can include in your project. You'll need to probably do some configuration for local nupkg files. More here stackoverflow.com/questions/10240029/how-do-i-install-a-nuget-package-nupkg-file-locally
Sorry it's so convoluted!
More c#!!!
Maybe someone can help me with something. I tried working with the "create your first 2d game". The issue I had with it is it keeps giving me an error about top level statements. I am new to all this and is there a way to turn it off? How do I format my code differently? It's just frustrating
Does "NotificationInstanced" only exist on godot 3? I couldn't find it on my godot 4 project.
It looks like renamed to "NOTIFICATION_SCENE_INSTANTIATED"
It's now "NotificationSceneInstantiated" in Godot 4 I believe
how to watch methods speed in visual studio?
pls more!!!!