- Home /
In a 2d game, how can i keep real size of sprites?
Hello!
This time, i wanna know the best way of keeping the size of my sprites on the screen, for example, if i have a 128*128 sprite, it will be shown as a 128*128 texture on a 2d plane.
Extra info:
Orthography camera
All sprites have a power of 2 resolution
I'm planning to use the same quad on all sprites, unless you tell me a better way of doing this
I couldn't find the information i needed on the internet
Thanks in advance!
PS: The original question was a "bit" different, but after thinking a little bit i found out that this was my real question.
Are you asking if all your sprites must be, for example 512*512? If so, then the size the sprite will appear on the screen, should dictate how large the resolution is.
What i wanna know is, what's the best way of having all the sprite on the screen in they real size, for example, if a texture is 128*128, it will be shown as a 128*128 texture on a 2d plane. (i will edit my question so it gets easier to understand)
This thread had a pretty detailed answer to what I think you're asking :P http://forum.unity3d.com/threads/82265-Pixel-Perfect-and-Clean-Textures
That's EXACTLY what i wanted, i would love to have this right at the beginning.
So, thank you!