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

Do module scripts affect game performance at all?

Asked by
Sorukan 240 Moderation Voter
5 years ago
Edited 5 years ago

I have yet to find a website discussing about how module scripts affect performance. I know that it's mainly for organization but i've seen people saying that the less scripts you write, the better your game will run. I'm a bit skeptical about that because even if using module scripts require less writing, it will still run the same code throughout multiple scripts so i don't see how that differs from just writing 10 scripts that each have 100 lines that are almost the same.

0
Almost anything you do is going to affect game performance. By what amount, is totally determined by the efficency of your code and what it is you're doing. For a large project where you'll be utilizing the same code repeatedly a modulescript is almost a must. If not for performance gains, for ease of use and efficiency. DinozCreates 1070 — 5y
0
It is good to keep your games clean and make sure that they don't have too many scripts, because it isn't just about speed, but also, it will start becoming super hard to find a script or edit an object if you put to many in RetroGalacticGamer 331 — 5y

Answer this question