- Home /
Q about Building my game for so many devices
Hello
i have already finished my 2D game by using C# but there is a problem:
i want to build my game on ios and android but there are a lot of devices which means a lot of resolution
so how can i solve this problem? so i dont need to stretch or shrink my images?
Have you actually experienced problems in your builds? You can adjust the resolution for each platform individually.
Please attempt to solve the problem first.
i tried but i will need to stretch and shrink for every resolution i want.
but my images become soooo bad if i do that.
You don't stretch, just shrink and align according to different aspect ratios.
2 Questions please:
Q1: can i shrink ALL of the images ins$$anonymous$$d of one by one?
Q2: Should i always before making a game, i make my images for the largest resolution and then shrink them ?
Thank you.
Answer by Ralph1989 · Sep 10, 2014 at 01:55 PM
Have a look to the accepted answer here. Make sure your textures are targetting the highest resolution from the device you are targetting. Will be the ipad resolution. and then apply the matrix scale over it.
http://answers.unity3d.com/questions/169056/bulletproof-way-to-do-resolution-independant-gui-s.html
but my images for example the Background doesnt have OnGUI function
and thank you for your comment
i mean does that code work for any images? even background or i need OnGUI function which my Background and my other sprite dont have