Should I use module scripts for ABSOLUTELY EVERYTHING and have normal scripts that require them?

I saw that in the playermodule, they do this so I’m guessing it’s the right thing to do?

2 Likes

from my understanding its good practice to use module scripts for most things for the following reasons.
however i’m not claiming to be a good scripter so i will refer you to a video in which i found helpful about module scripts and game organization (heavily recommend this channel, it’s awesome)
https://www.youtube.com/watch?v=mGBuXbwIwc8&t=515s

my takes on it
1 - you divide everything in easy to read compartments

2 - depending on your layout and logic, it makes it easier to get rid of / swap out large portions of code since they’re in modules

3 - pretty sure there is probably a real deal performance boost to, however i haven’t researched to much into this

lmk in comments if my takes are incorrect

3 Likes