Pixel Brush Cursor Feature

Hello! I am new to the forums, and have been using Krita for a few weeks and really enjoying it! My primary use for it right now is for working on pixel art sprites for a video game project I am working on which is why this feature suggestion has come to my mind.

What I want to talk about can be very easily explained by looking at how the brush and line tools work when using the u)_Pixel_Art brush. I have attempted to attach an image as an example.

With the pixel art brush selected, the cursor snaps to pixels on the canvas which is extremely useful because it clearly shows where the pixels will appear when you are drawing onto your image. However, because the cursor snaps to the pixels, there is no way to see the actual position of your mouse cursor, which means it is difficult to draw precisely with the brush tool.

This is only an issue if you are trying to be very precise while drawing long lines, or any kind of curve with the pixel art brush. What happens is, as you move the cursor, while you can intuitively tell which general direction the brush is moving in, because you cannot see how close you are to jumping to the next pixel, you will probably paint at least a few pixels in the wrong place.

For example, if you are trying to draw a straight horizontal line from left to right, you would move your mouse from left to right. But inevitably, your mouse will not move in a perfectly straight line, and the cursor will drift either up or down slightly. Eventually, the pixel art brush will jump up or down a pixel, but there will have been no way to predict or correct for this. (This example is a little silly if only because you could use the line tool to draw a straight line, but hopefully it illustrates the point about mouse drifting, which happens regardless of what kind of line you are trying to create).

I think a simple solution to this problem, which would potentially make precise pixel art using the pixel art brush much easier, can be found when looking at how the line tool handles the cursor when using the pixel art brush. The line tool still shows the square guide snapping to the pixels in your image, but it also overlays a crosshair which shows you the real position of your mouse. This way you can tell if your cursor is near the edge of the pixel, which edge it is near, and correct for this information accordingly, allowing the user to be more precise.

My feature suggestion is that maybe the pixel art brush (with the brush tool selected) could have a toggle option for showing an actual crosshair which moves directly with your mouse over top of the pixel guide which snaps to the grid. That way the user has the information of where the pixel will land, and also where the mouse actually is, for precise work flow that requires less corrections.

Thanks for taking the time to read this suggestion :slight_smile:
-Seb

1 Like

Hi @SebWoodland

One simple solution is to use create assistant tool: you can create a vertical and a horizontal parallel ruler (or may be a 45° if you need), and in tool options check “snap to assistant”
And then, when you start to draw in a direction, the cursor will follow the rule and if your mouse goes up or down, it doesn’t matter, it will continue to draw along the ruler.

You can create them outside the canvas, it’s not a problem :wink:

When the ruler is created, maintain shift key down, and drag a ruler point: it will constraint ruler to follow an angle (0, 15, 30, 45, 60, 75, 90 I think)

Once created, you can keep your rulers (they’re saved in file if you save your work as native .kra file format - recommended format until you’ve finished your work and then do export to png)

Notes:

  • Use parallel ruler and not ruler or infinite ruler: these two rulers will draw on the ruler, as the parallel ruler allows you to use the ruler at any point in canvas.
  • To activate/deactivate assistant tool (once rulers are created), just do Shift+Ctrl+L (you can modify the shortcut in preferences if needed), maybe easier and fatser than going on tools options each time you need it.

Hope this will help you :slight_smile:

Grum999

If you go to Settings -> Configure Krita -> General group -> Cursor tab, you can have a crosshair cursor.

Here are the settings:

Here is the result:

My screenshot utility has replaced the crosshair cursor with a generic system cursor, for some reason.

1 Like

@Grum999, thanks for the response. That sounds like an interesting feature, I’ll check it out :slight_smile:

@AhabGreybeard that is exactly what I was looking for, thank you for explaining how to access the crosshair! This will help me greatly in doing precise pixel artwork. I’m happy to discover that this feature existed already within the program. Thanks! :smiley:

1 Like