find a couple beginner level tutorials and learn the basics (most of them cover everything necessary)
after that try making some tiny projects from tutorials or just your own ideas (something fairly simple)
once you've got the hang of doing things with guidance try doing them by yourself
think of an idea or find one in a game
attempt to make that idea
repeat the previous 2 steps
#new to scripting..
26 messages · Page 1 of 1 (latest)
it's important that throughout the whole process you don't just mindlessly copy and paste everything in a trance
try to understand each word and each line of code and piece them all together step by step
** You are now Level 3! **
don't over complicate things as well
the basics of lua much like some other languages are very simple
some code can be compared to typing a sentence in english with some parts left out of it
depends on how you comprehend the new information
just go at your own speed
Learning the fundamentals is good. It depends on learning style. How good would you say you are at research?
That's good, one way that I've found is effective for people I've taught, and myself is learn generally what's available and what its for and then think about it in terms of steps that need to be done for it to work and then try to research specifically how each of those steps is done. For example if I wanted to script a light switch I'll probably need a button and a light. google "how to detect when button gets pressed roblox" do a bit of reading. google "how to turn a pointlight off in roblox" do some reading. Try to put it together.
another example is like you heard somewhere that "loops repeat code" and you have a problem where you need to shoot like 3 fireballs or something so you go to read more about loops to figure out your problem
It might not be a good way to learn right away but once you get a "foothold" so to speak it's a great way to practice.
happy to help
@last cipher
i think another thing is just trial and error
** You are now Level 1! **
not always, but yeah its a good guideline
there are different kinds of errors you'll most run into, syntax errors, run-time errors, and logic errors
syntax errors is when you wrote it wrong - you learn to fix this one pretty fast
run-time errors is when you pass some data around in the code and something unexpected happens, like when you try to get something that isn't there
and logic errors happen when you wrote code that doesn't make sense to the problem you're trying to solve but does actually run, you won't get any errors from logic errors which makes them hardest to solve.
cool