Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to use LUA scripts?[ANSWERED] [closed]

Asked by 9 years ago

I learned how to script on the wiki and the video tutorial a little but, I don't know how I'm supposed to use it inside a game. I was planning on making a little deadzone-like game but with the things I know, I don't know how I'm supposed to. It seems really complicated looking at other people's scripts with a bunch of lines and codes and I'm wondering, "How does someone just remember to put codes that exact way for a game to succeed?" Please, If you can, PM me on my roblox account if you could help.

2
Is this not? FancyFame 15 — 9y
1
The complexity you see in most code is directly because of iteration. Ignoring scripted events, the code that makes games run typically starts as a single, simple snippet of code. Then, more simple alerations or additions are made. Code that first only renders four specific tiles turns into code that renders any number of any kind of tile, simply because smaller additions are made over time. adark 5487 — 9y

Locked by adark, SanityMan, and TheMyrco

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

2 answers

Log in to vote
2
Answered by
Necrorave 560 Moderation Voter
9 years ago

Also, keep in mind that most programmers or scripters do not remember EVERYTHING. We learn the basic concepts of scripting, than we use logic and problem solving to figure out how to set up code.

After that, putting it together is a matter or memorization and looking up the parts you forgot.

Take something such as :BreakJoints(). I know that exists in Roblox, but I forget about it once in a while. I look up things constantly just to remind myself how things work.

If you know Algebra and you can type on a computer, you can learn to script. The hard part is having the creativity to create something new.

Computers are dumb, remember that. You have to tell them EVERYTHING they need to do in order to get the result you want. That is the part of scripting and programming that a lot of newbies don't understand at first. Once you get that down, you are ready to learn and develop.

I wish you luck in learning the ways of Lua!

0
Thanks. I'm not good at algebra so I won't really succeed :P FancyFame 15 — 9y
0
Basic algebra, aka variables and what they mean/represent is all you *really* need to know to script, so don't worry about it. adark 5487 — 9y
0
Oh FancyFame 15 — 9y
Ad
Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
9 years ago

Well, coding is mainly about memorization, common sense, and intense thinking. You may have everything from the Wiki stuffed in your brain, but not know how to use it. I recommend viewing various YouTube videos on this subject because it's harder to type it.