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!!! (:
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:
- Of course I started with youtube to learn the basics. This will only get you so far though.
- 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.
- I started experimenting by myself and when I got stuck I searched it up.
- 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:
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.
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.