C# support for android is coming really really soon, also the Terraria devs just donated 100k to godot so I expect development to ramp up fast! Exciting things are coming.
@@guidoopossum457 for a mature support of C# on all platforms, you should stick to Godot 3.x series until 4.2 is shipped ( and tested enough ). But it's unlikely that a new project on Godot 4 would be ready to publish on Android before the C# support is here ( a matter of weeks, it seems ).
I just discovered your channel holy I wish I had a long time ago, thank you so much for making these, the videos are animated so well and they are so easy to understand. Literally can't thank you enough.
People moving from Unity maybe think about GDScript. But they have to taken in account that GDScript only works with Godot. With C# you can work with anything. Plus C# is way way faster.
This video on C# in Godot was sorely needed. Hopefully you do a follow up where you get the Business Logic of a game from a C# library. I could then share code between Unity and Godot. There would be specific project files for building the project as Godot and Unity use different .Net versions (Godot's version is newer), but the C# code would be the same. It's an application of the MVC pattern and somewhat similar to Entity Framework's DataContext servicing Plane Old Class Object's (POKO's).
c# in godot will make it more popular and amazing as its a great language and also is used in unity. People won't have to think twice before switching.
I really like how much attention Godot got in the last few weeks due to Unity's bad pricing plan. This shows that Godot was always next in line to Unity, yet still people chose Unity more based on the community than feature support.
Hey, I have a problem when I try to make the console print "Hello world!", the program tells me: "Cannot instance script because the associated class could not be found. Script: 'res://control.cs'. Make sure the script exists and contains a class definition with a name that matches the filename of the script exactly (it's case-sensitive)" and it doesn't print it... Also, even after I installed the C# official extension of Visual Studio Code, the program doesn't suggest me anything yet (I installed it like 15 minutes ago). Could anyone help me? PD: When I create a new C# script, the program tells me "Failed to create C# project", I don't know if it has something to do with this.
@@austencoogan6310 yes, if my memory serves me right, the problem was the .NET extension. The versión of .NET you have to install is .NET6 ONLY (My problem was that i had another version of the .NET extension apart from the .NET6, so I solved it reinstalling everything from the start)
Got a question. When I create a c# script there is no class name. It says not available. Is this a problem and how can I fix it, because in the video the class name is N/A. Thanks for help
The problem of signal connect is not working properly in Godot v4.1.1 IDE and totally not showing up under Visual Studio Code. This problem held in 2017, 2021 and now 2023, the same problem still there. This is not features but Godot minor toolchain issues, hopes the plugins and Godot updates the support to mobile and web soon.
I tried using GDScript, and it reminded me of all the reasons I hate Python (which apparently it's a fork of?!). Is there any advantage to GDScript over C#?
As a programmer for 12 years, the answer is no. I am not gatekeeping. you can do amazing things with a simple text editor and I highly recommend you use a bare bone simple one while you start to learn your first programming language. Once you have the basics down (vars, types, loops, functions, arrays, objects, classes, states, and data IO) and have created a few super small learning projects, then have a look at VS code. Advanced editors like Vs code will make programming 9999 times easier and better to work with but it will stunt your learning growth when you are just starting out especially if your editor is giving your snippets and assistance. Best to have a core grasp of the basics first then when you get to the new editor it will be amazing. As a programmer, your comprehension and creative solutions to complex problems are what is valuable. Keep at it! Build something awesome!
1. Open the Editor Settings. 2. Select Text Editor > External. 3. Make sure the Use External Editor box is checked. 4. Fill Exec Path with the path to your VS Code executable mine was C:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\Code.exe 5. Install the godot-tools pluging in VS code 6. Restart everthing Should work the same as in this video :)
Gdscript is an interpreted language, so there's always going to be a small overhead involved with that that isn't present in C#. I don't see it overtaking C# any time soon, but with the new changes, gdscript is fine for most instances.
Its not easy to start from beginning. Unfortunately they are going to pay whether they like or not. Its just matter of adjustment to the policy because its insane. Although 200K is too much for indie developer specially on game basis and not account. I will delete the game if it has 200K and problem solved LOL. Joking! What cents matters to U if U got 200K? Team Got no Excuses Too. They can make more games than individuals each year which means 200K * # "Each Year" which is insane too.
C# support for android is coming really really soon, also the Terraria devs just donated 100k to godot so I expect development to ramp up fast! Exciting things are coming.
Stop. Is it mean I can't port C# game on Android now?
Is godot staffs made 8 millions dollars somewhere, on another program ?? I don't think they need money.....
They still need dedication and devotion, that's for sure
@@fridyrogide8752 No idea what you're talking about.
@@guidoopossum457 for a mature support of C# on all platforms, you should stick to Godot 3.x series until 4.2 is shipped ( and tested enough ).
But it's unlikely that a new project on Godot 4 would be ready to publish on Android before the C# support is here ( a matter of weeks, it seems ).
I just discovered your channel holy I wish I had a long time ago, thank you so much for making these, the videos are animated so well and they are so easy to understand. Literally can't thank you enough.
Thanks! Welcome aboard! 🙌
I am switching from Unity to godot so glad you are doing the same with your tutorials ❤
Great stuff, thank you!! I hope you’ll do more C# for Godot - there aren’t very many out there.
For future Godot tutorials I'm planning to show everything in GDScript with alternative C# implementation on the side
I would also love to see more c# for godot.
Keep up the good job!
@@CocoCode If possible, a performance comparison might also be interesting.
Kindly create more of C# code examples. The more C# contents, the more people will be following your channel.
Yeah C# would be more interesting for me.
Just read this on the Godot website: "With the recent release of Godot 4.2, projects that use C# can now export to Android and iOS".
People moving from Unity maybe think about GDScript. But they have to taken in account that GDScript only works with Godot. With C# you can work with anything. Plus C# is way way faster.
You can use C# in Godot.
@@HyBlock that's what I'm saying
Unfortunate it can't be used with web though! (Or iOS or Android)
@@ReasonMakes I think support for that is added already in development versions, should be coming soon
This video on C# in Godot was sorely needed. Hopefully you do a follow up where you get the Business Logic of a game from a C# library. I could then share code between Unity and Godot. There would be specific project files for building the project as Godot and Unity use different .Net versions (Godot's version is newer), but the C# code would be the same. It's an application of the MVC pattern and somewhat similar to Entity Framework's DataContext servicing Plane Old Class Object's (POKO's).
c# in godot will make it more popular and amazing as its a great language and also is used in unity. People won't have to think twice before switching.
Thanks so much. Yours if the only one I have managed to understand and all works now
YES i've been trying to do this for HOURS but it keep just NOT WORKING so THANK YOU for posting code snippets on your website that is HUGE THANK YOU
Gotta say, this setup for debug is 10 times better than the one included in the original documentation (or even in the C# plugin for godot)
This is the best tutorial ever!!!!
UPDATE : With 4.2 and high, you CAN now export your C# project on IOS and Android
thanks man
Extremely valuable video. Thx.
I would like to see more Godot videos.
Thank you for the tutorial
I really like how much attention Godot got in the last few weeks due to Unity's bad pricing plan. This shows that Godot was always next in line to Unity, yet still people chose Unity more based on the community than feature support.
Hey, I have a problem when I try to make the console print "Hello world!", the program tells me: "Cannot instance script because the associated class could not be found. Script: 'res://control.cs'. Make sure the script exists and contains a class definition with a name that matches the filename of the script exactly (it's case-sensitive)" and it doesn't print it... Also, even after I installed the C# official extension of Visual Studio Code, the program doesn't suggest me anything yet (I installed it like 15 minutes ago). Could anyone help me?
PD: When I create a new C# script, the program tells me "Failed to create C# project", I don't know if it has something to do with this.
I know this comment is 4 months old but I'm havng the same issue. Did you ever figure out how to fix it?
@@austencoogan6310 yes, if my memory serves me right, the problem was the .NET extension.
The versión of .NET you have to install is .NET6 ONLY (My problem was that i had another version of the .NET extension apart from the .NET6, so I solved it reinstalling everything from the start)
Preciate it 🙏🏾
Hey! Whenever I type in GD.Print("Whatever"); nothing shows up in the console. I've made sure that it's not being filtered out too! Any ideas?
Got a question.
When I create a c# script there is no class name. It says not available. Is this a problem and how can I fix it, because in the video the class name is N/A.
Thanks for help
The problem of signal connect is not working properly in Godot v4.1.1 IDE and totally not showing up under Visual Studio Code. This problem held in 2017, 2021 and now 2023, the same problem still there. This is not features but Godot minor toolchain issues, hopes the plugins and Godot updates the support to mobile and web soon.
I tried using GDScript, and it reminded me of all the reasons I hate Python (which apparently it's a fork of?!).
Is there any advantage to GDScript over C#?
If I download the C# dev kit extension, will it work
good video but one question, it is mandatory to download visual studio to start programming
As a programmer for 12 years, the answer is no. I am not gatekeeping. you can do amazing things with a simple text editor and I highly recommend you use a bare bone simple one while you start to learn your first programming language.
Once you have the basics down (vars, types, loops, functions, arrays, objects, classes, states, and data IO) and have created a few super small learning projects, then have a look at VS code.
Advanced editors like Vs code will make programming 9999 times easier and better to work with but it will stunt your learning growth when you are just starting out especially if your editor is giving your snippets and assistance. Best to have a core grasp of the basics first then when you get to the new editor it will be amazing.
As a programmer, your comprehension and creative solutions to complex problems are what is valuable.
Keep at it! Build something awesome!
A guide on GDscript would be lovely
1. Open the Editor Settings.
2. Select Text Editor > External.
3. Make sure the Use External Editor box is checked.
4. Fill Exec Path with the path to your VS Code executable
mine was C:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\Code.exe
5. Install the godot-tools pluging in VS code
6. Restart everthing
Should work the same as in this video :)
What about c++?
for some reason when I open vscode is won't find the Godot package, "using Godot" is red, can anyone help?
ok I figured it out, in order to make the IDE happy, run the project and then it wouldn't do that
Make video how to add Signal's code automaticly in VScode. Pls.
0:30 Using Godot 4.1.1 on Windows 10, does not give me the option to create a new C# script, only GDscript... anyone know why?
Have you followed the very first step in the video? 0:07-0:22?
@@CocoCode no
sometimes i am stupid
can you edit in c# using the default IDE? instead of visual studio??
Yes, it can be seen here 0:46, but it only functions like a text editor; no intellisense, suggestions etc. unlike vs code
@@asteriadev using the default is more comfortable and fast, but maybe we should prefer functions over confort and use visual studio anyways...
I don't have the c# option at 0:33
Please make sure to watch the video from the beginning - I'm covering such issue just after the intro
Yo master Coco. Is gdscript faster than c# to run?
According to Godot documentation C# is way faster (x4) - but that may be a bit outdated due to recent GDScript improvements in Godot 4
Gdscript is an interpreted language, so there's always going to be a small overhead involved with that that isn't present in C#. I don't see it overtaking C# any time soon, but with the new changes, gdscript is fine for most instances.
Why did you left unity
Cause unity introduced runtime fees, so a lot of people are leaving unity
🎉🎉🎉
👏
you are fast
How infuriating this C# on Godot is ))
we need GDscript
please the tutorials in GDScripts please, can you make a tutorial on life bars, mana, exp, more in-depth on the topic of the UI please
Can you make more unity videos pls ?
not a very good time for that
GD script is the way stop fighting it
Its not easy to start from beginning. Unfortunately they are going to pay whether they like or not. Its just matter of adjustment to the policy because its insane. Although 200K is too much for indie developer specially on game basis and not account. I will delete the game if it has 200K and problem solved LOL. Joking! What cents matters to U if U got 200K? Team Got no Excuses Too. They can make more games than individuals each year which means 200K * # "Each Year" which is insane too.
Visual Studio for the pros, Visual Studio Code for the noobs
You can use both for either hubby or professional.
Visual Studio if you want your computer to hang a little every time you pull open a script.
Other way around