Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Fanglon

Pages: [1]
1
Support / Supporting multiple resolutions
« on: May 27, 2012, 07:31:53 pm »
Hello, I've just started using this toolkit (and also unity) and already it looks quite nice and very useful! I've encountered a problem that I don't know how to solve and was hoping that you could help me. I am doing a puzzle game and I am planning to support multiple resolutions (android, iPhone, iPad, PC). I would like the game screen to be scaled as large as it can (keeping the same aspect ratio) and fill the rest of the screen with some filler. In the basic form the filler would be black bars, a more advanced version could be some simple background animation. My base resolution is 480x800. At the moment I am using the tk2d camera and in the sprite collection I have "Use tk2dCamera" checked. If in I use "Force Resolution" for the camera then the screen becomes stretched in different resolutions, if I uncheck it then the sprites keep their absolute and relative (anchors) position in the screen. What would be the best way to achieve the results I want, should I maybe use the original camera?

Thank you.

Pages: [1]