How to organize your code using this modular framework

preview_player
Показать описание
Video Description:
Discover a game development workflow that maximizes efficiency in Roblox Studio. In this video, we delve into the power of modular code organization. Learn how to structure your scripts using modules, create server and client scripts, and leverage my recent ModuleHandler module inspired by @hexfrags to automate module loading. We also explore my Signal module for seamless script communication. Elevate your coding skills with this guide to modular development in Roblox Studio.

Questions / Help:

If you can't use Discord or don't wish to, feel free to post questions here in the comments section but know that I may be slow to answer or may miss your comment entirely. Additionally, follow these guidelines in your questions:
1) What is the specific issue you're having and what are you trying to do?
2) What have you tried to do to fix it so far?
3) Send relevant code chunks (if it's scripting) and any relevant errors/warnings if there are any.

Modules I Use:
- Signal
- Module Handler

These modules are heavily inspired by @hexfrags and their Free Bird framework.

Both of these modules can be found in my discord server below:
Рекомендации по теме
Комментарии
Автор

Yo, I was the previous lead developer for Utopia and I was curious about the state of the game's development and stumbled upon this video.

Just wanted to say the _G:require() function is something completely original that I've came up with in my FreeBird framework.

I don't really have a problem with you drawing inspiration from my paradigm, but it would be nice if you credited me rather than simply stating "inspired by others", a lot of your ModuleHandler code pretty much directly reflects FreeBird.

I like what you've done with your "Signal" module, it's a lot better than the naive implementation I had used in Utopia, really nice to see someone take inspiration from how I've organized and structured games, I plan to open source FreeBird at some point.

hexfrags
Автор

Never knew you could signal messages directly from server to server with modules! Thank you for this video.

DeltaProgams
Автор

Really cool. Modules make it so you can build off of what you've already created vs making a new system with everything.

LeapInno
Автор

i've been trying to find to reorganize everything. Thanks for this!

He_ze
Автор


I don't have an updated video on it quite yet, but there are some pretty in-depth explanations in a link in the description of that plugin.

Knineteen
Автор

1:47 update: you should be using *shared* instead

RoboGameOfficial
Автор

Sorry for late comment, but is this vulnerable to exploiters, as they could _G.Require() any module?
Or my project needs an anti cheat system?
Another question: can I essentially treat all module scripts (almost) as server/client scripts, with the added features?

Sorry if these are stupid questions, I am a beginner

Thank you for the video :)

Fpassa
Автор

Can u make video expland about ModularBlue ui or how to use it

soraphop
Автор

good framework now i dont have to use Knit

babyfatmilk
Автор

Do you have an updated version of this?
If be very interested to see.
This is very similar to how i setup my own code setup. But im always up for learning new and better ways to do things!:)

IDKDabble