How do you handle Different screen sizes
Monkey Forums/Monkey Programming/How do you handle Different screen sizes
| ||
This is a serious issue with android and may be windows phones. There are different approaches to handle this problem. I just want to see if there is a better technique to follow instead of the one I am using now. What I used to do is calculating the coordinates of an image instead of hard code them. This works find as long as you target devices with close resolutions. but if the resolution differs significantly you will need to scale images [ or set virtual screen size thanks to diddy :) ] This is how I handle it. What about you guys? |
| ||
+1 for Diddy too, but, would love it the virtual res stuff stuff sorted aspect ratio and add black borders if the screen size is a bit wonky for my virtual res! Aye, Diddy's works for me, but, it may be a good idea to look at other stuff, such as:- http://www.monkeycoder.co.nz/Community/posts.php?topic=1500 As I'm pretty sure Gfk used that in Crime Solitaire (Though, dont quote me on that) Dabz |
| ||
>>>I'm pretty sure Gfk used that in Crime Solitaire Yep! |
| ||
Okay okay... its done ;) http://code.google.com/p/diddy/source/detail?r=316 |
| ||
Cor... You a star Steve! :) Dabz |
| ||
@therevills Thanks a million, You are a monkey legend :P |
| ||
This is great. Will give it a test very soon. Many thanks. |