Hi, I’ve been trying to learn scripting for Unity for a while now, off and on, and it still overwhelms me. I have been doing tutorials and online courses, etc. and I’m currently doing the beginner scripting course on Learn.Unity. I don’t have previous programming experience, except for a JavaScript course.
Because I don’t have much devoted time/space in front of this it’s been difficult to get anywhere with learning. There are so many possibilities of words that I could put in, to get any given statement. For example, I have to remember to use transform (lowercase “t”) before I can use Translate, and then I get a nice code complete hint to remind me to put the coordinates, or a vector 3, but then if I want to be able to control the speed I need to use time.delta-something-or-other, inside the parenthesis for Translate, I think… etc.
There’s just a lot to remember. Code complete is super helpful, but it doesn’t do the full job unless you know how to start each statement. I know this will eventually come with practice and many, many tutorials, but I’m looking for advice about how you learned to code, and whether there’s a better or faster way. Especially given my situation where it feels like I have to start over every time I pick this up after a week or month has passed.
I’ve been thinking of making some flashcards perhaps so that I can keep the terms and sequence fresh between tutorial sessions. Does anyone have some experience learning programming this way? There are hundreds or thousands of keywords and I’d need to memorize not only their definitions but their sequence in a statement, so I’m not really sure where to start.