How did you learn to script? & How did you improve at it?

I’ve been having trouble trying to relearn scripting because I felt as if I didn’t learn it right the first time. I couldn’t do much except make abilities. I wasn’t able to make anything backend - related without watching tutorials on it. I feel as if as a scripter I’m supposed to know the basic of backend. so therefore I’m going to relearn but the right way this time. but the problem is I don’t know what’s the right way or what’s best for me so that’s where the scripter community comes in. the question I have today is “How did you learn to script” and “How did you improve at it”

2 Likes

Myself personally, I see something in another game, think. “I can recreate that” and I do so, learning things along the way if it’s something new

I learnt with documentation and YouTube tutorials, once I got the basics, I moved on to making my own systems with more advanced things like raycasting, OOP, and Linear Interpolation, and now im learning other languages for web development like HTML, CSS and JavaScript,

I would say, learn the basics of programming, like loops, if statements, data types, variables and more stuff I probably forgot to mention, then move onto your own projects and make them more and more challenging.

If you’re not sure about something, look into documentation or go to the dev forum. There are going to be tons of people willing to help you.

Im around an beginner/intermediate, I also have a ton of things to learn, so don’t give up, and keep learning.

1 Like

After reading this I’ve realized the mistake I made Is that I didn’t fully learn the basics, things like Data Types I never learnt. I was just so quick to get into the advance part that I skipped most of the basics. when ran into a bug I would ask people and they would tell me what the problem is and i would fix it but I would never try to understand and see where’d I make the mistake or learned from my mistake. so Thank You!!

1 Like

I wouldn’t know where to start If i did that

Yeah, whenever someone sends you a script, don’t use it if you don’t understand it. Instead ask for clarification until you can fully understand how every part of it works. You can learn extremely quickly this way.

(Also, not knowing how scripts work usually leads to extreme unoptimizations)

1 Like

I’d start by learning project infrastructure, module scripts, serverside, client-side,
Then, look into the math aspect.

More than learning python or Lua syntax, you should know how computers handle information or as we like to call it “code”.

Once you grasp that well, you can keep building off it based on your project ideas.

For me, traditional youtube tutorials didn’t work. But here’s a basic “roadmap” for projects

  1. get idea
  2. how make idea
    2.1 design infrastructure (Clientside, serverside portions, algorithms, whatever.)
    2.2 Organize the infrastructure (makes it easy to edit or change parts of it)
    2.3 have solid plan
  3. DO
    3.1 define your structures, variables, functions, whatever YOU need to make it work.
    3.2 application (Shouldn’t be too hard if you have a solid plan)

hope this helps.

1 Like

Currently on the lua side I’m learning about clientside & serverside once I’ve fully grasped the concept of those 2 I’m moving on to another topic

1 Like

Yea. I think the best way to learn scripting is just doing a real project & actually trying to make things by yourself. Don’t rely on tutorials and try to figure it out on your own. I learned a lot through those experiences.

1 Like

Yea because the first time I tried learning scripting I didn’t really understand anything really. I would just copy the YouTube tutorials I seen. but hopefully this attempt I actually learn and understand what I’m doing

1 Like