Hello Guest

Author Topic: Sprites Shrinking by Factor of 100 on Game Start?  (Read 3777 times)

aikitect

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 14
    • View Profile
Sprites Shrinking by Factor of 100 on Game Start?
« on: May 08, 2014, 06:59:05 am »
Hello,

I am working with 2DToolkit, and I have set my tk2dCamera to Pixels per Meter of 100, and set it to orthographic.  I have a sprite in my scene from one tk2dCollection, and when I start the game, the scale automatically shrinks from 1 to 0.01.  On the other hand, if I have a sprite from another tk2dCollection, it does not shrink the scale automatically.  What is going on?  I tried to look in the tk2dCollection settings but my Pixels per Meter for both collections are set to 100.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprites Shrinking by Factor of 100 on Game Start?
« Reply #1 on: May 08, 2014, 04:09:25 pm »
Where exactly does the scale change? Can you post some screenshots please? Don't think I completely understand the issue here.

aikitect

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Sprites Shrinking by Factor of 100 on Game Start?
« Reply #2 on: May 09, 2014, 05:11:20 pm »
I figured it out.  RetinaPro, a plugin I use for NGUI, was broadcasting MakePixelPerfect or something of the sort which messed up the scale.