Tag: tips

GIMP for Pixel Art: Shortcuts, Setup and Tips

 

Almost every time I see someone talking about GIMP is that it has an awful interface or that it is difficult to use, or they just say that GIMP is a bad piece of software. I was one of these complainers. But since I’m doing some pixel art to my game, I decided to give another try to GIMP (and I’m loving it).

I could use Inkscape, but it’s a vector tool. The day before I complained about GIMP on Twitter, Québarium wrote a post about using Inkscape as a effective tool to game graphics (well, that applies to any piece of software, you just need a lot of practice and patience). So I thought, why not giving a SERIOUS try to GIMP this time? The fact is: I have never tried GIMP for more than 5 minutes before giving up, and I think most of the persons that complain about GIMP don’t give it a chance either.

Give it some time, and the fact is: it is fast to get used to its interface, just customize some shortcuts, get used to this and that and you will start loving (or at least being friend of) it.

Getting Inspired

First, let’s watch some casts of Game Producer doing pixel art with GIMP:

More from him: Robot Pixel Art (1/2) and part 2. Now, let’s see how to do this!

Download GIMP

Enabling the Command key for GIMP under OS X

This tip applies to users of both Inkscape and GIMP under Mac OS X (if you are a Windows user you can skip this section). They aren’t native applications and depend on X11, so the Command and Option key don’t work. Since we are used to CMD+C and CMD+V to copy/paste, using CTRL+C, etc can be annoying or take some time to get re-used. But there is a solution for this.

Close GIMP and open you preferred text editor and paste this:

clear Mod2
clear control
keycode 63 = Control_L
keycode 66 = Alt_L
keycode 67 = Control_L
add control = Control_L

Save it in your home directory (~/ or /Users/yourname/) and name it .xmodmap (if the editor asks about it starting with a dot “.”, keep it). Now open X11 (Applications, Utilities, X11), open its Preferences and uncheck all checkboxes:

Now let’s finally start into GIMP.

Setting up GIMP shortcuts similar to Photoshop shortcuts

You can skip this step if you are satisfied with GIMP shortcuts. But it’s possible to setup it to have almost the same keys as Photoshop, which I am totally used and I feel it’s easier to work it, even more when working with Pixel Art when we use Pencil and Eraser almost 90% of the time.

Go to Edit – Keyboard Shortcuts. On the Configure Keyboard Shortcuts dialog you can easily find a tool or action within the Search box:
GIMP - Configure Keyboard Shortcuts

Using the search, find and change the following tools / actions:

GIMP Custom Shortcuts

GIMP has already some familiar default and useful shortcuts for pixel work:

GIMP - Default Useful Shortcuts

* I’ll explain these later.

Change some Preferences

The following Preferences changes could add some productivity to your work. Again, change as you wish. Go to Edit – Preferences and:

Under Environment, change the minimal number of undos to 50 and up the maximum undo memory, depending on your computer capacity:
Gimp - Preferences-Undo

Under Default Grid, change the “Foreground Color” to a bright gray:
GIMP - Grid Color

Under Toolbox, check “Set layer or path as active“: when you click on a layer with the Move Tool, it will select that layer, and you will be able to move/edit it without the need to go to the layers dialog:
GIMP - Move Tool Preference

Tips to work with Pixel Art on GIMP

NOTE: None of the “tips” explained is new nor GIMP exclusive, remember that the purpose of the article is to show how to do these stuffs with GIMP and how they can help while working with pixel art.

1) Real size preview

Editing Preview

Since to work with pixel art you have to deep zoom in (normally 1000%+), you can’t really see how your final image is, then we need a real time preview for our image. In your image window go to View – New View. In the new window, set the zoom to 100% and go to View and uncheck Show Selection and Show Grid. Resize and position the preview window below your work window.

2) Easy access to palettes

One of the most important things when working with pixel art is the color palette. GIMP has a cool palette control. To always have the palette window at hand, go to the Toolbox window and click the “Configure this Tab” button Configure this tab buttonAdd Tab – Palettes.

Palettes - Tab position

The palettes tab probably will be added as a tab with the “Tool options tab”, click and drag it to the line above, so it will stay in its own line:

Drag palettes tab

Now double click any palette. A new window will be opened with the selected palette. Drag this window so it turns in a tab at the right side of the palettes tab:

Drag Palette to create a tab

3) Importing and generating palettes from images

You can create a palette adding color by color: Palette – New and add color by color or you can import a palette: right click in the palettes tab and “Import Palette“. In this dialog you can generate a palette from a gradient, from an Image (note: the image has to be already opened in GIMP) or a palette file.

4) Setup your pencil and eraser

Pencil Brush

Pencil and eraser are pixel artist’s main tools, so we need to setup them. Select the Pencil (B) and in the tool options select Brush – Circle (01). Select the Eraser (E), the same brush as the pencil, mark hard edge and uncheck Anti erase.

5) Color variation for shading

While you could have setup all your image’s colors in the palette you can also decide the colors while working on the image. Let’s say you are drawing a tree and while shading it you can’t decide which tons of green to choose: then lower the opacity of the pencil tool!

Same green, 3 different opacities:

Pencil Opacity

The other way of doing real time shading is using the Colorify tool. With the layer you want to shade selected, go to Colors – Colorify, click on “Custom Color” color and pick a color. Shading done! Anyway I prefer via pencil opacity.

6) Quickly drawing with the selection tools

Use the rectangle (M) or ellipse selection (Shift+M) tools to quickly draw large areas and then fill them with the Bucket (G).

To add selections to existing selections: let’s assume you selected a rectangle and you want to add another one on the other side of the image but without losing the first selection. Just hold Shift and draw the new selection:
Selection: ADD

Let’s say you want to remove a small part of a selection: hold Command and drag the selection over the part to remove:
Selection: Remove

7) Where is the line tool!? How to draw lines? How to draw rectangles?

To draw lines, select the Pencil (B), draw a pixel, then hold the Shift key to the direction you want the line:

GIMP - Drawing lines

To draw rectangles, ellipses or even irregular forms (tip 6), use the desired selection tool and while the selection is active, go to Edit – Stroke Selection, select Stroke Line, line width 1.0, open Line Style and uncheck Antialiasing:

Draw rectangles with the selection tool

8) I selected a tool but it is not working!

Since GIMP is not native, it doesn’t work like Photoshop when selecting something on one of its windows: all under the same focus. When you click the Toolbox tool, or Palettes tab, etc, all other windows lose focus, so you have to click your image window once and then one more time to regain its focus to make the new tool selection work. Notice that this isn’t necessary when using shortcuts.

References:

This post is part of iDevBlogADay, a group of indie iOS development blogs featuring two posts per day. You can keep up with iDevBlogADay through the web siteRSS feedTwitter or delicious.

How to get out of your art comfort zone and do game art by yourself

 

In my #iDevBlogADay posts I will write on how I’m getting out of my “art comfort zone”. Inside the zone and while working with web development I always used to outsource web design or buy templates (Theme Forest has some good quality templates). But I was never completely satisfied with the final result or quality, while not having the knowledge and expertise to do something visually better.

Now that I’m a full time game and app indie developer, I almost stayed in the zone, but I decided that it’s time to challenge myself, to learn, practice and turn myself into a better artist.

There are three routes for game art needs: doing everything by ourselves, having an artist partner or outsourcing an artist (and there are lots of places to look for one). For now, I’m choosing the first route, because I like doing everything by myself until I get tired.

First point: to do a good game art we need to know how to draw with pencil and paper. That means we also need to know traditional drawing. And I never studied nor practiced that.

So how to draw (or how to be a game artist)? The answer is that one you are tired of hearing: practice, practice, practice, study, practice and a bit more study (and not about talent)!

I started studying art 2 months ago. Before that I couldn’t draw at all. Every time I tried to draw something, I just gave up after the first strokes, because everything I put on the paper was terrible: no perspective, chicken scratch lines and so on. I am still not a professional artist, but I’ve been improving a lot since I decided to start studying art (and I still need a lot of practice and study, but hey, I’m already better than the old days).

It is possible to learn how to draw and how to be an artist. Art is not about talent as everyone says (at least on most cases), it’s about patience – as everything in life (from the book Drawing on the right side of the brain):

Drawing on the right side of the Brain

I’ll tell you what I’m doing, it’s simple, just requires a lot of effort in a short time span:

Traditional Drawing

Cat just with a PencilI really couldn’t complain about my terrible art side, because I never studied art nor “how to draw”. I always tried to draw without any kind of study nor reference. After watching this video cast from Broken Platypus Games – an #iDevBlogADay entry – Drawing a creature for Dungeon Delver, I really got interested in leveling up my art skills. By the way, the cast shows a drawing using Flash free drawing mechanism, which is very simple, even for shading and coloring – well, watch the cast!

First, I looked for traditional drawing lessons, courses and books. I found a complete and amazing site: Drawing-Tutorials-Online – it charges only $1 for a 10-day trial with access to all contents and they even ship you for free a complete and extensive DVD called Portrait Drawing – A Layered Approach (I received it already). And if you don’t like the lessons you can cancel anytime and don’t have to continue on the subscriptions. The site is composed of video lessons (about 400 hours of video?) and PDF homeworks. * Lessons goes from anatomy, perspective, foreshortening to digital drawing and painting, all these subjects are essential for any kind of drawing you will do.

Also I’m doing lessons from the following free site, again with lots of lessons and resources (following the logic of “everyday one different lesson”): Draw Spacehttp://www.drawspace.com/.

Yeah, Traditional Drawing is the first step, even if you are just going to do pixel art. With traditional drawing we learn perspective, shading, foreshortening and improve our eyes skills.

Digital Drawing and Flash

Drawing in FlashFrom my excitement after watching Broken Platypus Games’s cast, I decided to grab a copy of Flash CS5 trial to try some drawings. Well, it was not easy as it looked on the cast and I almost gave up.

After googling for flash video tutorials, I was hooked to Cartoon Smart tutorials (aff *). You can watch lots of free videos there, but I recommend especially the “Flash Drawing Tutorial” which convinced me to buy two courses from them: Cartoonist Package and Ultimate Actionscript 3 (yeah, I’m into Flash dev too :). They even have an iPhone and iPad 18h video course (but I don’t know if it is as good as their Flash videos).

The result? Totally hooked. If I knew Flash was so intuitive to draw I surely would have tried before. I recommend that you grab the trial and give it a try. The way it deals with vector lines is very intuitive and flexible – draw a line and then you can morph, move, delete, expand any piece of this line – as opposed from drawing with the pencil tool on Ilustrator or Inkscape. .

Pixel Art

Boogerman!Now to the most lovely part: pixel art! Pixel Art is about pixel counting, color balance and references. Play old games (or even pixelated new ones) and pay great attention to their graphics. Then grab game sprites for reference on Game Sprite Archives, NES Snes Sprites and others and start “pixeling”.

You will need to learn about palettes, pixel lines, when to anti-alias and when not, and so on. I think the first tutorial you have to read should be this:  Game Sprites: Sprite Art 101: Brick Wall. It deals with pixel shading pretty straightforward.

Study and practice the resources below! And let’s try to make some cool-and-sexy-retro-looking-games!

Pixel art resources to get you glued

And if you don’t have time or still want to outsource your art needs

You can read How to bootstrap your indie art needs and How I got art for my game to see how to get or do game art without needing to learn everything I pointed. Also, if you want to outsource, you can find quality freelancer artists on DeviantArt, Concept Art, Pixelation, Pixel Joint. And for cheap ones: Elance.

Coming next

Next week I will write on how to do pixel art with GIMP (setup, shortcuts and tips) and how to stop hating it.

This post is part of iDevBlogADay, a group of indie iOS development blogs featuring two posts per day. You can keep up with iDevBlogADay through the web siteRSS feedTwitter or delicious.

* Note about Drawing-Tutorials-Online.com: I’m telling about it like this because it really is that good. I really improved my skills within just two months of lessons and I still haven’t done half of the lessons.

* Note 2: links which I mark with (aff) means affiliate. I see no problem linking with my affiliate account: the price for the buyer stills the same and if I’m recommending some good material and generating more sales, why not taking a bit of it? As a 100% indie, every penny helps pay the bills :).

Images credits: onlypencil – flickrCartoon Smart and Game Sprite Archives.