Hello Guest

Author Topic: Can I use one sprite collection for Android and iOS, but different scale?  (Read 4196 times)

unity_stark

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 7
    • View Profile
Hello,
Can I use only one sprite collection for both devices, and each one has its own images scale?
For example, on iPhone 4S, the images is too small; however on Samsung S3, the images just fine.
So I need to increase the scale on iPhone and I don't want to create another sprite collection to handle this.

any suggestions?


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can I use one sprite collection for Android and iOS, but different scale?
« Reply #1 on: September 04, 2013, 09:51:20 am »
Nope, but you can use the tk2dCamera to change the camera settings - i.e. the sprites can be larger or smaller on any platform. Alternatively, if you only want to do this on one sprite and not all of them, you can create a second copy of the same sprite in the same sprite collection - set up the scale value in the sprite collection editor appropriately. The sprite will only be put in the atlas once, so theres no problem in doing this.