Time for action — make some tiled backgrounds
We are now going to make two tiled backgrounds: one for the grass that our player walks along, and the other for the dirt underneath.
1. First, we'll create the grass background object. Once again, open the Insert object box. Instead of a sprite, insert a Tiled Background object from the group Game.
2. Now draw the image for your grass. It does not need a hotspot, as the hotspot of a tiled background is always in the top-left corner.
3. Now name it
Grass
, and move on to making another one calledDirt
. Position them to form an initial platform underneath the player, as in the following screenshot:4. Change the Width of the layout to
1000
and the Height of the layout to800
. Then, make the entire level by copy-and-pasting (or dragging from the Objects bar) the grass and dirt objects around the layout, as shown in the following screenshot. You can use Ctrl and the mouse scroll wheel to zoom in and out of the layout.5. Finally, set the layout background...