Getting started - adjusting pixel size and screen resolution.

Hi everyone, I wasn’t sure how to address this problem as it’s quite specific and finding a guide to actually resolve the problem anywhere else has been unsuccessful.

I’m building a very simple game as part of a university project - I’m following a Linkedin Learning guide and using that as the basis for my project. I want to make my own 2D sprites and tile map for the project and have two problems.

1.) With the TileMap, when I make square tiles the same size as the ones in the guide (20x20px) and export them, my tiles are about 100 times smaller! There’s no obvious fix to this from a complete noobs point of view!

2.) The sprites in the guide are 16x16 pixel art. When I set Adobe illustrator to this, make a sprite and export, the sprite is again, much much too small. Scaling it up results in blurred pixels.

Am i missing something obvious here?

Thank you.

You probably are missing setting your pixel’s per unit on the sprites. The default for this is 100, so a 20 pixel high graphic will be only about 25th the size of the area you’d expect (1/5 both height and width).

If you want pixel perfect, you normally want to decide on one particular pixel unit and go with that. Since you’re using 20x20 tiles, probably use a unit size of 20 for everything.