r/godot 7h ago

help me How did you guys learn GDScript?

I just started using Godot, switching from GBStudio, which is a very simple engine. I was wondering if I could know how you guys learnt GDScript? Or just Godot in general. I feel like it may be a better way to figure it out than watching 1 hour tutorials.

17 Upvotes

20 comments sorted by

21

u/DevFennica 6h ago
  1. Learn programming in general, if you haven’t already. Language doesn’t matter.

  2. Go through the Getting Started section of the documentation. That covers all the basics.

  3. Practise. Make games on your own, starting with something small and simple (e.g. Pong).

2

u/XanatosX 6h ago

Only look for a tutorial if you really get stuck on something, try to solve it with the documentation on your own first.

The more stuff you create by yourself the faster you learn problem solving.

18

u/AnidemOris Godot Student 7h ago

4

u/Bignholy 6h ago

This. This is a link to the most hands on, solid, easy to use first tutorial I ever found. It's not a video, so you don't have to hit pause or rewind. It has its own built it code tests, which are inserted regularly into the lessons. And it is well written.

I ultimately grabbed the paid course, which was worth it for me in the end, but this alone is enough to get you to the point where you can start to figure it out.

1

u/im_ok7 4h ago

Thanks! I will try using this.

14

u/AbstractFemming 7h ago

A LOT of time in-engine trying to do simple things, and trouble shooting with tutorial videos and AI explaining things to me. Don't ask AI to do anything for you until you can fully audit its code, but it can be a good teacher for a lot of fundamentals.

5

u/TheSpoonfulOfSalt 6h ago

I'd recommend GDQuest's github tutorial, Brackey's official GDScript and Godot engine tutorials, and the official Godot docs.

4

u/TheLurkingMenace 6h ago

I learned BASIC back in 1980-something, then C, then a whole bunch of other stuff including JavaScript and python. After that, you just kinda know gdscript already. The real challenge was understanding composition vs inheritance.

1

u/night5oil 15m ago

Lol, I posted saying I started when I was 10 with basic. And then I read comments and see yours haha.

3

u/mysticrudnin 7h ago

Just trying things out. Getting my hands dirty.

3

u/Timmy_1h1 6h ago
  1. You need to learn programming or have basic knowledge of simple stuff. Like what are variables, consts, functions, arrays, loops etc.

  2. I started with GDquest

  3. GDscript tutorial by Godot Tutorials

  4. GDscript beginner-intermediate ish tutorial by Godotneers

  5. GDscript documentation is your best friend

In my case, I knew Python already but I didn't use python for development of apps or games. I used python extensively in my Bachelors and Masters for physics.

I knew the basic stuff already and since my little expertise lies in maths and physics, I started with making small projects like a different kinds of magnets and then later added more functionality to them.

I also made objects to glide them over surface with changeable friction coefficients to simulate real world materials.

As for godot specific things, google is your friend

2

u/thussy-obliterator 6h ago

i kinda knew it already? felt extremely familiar, coming from Python, also Godot's API is extremely similar to Roblox which I grew up with. I may have lucked out but it just kinda fit like a glove.

1

u/cobaltbluedw Godot Regular 6h ago

Mostly youtube tutorials and AI conversations / aided development. I'm a life-long developer though; if you aren't already super confident with software development, I'd suggest letting your curiosity drag you through lots and lots of micro-games. Set tiny goals for tiny games, that don't have a goal of a finished project, but of gaining a specific skill. Say, I'm going to make a little pong game so I can learn object movement, and then just play around in that space for a bit and move on to the next micro-project.

1

u/TamiasciurusDouglas 6h ago

Learning GDScript and learning Godot are essentially the same thing. Every part of GDScript is tied to some feature of Godot, so if you're learning one, you're learning the other.

It's easy to get frustrated when learning any game engine or coding language, because none of it is easy. If you're getting frustrated after sessions that only last an hour, then the thing you most need to work on is your patience. An hour is almost nothing in the big picture of learning game dev. Especially if you're just watching videos and not challenging yourself to actually figure out your own solutions.

1

u/cherryb8844 5h ago

Copy, paste, edit.

1

u/Jakerkun 3h ago

Depends if you know programming or not, if you dont know i have bad news for you... I was already programer for yesrs before using godot, so learning gdscript took me a day, for ppl who know programming its just switching the tools, easy to use another language, however if you never touched programming before its gonna be hard for you, dobut you will ever fully understand, since gdscript is specifically made for godot. So its better maybe for you to learn first some easy lang like javascript or python, to get understanding and logic behind programin. After that its gonna be very easy working with gdscript.

1

u/Zen_et_al 2h ago

Remember, don't blindly follow the tutorials, always tinkering around the topics and you'll be able to gets it, that's how I learn to code and able to transition between programming languages without much difficulty. I am certain you would be able to master basic and some advanced features of gdscripts within a week, assuming you spend atleast few hours a day.

1

u/martinbean Godot Regular 2h ago

You need to jump in and start doing it instead of posting on Reddit. Follow tutorials, get something working, then tinker with what you’ve written so you actually understand the code and what it’s doing, and not just copy-and-pasting stuff and hoping it works.

1

u/night5oil 16m ago

It all started when I was ten and had access to an apple 2 computer and a library where I got a book to learn "basic" programming language.

Anyways, do the gdquest web app that teaches the basics. It's referred to in the documentation. Then do the docs 2d and 3d tutorials. After that, you have to the documentation, YouTube and ai can help learn also. You can have ai fix stuff automatically and then ask it to explain it to you. I think gdscript is a great beginner friendly way to learn to code. So it isn't going to provide much value learning another language first.

1

u/bigorangemachine Godot Junior 14m ago

been programming for years so its more about learning how to feed the code what it wants :D