Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
5

What are frameworks? And how do you write them?

Asked by 9 years ago

I know there is probably a lot of documentation on what a framework is which I will be reading up on, but how exactly do you write a framework for a game. Do you create Module Scripts? How exactly is this all done?

2
Thank you bosswalrus 84 — 9y

2 answers

Log in to vote
1
Answered by 9 years ago

A framework to me is essentially functions that are universally efficient and needed in most games.To make a framework usually you use Module Scripts due to the fact that it can be fired from server and client sided scripts. An example of a framework function that I use is a weld function that only needs 2 variables which are both parts because it welds them the exact distance and position apart then copies down all data into a value model that i can then in turn see. This makes making the game more easier and efficient.

Ad
Log in to vote
0
Answered by 9 years ago

A framework enforces consistency.

The more common frameworks are a bunch of pre-made functions packed together and used within game creation.

Answer this question