Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What is exactly is "game logic"?

This isn't a very in depth question, but it is something I'm very curious about. I've been looking into the code of some uncopylocked ROBLOX places, and in almost every server script I see a small section of code dedicated to a "game logic" catagory.

Just wondering, what exactly is it? Isn't technically everything that's written in a program considered a part of it's logic? What separates that section of code from the rest?

Anyway, I know this probably has a very simple answer, but I couldn't help but ask since I can't find an official explanation anywhere else.

1 answer

✓ Accepted answer

Game logic is the part of the script that 'runs', for lack of a better word. It's the logic of the script and it controls all of the fundamental parts of the game that the script is designed for. It is also the part of the script that always runs.

8 comments

0

Thanks, that's pretty much what I figured, lol.

0

Do me a favour and select this as answered in which case so it doesn't bug the crap out of other users.

0

Hmm, I tried to, but there's nothing that's letting me accept it?

0

Under my picture or something apparently.

0

Yeah, nothing there that lets me accept it: http://prntscr.com/a73ose

0

Beats me. Maybe it's the site sucking once again c:

0

Dang. Well, if it gets fixed I'll be sure to accept it, and upvote it when I'm above 5 reputation. Thanks again.

0

Yay, works now. Accepted and upvoted your answer.

This discussion is preserved as it was. New answers, comments, and votes are closed.