Is this good organization?

I’m currently working on improving my organization skills because most of my prior games are just giant messes.

starting a game and I’m just wondering if my setup so far is decent. It’s gonna be a story game.

also if you have any tips for me I would love to hear them.

2 Likes

no obviously you should be putting everything in the same folder

yeah, it is. however i recommend storing the folders outside of the scenehandler as it will look much better. usually putting a folder under a module means it is a dependency like a remote and not a whole different scene handler. but it looks great even without that change.

2 Likes

Thanks for the input! however, I have 2 questions:

  1. should i put them under the client script then, or remove them from the local script entirely.
  2. if i wanted to use remote event to move the NPC’s in the scene should where should i parent the remoteEvent?
  1. you want to make it clear that it is a requirement for the scenehandler, so i recommend putting it under the localscript. seperating it away from the local script means it is a global requirement (which is not what you want, unless it is being required by more than 1 script)

  2. some people would say putting it under the module script is bad practice but that is only when you put it straight in the module script without containing it. i suggest you make a folder under the localscript named “Remotes” or something that makes it clear it is an event container. if you really want to put it home then put the folder under the module script.

hopefully this clears up any confusion, just let me know if theres anything else i missed

edit: ill give you some examples just in case you didnt really get it.


1 Like

If i put the remoteEvents under the localscript, in starterplayerscripts, how would the server access the remoteevents?, or is that the wrong way to do it.

Sorry, kinda confused.

put them in replicatedstorage if you want the client and server to see it

1 Like

so I was checking how some of the template games organize their code and i made these changes:

do you think this is better or worse?

if it works for you. the whole point of this is that everything is easy for you to see and work with.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.