Login

Fancade Wiki

Updated Script Limit.md (markdown)

... ...
@@ -8,7 +8,7 @@ Fancade has a hard script limit. After a certain number of scripts in the editor
8 8
[[/uploads/Screenshot_20210609-094759_Fancade.png]]
9 9
10 10
### Optimized Scripting
11
- For the most ambitious of projects script limit has proven itself to be the greatest wall, leaving the very same projects abandoned, scrapped or just barely hanging on the limit unable to get new game features and mechanics. In Fancade 1.11.3 however, "Optimized Scripting" feature has been introduced, significantly reducing script limit usage and effectively giving more freedom in coding complex games (more info about "optimized scripting" will be explained later at this page).
11
- For the most ambitious of projects script limit has proven itself to be the greatest wall, leaving the very same projects abandoned, scrapped or just barely hanging on the limit unable to get new game features and mechanics. In Fancade 1.11.3 however, "Optimized Scripting" feature has been introduced, significantly reducing script limit usage and effectively giving more freedom in coding complex games (further explanation is given later at this page).
12 12
13 13
# Technical Details
14 14
The introduction of advanced inspect allowed for more robust testing, which helped in discovering some key insights regarding the elusive script limit. Among those, Andrew Clark's discoveries were crucial for our current understanding of it.
... ...
@@ -51,8 +51,9 @@ Known script blocks that output a pointer are all the Get Variable and List Elem
51 51
Known script blocks that accept a pointer as input are the Variable inputs of the List Element blocks, the Variable input of the Menu Item block and, increment and decrement block.
52 52
![Pointer in](https://media.discordapp.net/attachments/852037487987392529/855655587852451840/Screenshot_20210619-091908_Fancade.png)
53 53
54
### Optmized Scripting
55
W.I.P.
54
### Optmized Script Usage
55
Fancade 1.11.3 introduced the "optimized scripting" feature,
56
now with this feature only the first instance of the custom block put into the world counts every script inside it towards the script limit, the additional instances of the block then contributes only 1 point each to the script limit.
56 57
57 58
## Tips
58 59
Here are some general tips to conserve the limit as much as possible.
Fancade Wiki