Best ways to learn scripting?!

I don’t know if this is fitting to this category but, all fellow scripters what is the best way to learn scripting?! I personally learned the things I know(which is not alot) abt scripting through youtube tutorials but I would like to know some great other options or great dev youtubers I can learn from!!! (:

1 Like

As I mentioned in multiple threads on the same topic (you should take a look at some already made threads about this topic, theres a lot):

Here is how I learned:

  1. Of course I started with youtube to learn the basics. This will only get you so far though.
  2. I started learning more when I followed “How to make a … game” and really tried to understand what was happening and try to make adjustments to the code.
  3. I started experimenting by myself and when I got stuck I searched it up.
  4. I became very active on the dev forum and started learning a lot as well.

For YouTube, you might even find my YouTube channel helpful, it has things like a Basic Scripting Series, How to make … game, and more extra scripting stuff:

3 Likes

Honestly, I have never watched or read tutorials when I started scripting. I looked at free model scripts and gears to see their code to learn the LUA syntax and what it should look like. Then, I used the object browser to view the API documentation.

When I got stuck, I just kept trying new things until it works. I have solved all but one problem like this.

2 Likes

Just keep scripting in my opinion, the more you code, the more you learn.

The more you mess up, the more you learn. More errors is better in some sense because you learn the syntax of the language and when it comes to the future and you get that error again you know how to fix it or solve it.

It honestly just takes time and research, and don’t be afraid to be asking people for help with coding as well, otherwise you will be in a position and you won’t know what to do and you will probably want to give up with coding and never want to do it again lol.

But the overall best ways to learn how to script is by reading documentation for APIs, libraries or whatever you are trying to learn / use. Also watching tutorials is good and reading other peoples open source projects.

2 Likes