2D Toolkit Forum

2D Toolkit => Support => Topic started by: RakeshChatra on November 07, 2013, 07:18:42 am

Title: Placement of sprites for different screen resolutions.
Post by: RakeshChatra on November 07, 2013, 07:18:42 am
Hi, for doing the Ui for a game what is the initial set up to be made so that it fits into all the resolutions such as 960*640 , 1024*768 and iphone 5 resolution that is 1136*640 ??

My UI images are at the corners of the UI screen which i am doing it for ipad screen i.e 1024*768 and if i run the same in iphone then i see the gap between the screen end and the UI images.. How to make UI so that it fits for all the resolutions ? i am sure many out there would have had problems regarding this.. Please help me to overcome this.
Title: Re: Placement of sprites for different screen resolutions.
Post by: unikronsoftware on November 07, 2013, 10:18:14 am
Use tk2dCamera + anchors. The t2k2dCamera sample (#11) covers that.

Also, please register your copy of 2D Toolkit as shown here:
http://2dtoolkit.com/forum/index.php?index.php/topic,34.0.html