Use blocks

July 4, 2022

Use blocks

PLEASE NOTE: Block objects are only available in block projects, if you don’t find the functionality mentioned below, please check if your project is a block project.

Place block

you canGame Part PanelFind all blocks in the current project.

After clicking a block in the block list,Move the mouse to the scene window, you can see that the block to be placed will move with the mouse. At this point, click the left mouse button to place the block at the position specified by the mouse.

Click the right mouse button to exit placement mode.

Delete block

There are two ways to delete blocks in the scene:

1. Activate in the toolbardelete tool, then move the mouse to the scene window and left-click to delete the clicked block.

2. After selecting a block in the scene window (or after selecting a block), click on the toolbarRange delete button, or click the “Delete” option in the right-click menu or the shortcut key Delete, all the currently selected blocks will be deleted.

Marquee box

If you want to operate on a range of blocks at the same time, you can activate it in the toolbartwo point marquee toolThen frame the squares.

The specific operation is as follows: click a square in the scene window as the initial point of the frame selection, and then click another square again as the end point of the frame selection. At this time, the squares in the selection frame are selected at the same time.

If you want to adjust the range of the frame selection, you can activate it in the toolbarzoom tool, then drag the zoom axis to adjust the range of the current marquee selection.

Move block

After selecting a block in the scene window (or after making a box selection), activate the move tool in the toolbar, the move axis will be displayed on the block, and the block can be moved by dragging the move axis.

Since other existing blocks are likely to be replaced in the process of moving blocks, after moving blocks,Confirmation is required for this operation to take effect

Replace block

After the box is selected, you can replace the boxes in the bounding box: 1.Click the Replace button in the toolbar;2. Or right-click on the bounding box and select “Replace” in the menu.

In the replacement window, all types of blocks in the current bounding box will be listed, and you can specify each type of block to replace it with other blocks individually.

As shown in the figure below: the left column is the block that needs to be replaced, and the right column is the replaced block.

Fill block

If you want to directly replace all the squares in the bounding box with the same type of squares, you can, after the selection, 1.Click the Fill button in the toolbar; 2. Or click the right mouse button on the bounding box and select “Fill” in the menu.

This method will replace all blocks in the bounding box, including air, if you want to replace only one of the blocks, useReplace function

Use parts

Please note: Part objects are only available in non-block projects, if you don’t find the function mentioned below, please check if your project is a non-block project.

Place part

existGame Part Panelmiddle clickParticon, you can see 4 shapes of parts.

Click on the part shape you want to place, thenMove the mouse to the scene window, you can see that the part to be placed moves with the mouse. At this point, click the left button of the mouse to place the part at the position specified by the mouse.

Click the right mouse button to exit placement mode.

Before placing, you can also set the texture map and color of the part to be placed in the Game Part panel:

Move/Rotate/Scale Part

The editor supports visual adjustment of part position, rotation of part orientation, and scaling of part size. You can find the Move Tool, Rotate Tool, Scale Tool in the toolbar.

After selecting the part in the scene window,Activate the move tool in the toolbar, the move axis is displayed on the part, and the part can be moved by dragging the move axis.

Similarly,Activate the rotate tool in the toolbar, a rotation ring is displayed on the part, and dragging the ring rotates the part.

Similarly,Activate the zoom tool in the toolbar, the zoom axis is displayed on the part, and the part can be zoomed by dragging the zoom axis.

Anchor parts

When running the game, parts are affected by physics by default, and parts you place in the scene may fall due to gravity, or move due to other forces, such as being knocked off by the player character.

if youIf you want the part to stay fixed in its original position and not be affected by any physical factors, then anchor the part. When making some fixed objects, such as houses, plants, landscapes, etc., it is usually necessary to enable anchoring.

How to anchor parts: After selecting a part in the scene, on the rightProperties panelfound in“Anchor” property, checked to indicate that the part is anchored.

If, while running the game, you notice some parts that you want to be anchored are scattered on the ground or moved to other places, please check that they all have anchoring enabled.

Modeling with Parts

Although the editor provides 4 basic shapes of parts, sometimes you may want to make some more complex and sophisticated models. At this time, you can use the following four modeling tools to change the shape of the parts: Merge Tool, Intersect Tool, Subtract tools, separation tools. You can find these 4 tools in the toolbar:

merge

Merge tools canMerge multiple parts into a single part and preserve the shape before merging. The merged part is a whole, and one of the parts can no longer be manipulated individually.

intersect

The intersect tool canMerge multiple parts into one part, but keep only the overlapping parts of these parts, the overlapping part is the merged shape. The intersected parts are a whole, and one of the parts cannot be manipulated individually.

subtract

The subtraction tool canMerge multiple parts into a single part and delete the shapes of other parts in the part. When subtracting,The last selected part as the deleted shape, other selected parts will be deleted by the last part. The subtracted part is a whole, and one of the parts can no longer be manipulated individually.

separate

Separation tool canRestore merged, intersected, and subtracted parts to their original state