# Pixel Art Background

Hi,

I’m making a game a 2d game and want to make a background what would the dimensions be for that? Like what are the sizes for Full screen in pixel art

i use 320 * 180

The most used display according to Steam Hardware & Software Survey is 1920x1080 with 50% of the market, second is 2560x1440 with 20%.

I would recommend to use something that scales to these resolutions. Also since this is a background you might want to make it one ‘tile’ larger. This is to account for screen shake or small translations (optional).

You should base this off the size of the main player character.

For example:

My character is 16x16, and I wanted 14 movement blocks
1920/16 = 120, but 120 doesn’t divide evenly into 14, (120 / 14 = 8.57). The closest is 15, which is 120 / 15 = 8. Meaning my scaling factor is 8.

1920 / 8 = 240px
1080 / 8 = 135px

My background viewport should be 240 x 135.

Another Example:

My character is 16x32 (width x tall), and I want 10 horizontal movement blocks. 1920 / 16 = 120. This time 10 does divide 120 evenly into 12, so my scaling factor is 12.

1920 / 12 = 160
1080 / 12 = 90

My background viewport should be 160 x 90.

This is just a quick calculation that may be helpful to use. It is by no means definitive, and there is no exact ‘right’ way. But it is a good start that could be helpful. At the very least make it scaleable to the most used screens.

4 Likes