This isn’t exactly the best category for this, but it’s the best one I can think of…?
Also, this is a bit of a long read, but it shouldn’t be too hard to answer.
Anyways, basically, I work on projects, lose a ton of motivation, work up enough to come back to it a while later, and bam, the scripts are cluttered and ew when I go back to them and it’s a turn off, and I take an even longer break from the project.
So my question is, any tips for organization in scripts?
The reason that cluttered is in quotations in the title is because the scripts themselves aren’t exactly cluttered- or, rather, I can’t exactly think of any way to fix them. As far as I’m aware, all I have to work with is scripts and comments inside the script itself, and that can quickly be a lot on the eyes.
So, for example, let’s say I have a really simple script, but there’s a lot of garbage that goes into making it look pretty when it does the thing I want it to do. The thing I may want to edit is the simple part, but I open the script, and see all the fancy stuff, and I’m like “wait is this the right script? What does this do? There’s so much stuff here?”
So, on top of organization tips, does anyone know if there’s a way to have multi colored comments? So, maybe you could have different colored headers to almost color code the sections in your script to make stuff easier to find?
Or, maybe something like sorting little sections of your script? Like maybe you could group a section of the script into one little thing and like name it, and it’ll have that drop down on the side like functions and if statements and all that have…? So you could see like “Make the NPC move” and you could click the menu and then you’d see the script?
I know those are super specific, but if there is anything like that on roblox, it’d help me a TON.
I know this was super long, my bad, hope you experts can help. Shouldn’t be too hard a question to answer.