Login

Fancade Wiki

Major improvements, merged with Advanced inspect page

... ...
@@ -1,6 +0,0 @@
1
While selecting an [[Inspect]] block there will be an option to activate "Advanced". While playing, if activated, a button with the same color as the value of the variable will appear in the bottom right, and clicking it will show the value of the variable in real time on the right part of the screen. It will also show the percentage of object, script, and block limit consumed.
2
3
Additionally, activating or deactivating this option will be shared to all inspect block existing in the game.
4
5
[[/uploads/Screenshot_20200819_212153_com.martinmagni.fancade.jpg]]
6
[[/uploads/Screenshot_20200819_212231.jpg]]
... ...
\ No newline at end of file
... ...
@@ -1,3 +1,18 @@
1 1
Displays the value given to the input, allowing you to inspect values.
2 2
3
[[/uploads/image01.png]]
... ...
\ No newline at end of file
0
This block is essential for debugging your games because by using it you can make sure that you don't get unexpected values that break your game. If you connect its only input to a variable or value block, the data will be printed on its top.
1
2
[[/uploads/inspect_block.jpg]]
3
4
## Advanced mode
5
Often you [[set camera]] or need to inspect local variables inside a block and it becomes impossible to know the value when it's displayed on the Inspect block top side. For such cases, you can switch to an "Advanced" mode by selecting any Inspect block and clicking on "Advanced" option in the hotbar.
6
7
While playing, if the mode is activated, all inspected values will be displayed on the right side of your screen. If you tap on one of them, it will be printed to a "console log" on the left side. It's helpful if you want to keep track of how values change over time.
8
9
[[/uploads/advanced_mode.png]]
10
11
The first three lines of the log will always be occupied by percentages of object, script, and block limits consumed.
12
13
Note that activating or deactivating this option will be shared to all inspect block existing in the game.
14
15
[[/uploads/image01.png]]
Fancade Wiki