Frequently asked questions in Scripting: Difference between revisions

m
Add a few FAQs
m (Add FAQ 'Can I copy or paste blocks between levels and games?' and category)
m (Add a few FAQs)
Line 1: Line 1:
This page lists the short, common questions asked when scripting or building a game.
This page lists the short, common questions asked when scripting or building a game.
== Can't move camera in edit-mode ==
The camera will "lock" into place if you have a script/block selected, preventing it from moving or a jarring motion when trying to move the camera. Tap on an empty spot in the level to deselect.


== Copy-pasting blocks between levels and games ==
== Copy-pasting blocks between levels and games ==
Line 7: Line 11:
This block is now available for opening in another level, in order to retrieve the contents.
This block is now available for opening in another level, in order to retrieve the contents.


For pasting between games, scroll down and fetch the block in the appropriate game folder in the Blocks tab, and drag it into the level. Setting it to be a custom block for the current game allows to open the script, and get the contents.
For pasting between games, scroll down and fetch the block in the appropriate game folder in the Blocks tab, and drag it into the level.
Setting it to be a custom block for the current game allows to open the script, and get the contents.
 
== How to delete a block? ==
 
To delete a custom block permanently, first make sure there are no copies of the block/script in the world or inside any other block.
Then grab the block you want to delete and drag it, you should see a red X appear in the bottom right corner, drag the block there and it'll get deleted.
 
== How to rotate a block? ==
 
There is currently no way to rotate blocks in build-mode.
If you must have a block with multiple rotations, you'll have to make multiple blocks.
An alternative is to rotate the object in play-mode, using [[Set Position]].


== Fonts ==
== Fonts ==