dark mode light mode Search Menu

Create Scratch Backgrounds

SparkFun Electronics on Flickr

In February’s issue of Beanz we introduced the basics of pixel art using Piskel. For June we will build off of February’s article and create a pixelated scene that can be used in a Scratch project.

Our goal is to make a tiled ground such as the one shown below:

To start, we will go to Piskel and log in. If you do not have an account, go ahead and make one before starting a project.

To start a new project, click the yellow Create Sprite button. On the right side of the screen find the gear image that represents the Preference section of the site.

When Preferences opens, find the Grid tab. Be sure to check the Enabled grid box.

Next, choose the smallest grid size and the smallest grid spacing.

Finally, find the Resize option and set the grid to 16 x 16. Click the yellow Resize button to save this grid size.

Now it is time to choose a color for the ground. In this example we will make grass on dirt, so we start with brown.

Once we find a hue of brown that we’re happy with, we can fill in the entire grid in with one click by using the paint bucket tool.

At this point the grid will look similar to the image below:

The next step is to add in some green toward the top. It is a good idea to select three hues of green from the color pallet to create shading in the grass.

Now that we have one dirt/grass tile, we can download it (as a PNG file), and then upload it into Scratch (as a sprite) to create a scene.

Once the image is in Scratch, click on the costume tab of the dirt/grass sprite and copy and paste it until it covers the width of the screen. Be sure to switch to vector mode to do so (the blue button at the bottom of the costume tab will read Convert to Bitmap).

If you’d like a “hilly” scene, paste some of the blocks kitty-corner, above (or below) and to the right with the corners touching.

Finally, we can use the color chooser to select a matching brown color to fill in the white space below our dirt scene.

Create a couple of pixelated trees (using Piskel or similar drawing app), add in a sprite from Scratch’s sprite collection, a blue sky background, and there we have it – a pixelated scene that can be used in your next coding project!

Learn More

Piskel App


Creating animations with Pixel Art


Create a pixel art gif with Piskel


Uploading animated character to scratch


Teach kids Pixel art animation