Is it a good practice or not to devide things in a folder into sub-folders? I personaly thinks it’s not good because I may keep it clean while not required to edit scripts when I make changes to them. Any suggestions on a optimal module&object storing structure? Well sorry if I post it in the wrong section I’m not to sure where to put this in but any help will be appreciated!
There are such things I like to call excessive-nesting and under-nesting. Excessive-nesting turns your explorer cluttery and unorganized, while under-nesting is practically useless. Try to see which instances you must nest and which do not require such.
For example, if you use a for.. do
-loop, it’s easier to run the loop through the folder in (example) the ReplicatedStorage instead of going through the entire ReplicatedStorage.
for me, i choose based on how cluttered it would look if i don’t nest folders
here’s an example for an RPG game
i have 10 enemies in Zone A that’s called “Enemy” in game
but 10 enemies in Zone B that’s also called “Enemy” in game
i’d just have 20 “Enemy” models with no idea how to differentiate unless i expand them one by one
so i’d have a subfolder called “Zone A”, then add in my 10 Zone A enemies inside, 10 Zone B enemies in a subfolder called “Zone B”, etc. so if i wanna do any manual changes to mobs in a zone, i can do it easily.
example 2: a folder containing VFX
if they’re just a bunch of VFX parts that will get deleted soon, i’d have no good reason to have to nest folders. cleanup can be dealt with inside the script that creates this VFX.
yea i kinda choose on a case-by-case basis
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.