Hello. Sorry to keep you waiting, there are just a lot of exams in November :,)
I haven’t forgotten about adding module script support.
BlockLua | The blazingly fast visual scripting plugin for Roblox. Code with blocks, like in Scratch!
I think they might’ve interpreted it as the user making scripts blazingly fast. Not how it runs.
Module script support is finally here!
Hello everyone!
Today is a big day! BlockLua got ModuleScript support.
It might be still lacking (please let me know what else should I add), but it is a game changer.
Let me show you how it works.
First of all, the new category:
All blocks are well documented, but feel free to ask any questions. Let’s see an example.
Here’s the setup:
We have a part which would give the player a point when they click it.
It has the following script:
As you can see, it requires a module script called “PointsModule” from ReplicatedStroage. Let’s see that module script.
Of course, this is just an example. It only prints a text to the output. In a real scenario, you could have it increment a variable, or do whatever you want.
ModuleScripts are a super useful feature for game-development. They let you split your scripts into many different modules which then can be used by other scripts in the game.
Let’s say, you can make a module script that handles enemy movement. Now, you can just add a script to your enemies which only requires (loads) the module script and calls a function to handle the movement. This way, when you make a change to the module script, all the enemies will have the new logic you just made.
Basically: You never have to copy-paste the same code into every enemy, every time you make a change.
Install BlockLua
Original post:
finally you released it, it took a while
Sorry for taking so long. I really didn’t have much time. This is a solo project, I hope you understand.
yes i understand sir, hope u can make BL online
Nice update !! - pretty limited without Modules (as I slowly discover them).
Knowing you are busy/exams etc - I hope to see some more video’s.
I will be enabling BlockLua for now - just to see the documentation & if I can use it again.
THANKS
Huge documentation update!
I’ve documented all the following categories:
Debug, Logic, Math, Text, Values, Variables, Lists, Loops, World, Instances, Part
Some documented blocks have examples and warnings included to further improve the learning curve of BlockLua.
I’ll document more categories later on, it just takes a lot of time, sorry about that.
I hope this update helps many of you understand the plugin better!