Hello Guest

Author Topic: 2D Toolkit Preferences - Platform overriding in-game settings?  (Read 3044 times)

Allen

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
Hello,

Just starting out with 2D Toolkit and I'd like to make sure that my sprite collections are selecting the correct platform... But I'm having a hard time testing this, and I think this is because the "Platform" setting in the 2D Toolkit Preferences is overriding my in-game settings that I set using tk2dSystem.CurrentPlatform = "1x, "2x", or "4x".

Am I wrong about this? Is there any way to get the platform to behave like it will in a release build rather than using the Preferences setting?

Thanks,
Allen

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Preferences - Platform overriding in-game settings?
« Reply #1 on: March 23, 2014, 08:42:29 pm »
When you press play it shouldn't use the preferences platform. The best way to simulate runtime behaviour is to use separate loader scene thats sets the platform before starting up.