Hello Guest

Author Topic: Question regarding missing sprites in 4x platform  (Read 3302 times)

fxfx

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Question regarding missing sprites in 4x platform
« on: August 21, 2015, 08:28:19 am »
I'm wondering how 2D Toolkit handles missing sprites in additional platform such as 4x.

For example, I have 3 sprites (A, B, C) in a Sprite Collection. Then I add 2x and 4x platforms for those sprites. Everything works perfectly when I have all correct resolution images in 2x and 4x folders.

But what if there is no sprite C in 4x folder? There are only sprite A & B.
When my app use 4x and want to display the sprite C, what will happen?
Will 2D Toolkit display the 2x version of sprite C?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Question regarding missing sprites in 4x platform
« Reply #1 on: August 21, 2015, 08:47:29 am »
It doesn't handle it elegantly, youll end up with incorrectly sized sprites. Make sure you have all the correct resolution images.