In this tutorial, I will show you how to create and animate a pixel art sprite using just a few simple tools in Adobe Photoshop. In the process, I will cover all of the basic rules that you can apply to your future pixel art illustrations. Let’s get started!
1. Prepare Canvas and Tools
Select the Pencil Tool from the Toolbar, it will be your primary instrument for this tutorial. Select a Hard Round brush in the Brush settings and apply the settings shown below. Your aim is to make the line absolutely sharp.
Set up Pencil Mode for the Eraser Tool and use the same brush settings as below.
Turn on the Pixel Grid (View > Show > Pixel Grid). If you don’t see this item in the menu, go to Preferences > Performance and turn on the graphic acceleration.
Note: The grid will be seen only on a newly created canvas with zoom level 600% and above.
Go to Preferences > General (Control-K) and set up Image Interpolation toNearest Neighbor. This will ensure that the edges of the objects you work with always stay sharp.
Go to Preferences > Units & Rulers and choose Pixels in the drop-down menu nearRulers to see all measurements in pixels.
2. Create the Sprite
Now that everything is set up, we can start creating the sprite.
Make a sketch of a character with a distinct silhouette, and try not to overload it with many details. It’s not important to paint the colors, the outline should be enough, as long as you understand how your character should look. I prepared a sketch of a space trooper for this tutorial.
Press Control-T or use Edit > Free Transform to scale down your character to60px in height.
The size of the object is shown in the Info panel. Notice the Interpolation setting, it should be the same as we set in Step 4. In this case, it’s not that important, as we are only turning a sketch into pixel art, but pay attention to that feature in future when you work with pixelated objects.
Zoom in to the image by 300-400% to make it easier to render. Reduce the opacity of your sketch.
Create a new layer (Layer > New > Layer) and draw an outline of your character with the Pencil Tool.
If your character is symmetrical, like mine is, just create one half, duplicate it, and flip it horizontally (Edit > Transform > Flip Horizontal).
Rule of the Rhythm: Try to split complex shapes into simple elements. When pixels in the line form a “rhythm” like 1-2-3 and 1-1-2-2-3-3 the outline looks much better to the human eye than a randomly drawn line. However this rule can be broken if the shape requires it.
When the outline is ready, choose main colors and paint large shapes. Do it on a separate layer beneath the one with the outline.
Smooth the inner side of the outline by adding shades of the color.
Keep adding more shades. As you can see, I corrected some shapes and details along the way.
Create a new layer to add the highlight.
Choose Overlay from the drop down menu on the Layer panel. Paint with a light color over the areas you want to highlight. Smooth the shape of highlighted area by choosingFilter > Blur > Blur.
I flipped the painted half horizontally, added final color touches here and there, and merged the layers.
The character now lacks contrast. Use Levels (Image > Adjustments > Levels) first and then change the tone or halftone with Color Balance (Image > Adjustments > Color Balance) to make warmer and cooler versions.
I decided to go with the third version. Now let’s move on to the animation process.
3. Animate Your Sprite
Create a copy of the layer (Layer > New > Layer Via Copy) and move it 1 pixel up and 2 pixels right selecting Move Tool (V) and using your arrow keys. This is the key phase for animating the running character.
Change the original layer’s Opacity to 50% to see previous frame of animation. This is called “Onion Skinning.”
Now bend the character’s legs and arms as if it is running.
- Select the left arm using Lasso Tool
- Using Free Transform Tool (Edit > Free Transform) and holding Controlmove the container markers to lead the arm behind the back
- Select the shank of the right leg and move it down as on the first frame – we need that leg stretched.
- Select the left leg and move it up – this leg bends up
- Using Pencil and Eraser Tools, redraw all the elbow parts of the right arm.
Now you will need to redraw the new position of the legs and arms as I explained inSection 2 of this tutorial. This is because transforming the legs and arms will distort the pixels, and the shape will no longer be clean.
Make the copy of the second layer and flip it horizontally. And now you have one idle position and two running phases. Select each layer and restore its Opacity to 100%.
Go to Window > Timeline to show Timeline panel and press Create Frame Animation.
In the Timeline panel, perform the following steps:
- Choose Frame Delay time 0.15 sec
- Click on Duplicates Selected Frames button to add 3 more copies
- Change looping options to Forever
To choose the proper layer for each animation frame, click on the Eye icon near the layer name in the Layer panel.
- 1st frame: choose idle position
- 2nd frame: choose the second layer
- 3rd frame: choose idle position once again
- 4th frame: choose the third layer
Press Space button to play the animation.
Now save your result. Go to File > Save For Web and select GIF format. Scale image size to 300% for better presentation and press Save.
Congratulations! You’re done.
In this tutorial, I showed you how to draw and animate a pixel art character in Photoshop. In the process, you learned how to set up your canvas and tools, how to draw your character using the Pencil Tool, as well as how to animate your character using Photoshop’s Timeline feature. I hope that you learned something from this tutorial and can use these techniques to create some pixel art of your own.