Noob question.

Hi all, so I’ve work with unity before, but only with 3D and Blender. My graphiste friend and I where speaking about making a 2D game. 2 questions here.

  1. what kind of 2D grafic files is compatible? I mean what is the file extension name? exemple: .exe, .pdf, .png. ect.

  2. Is it possible to work with a 16x 16 tileset for the map while working with a 20x20 carater sprite?

thanks y’all and have a nice day.

I usually work with .png but most of the usuall graphic files work, like .jpg or .svg
.exe is not a graphic file its a windows executable, like an application that can be started
I have never tried a .pdf in unity myself, dunno what unity does with that, though in generall, unity can just take another applications interpreter to gather graphic data from data files (like blender to interpret .blend), so even some more obscure file types can be used in unity, if you have some way of interpreting them defined somewhere

yes,
for textures you declare their pixel per unit size in the inspector of the imported asset in unity
for instance if a tile is supposed to be 16x16 you could give it a pixel per unit size of 16 so it will be exactly 1 by 1 unit in size
and if your character is supposed to be as big as a tile but has a different resolution like 20p, you would give it a pixel per unit size of 20
thus both sprites will have the same default size in units in unity, while having different resolutions

though there are also additional ways to scale objects once they are in the unity scene, so the resolution and pixel per unit count do not necessarily determin the ingame size if you dont want it to
you can just scale things in any way you see fit

thanks mate! and yeah for the .exe I know it was just an exemple of extenssion, or what ever it is called in english. thanks.