Editor: Difference between revisions

1,614 bytes added ,  Yesterday at 20:40
→‎Decor: Improve wording
(More information, with custom blocks as its own section)
(→‎Decor: Improve wording)
Tags: Mobile edit Mobile web edit
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
The '''editor''' is where the level's blocks are arranged and the logic is modified.
The '''editor''' is where the level's blocks are arranged and the logic is modified.
It is available upon editing a level in [[Build]].
It is available upon editing a level in [[Build]].
The easiest way to edit a game without the tedium of scripting from scratch and  is through [[Kit]]s.
The easiest way to edit a game without the tedium of scripting is through use of [[Kit]]s.


There are two modes: '''edit mode''' (or '''build mode'''), and '''play mode'''.
There are two modes: '''edit mode''' (or '''build mode'''), and '''play mode'''.
Edit mode allows to move, place and remove blocks, as well as creating custom blocks and deciding game execution using wires.
Edit mode allows to move, place and remove blocks, as well as creating custom blocks and deciding game execution using wires.
In this mode, two arrows are visible at the origin point `(0, 0, 0)`, found at the most southwest part of the world (in top-down view).
In this mode, two arrows are visible at the origin point <code>(0, 0, 0)</code>, found at the most southwest part of the world (in top-down view).
The arrow to the right is called the X axis, while the other arrow is called the Z axis. The remaining axis representing height, Y, is not shown, but is perpendicular to the two axes.
The arrow to the right is called the X axis, while the other arrow is called the Z axis. The remaining axis representing height, Y, is not shown, but is perpendicular to the two axes.


Line 18: Line 18:
To create a custom block, tap the pencil button on a built-in block or a custom block from a folder of a game name by scrolling below.
To create a custom block, tap the pencil button on a built-in block or a custom block from a folder of a game name by scrolling below.


The game will prompt again for confirmation.
Fancade will prompt again for confirmation.


From thereon, there is a [[color palette]], and five buttons:
From thereon, there is a [[color palette]], and five buttons:
Line 28: Line 28:
: In an opposite manner, this button can shrink the boundary of the custom block provided that those respective blocks do not contain voxels anymore.
: In an opposite manner, this button can shrink the boundary of the custom block provided that those respective blocks do not contain voxels anymore.
* The '''brick stud''' reveals the sides which have [[glue]] on it. Tapping and dragging functionality is similar to '''pencil''' button; here, it removes or adds glue to the sides of the voxels.
* The '''brick stud''' reveals the sides which have [[glue]] on it. Tapping and dragging functionality is similar to '''pencil''' button; here, it removes or adds glue to the sides of the voxels.
* The '''camera''' rotates, pans, and zooms the camera.
* The '''camera''' button rotates the camera, moving it towards the block being edited in the center of the screen with a single finger.
 
Irrespective of option, you can pan, zoom and rotate the camera with two or three fingers.


Below these buttons is an undo, redo, and OK button.
Below these buttons is an undo, redo, and OK button.
Edit a custom block by tapping the pencil button again.
It will not confirm in this case.
Similarly, edit the current name of the custom block by tapping it.
A maximum of 16 characters are allowed.
To delete a custom block, remove every instances of the block, which may or may not be across multiple levels, so that when the last block is removed, an 'X' button with a red background appears beside the remove button.
Drag the block in this location to delete it.
The button to the left of the pencil button is the open block button.
Press to reveal its contents inside.
This area is most commonly used to store scripts and other necessary objects to an accessible location, inside [[script block]]s and one-off sprites (e.g. [[Longcat]]).
You may not edit a custom block inside another block without placing it on the floor first.
A currently opened custom block may not be moved to another location without closing it.
Opening another block closes the other for the new block.
Tap the open block button again to close it.
An object's [[collider]] depends on the glue and the mode set.
To change the property and collision type, press the gear button beside the name of the custom block.
There is a [[Limitations in Fancade scripting#Maximum custom blocks|custom block limit]] imposed to each game.
In a nutshell, the number of levels, in addition to how many blocks each custom block in inventory occupies cannot reach 256.


== Inventory ==
== Inventory ==
Line 64: Line 89:
=== Decor ===
=== Decor ===


A flower, shrub, arch, and fifteen variations of sticks contain this folder.
A flower, shrub, arch, and fifteen variations of sticks are contained in this folder.


=== Game ===
=== Game ===
Line 102: Line 127:
=== Physics ===
=== Physics ===


Scripts for physics-based objects and manipulation. The game's physics engine uses Buller Physics.
Scripts for physics-based objects and manipulation.
The game's physics engine uses Bullet Physics.


* [[Add Force]]
* [[Add Force]]