Author Topic: Switching Reference Atlas problem  (Read 3360 times)

ppeanuts

  • Guest
Switching Reference Atlas problem
« on: May 23, 2012, 09:47:03 PM »
Hello,
I applied reference atlas for my game and it doesn't work well right now.
Here's the problem. I've made reference atlas as you did in the video tutorial
and made a scene. However when I tried to switch reference from HD to SD
(or vice versa), it reset all the sprites to the first sprite of the atlas.

For example, UISpriteA has sprite_01 and UISpriteB has sprite_02 of reference
atlas and the reference atlas points HD atlas. But when I switch from HD atlas
to SD atlas of the reference atlas, UISpriteA and UISpriteB points sprite_01, that
means all the UISprites display same sprites.

Is there any solution for this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Switching Reference Atlas problem
« Reply #1 on: May 23, 2012, 10:06:07 PM »
You need to make sure that the sprites names in both atlases match exactly. If one atlas has a sprite called "Hello World", another atlas must also have a sprite called "Hello World". Case-sensitive.

ppeanuts

  • Guest
Re: Switching Reference Atlas problem
« Reply #2 on: May 23, 2012, 10:19:36 PM »
Thanks for your help. It works perfect!!