How do I learn GDscript.

I can’t find how to use GDscript on the GoDot docs.

This is a good page to start: Learn to code with GDScript — Godot Engine (stable) documentation in English

3 Likes

I’d recommend you just jump in to this Tutorial, which is listed on the link @FencerDevLog sent: Your first 2D game — Godot Engine (stable) documentation in English

1 Like

I may be biased because I learned programming by learning Python but basic Python would help, because it teaches you the syntax and fundamentals of programming without you having to learn all of the Godot-specific code. And Python is a lot like GDScript anyways, so that would help.

If OP has no programming background I’d second this. Learning variables, operations, conditionals, loops, and class inheritance is non-negotiable for game dev.

Learning them outside of GDscript is convenient because of the specialized learning tools available for Python (like CS50) and you don’t really lose anything because you’re maybe spending half an hour on GDscript syntax when you’ve got the basics covered.

A lot of the GDscript tutorials jump straight into implementing features in the engine, when someone that doesn’t know how to code would benefit much more from studying the fundamentals first.

1 Like

I’d disagree, personally; I’d start in Godot, with the tutorials.

Learning to program is easier if you’ve got something producing tangible results. Making a sprite move around on a screen or making a button you can click is far more satisfying feedback than you get from learning the traditional way.

When you’re learning to program, it can seem like a gigantic, complex thing that feels like it’s only for the super smart. Having an on-ramp that lets you do tangible things quickly helps keep you motivated, and can keep you feeling like this is a thing you can do. And it is a thing you can do! It takes learning and practice, but you can do it.

Variables, flow control, data structures, inheritance… all of that stuff is important, and you’ll get to it incrementally as you learn, but when you’re starting out, the most important thing is keeping at it, practicing, gradually trying new things, and not losing hope or getting bored. Down the road, theory and knowledge are important, but they can come with time.

Once you’ve got some of the basics, I’d then suggest looking into learning other things (python, maybe, or other languages). Maybe even read SICP or the K&R C Book. Mess with other languages, other environments, spiral out to whatever interests you. Programming is a huge field, and you may find a specific niche or a wide area that suits your fancy.

But at the very beginning, the main thing is learning in a simple environment with a lot of feedback, and I’d argue Godot is better for that than (say) traditional “how to python” tutorials.

3 Likes

Maybe https://gdquest.github.io/ might be a good entrance point. It did not serve me well but this is me.

I also would second hexgrid. Aswell as the best links have already been posted.

Learning to code on a top level helps for any language. But i did not find any “gdscript for aspiring programmers” tutorials yet.

I’m with @hexgrid on this one. @ImVeryNew didn’t ask how to become a developer. They asked how to use GDScript and were looking for information in the Godot docs. When learning a new skill, people often aren’t interested in becoming masters of that skill. That comes later once they find they like practicing that skill.

The first piece of advice I give friends in the real world when they tell me they want to learn how to program, is to find a project to make. A web page, app, whatever. I actually think vibe-coding is a great entryway. Because I imagine that sooner or later people will hit a wall of what they want to do and the AI understanding what they want to do. It’s hard enough for humans to communicate to other humans! And that can then spark an interest in doing it themselves once they know what is possible.

There are plenty of tutorials in various forms that help people understand programming concepts in the context of building games. Heck, just reading the forums here, we talk about OOP concepts all the time when people ask.

For people who really want to learn how to program like a professional developer, I wrote a class to teach them. I never finished it because I decided it wasn’t how I wanted to spend my time right now, but I made it free and it teaches things like OOP concepts, how to use GitHub and do unit testing in Godot (any why). So *if * someone wanted to learn how to be a professional developer and learn Godot @soupstitute, I’d start them here.

Because like @hexgrid said, you can learn programming concepts with any language. (I think I even threw a little functional programming in.)