I'm having problems learning GDScript.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tlc14

I’ve watched several Tutorial but I’m not learning, at best I’m copying and pasting. I want to be able to code without a tutorial or guide. Any advice would be helpful.

I have a moment like that too. Until i realized i only eaten 2 times
A day. Sleep for 4 hours. And do nothing. when learning i just
Could’nt comprehend gdscript

Then everything changed after i fixed my mental health
Now i can learn gdscript with minimal hassle.

Maxlaughter | 2021-09-19 07:31

:bust_in_silhouette: Reply From: kidscancode

Your goal isn’t to learn GDScript, it’s to learn to code. Tutorials for Godot are going to be about learning to use Godot, which is a large, complex game engine with many things to learn; GDScript is only one of them.

You’ll find that Godot, and game development in general, is much more approachable if you have an understanding of the basics of programming. The best way to get that is from a source for beginners.

I highly recommend looking at Python for this. It’s a great language to learn, there are lots and lots of tutorials, videos, and courses available. As a bonus, since GDScript is based on Python’s syntax, the things you learn will transfer easily.

Finally, you must understand that it’s a marathon, not a sprint. Learning to code is difficult. Just like it would take you years of practice to become fluent in German, it’s going to take lots of study to get to the point where you can do everything yourself. Progress will be gradual and it’s important to be patient.

yes, that’s right, if you don’t know nothing about coding, learn the basic of programming in general is realty important, that put your mind in the right place to programing in every language

crossbit | 2019-02-05 16:46

I second this. As a matter of fact, I started learning programming with C++ years ago, the learning curve was pretty much steep but after I managed to grasp the basics and work with it a little bit more, learning dynamic languages like GDScript has become much easier. So the OP should not think that it would be difficult to learn both Python and GDScript.

People who learn dynamic languages first seem to be afraid of static languages like C++ because of the syntax.

Xrayez | 2019-02-05 16:54

:bust_in_silhouette: Reply From: crossbit

For me the best way to learn is modify the code, and try to make random ideas from 0, I want to make a random map for example:

find how create random numbers → then I want to do with that the map so I want to create a map in code → find how to call node / find how draw tiles → then I want to combine draw tiles and random number for make the random map.

It is an example what I do to learn code, is more fun and i learn what I want/think is more useful

Yeah, that playful/creative learning style is really more fun. However this is hard with Godot, because there are only some demo projects and scarcely (any?) more complex projects to learn from. Finally I’m reading the documentation step by step to understand the more complex interactions in Godot (however the doc is actually quite underrated I think, it explains how scenes and stuff are supposed to work in general and the thoughts behind it).

AlienBuchner | 2019-09-26 21:52