What is framework?

Hello!
I was wondered what is framework I don’t know for what category it’s is
But I just want ask what is it If it’s wrong category tell me thanks

7 Likes

A framework is basically reusable code that is used to make developing easier.

Say, you have 2 swords and each of these 2 has a unique script controlling them. If you were to find a bug in one sword, you would also have to fix that bug in the other sword.

But what if you could create a single script that controls both of these swords, heck, not just swords, but ALL the melee weapons in your game! That is called a framework. As you can already tell, you can have different frameworks or a single one to control your game. Create a plugin that utilizes your framework and you will see the difference!

P.S. Frameworking shouldnt be done by a newbie scripter. Consider getting to know Lua better before you start making your own framework

14 Likes

but can i use a framework from a tutorial to help me in my commission