I am making a memory card game.
I’ve defined in the player settings the size to be 480 x 320 web player (after it is finished I want to build it to Android).
I have prepared the card back to be 70 x 70 pixels, but when I place it on a cube it seems smaller than it should.
I guess it is related to the camera position but I am not sure.
How should I make my resources size? What kind of considerations I should pay attention to?
I am used to work in VB or Java and when making the GUI everything is 1 on 1.
Thank you,
Daniel
Use tiling in the material on the object to scale it slightly. Also if you click the texture then in the inspector you can set the max size of the texture. I tend to use larger textures than I need and they scale down just fine, but will take slightly more memory. In simple games this isnt really an issue.
If you have set an object to a certain size it is this size in the camera’s immediate view. If you move it deeper in the view it will, of course, scale down (unless its an orthographic camera). You must consider that, if you wish to do this, your texture might not look right. An example is drawing a letter in pixels as small as you can and yet trying to make it look right. If you make it smaller it’ll deform in some way as it was already designed to be as small as it could be.
This is why I use larger textures and let the graphics engine scale them down for me.