Time for action – drawing bricks
To clone a brick, we need to first make a brick. We'll use the paint editor to do that. We'll use this single brick to build a continuous row of bricks across the width of the stage in a later exercise. Let's follow the given steps to create a brick:
Create a new sprite with the paint new sprite icon, and then convert the sprite to the vector mode.
Use the rectangle tool to create a solid yellow shape.
Draw the rectangle to be 48 pixels wide and 25 pixels tall. To see the current size of the rectangle, look at the thumbnail of the costume to see the current size. The width of 48 pixels will allow us to create 10 blocks to span the width of the stage. We have more flexibility in the actual height.
The following screenshot shows the costume thumbnail with the image dimensions:
You can resize the height and width of the shape by dragging the borders of the rectangle. This step takes some finesse to get the right size.
Don't forget to set the costume center.