2D Toolkit Forum

2D Toolkit => Support => Topic started by: Allen on March 23, 2014, 08:07:35 pm

Title: 2D Toolkit Preferences - Platform overriding in-game settings?
Post by: Allen on March 23, 2014, 08:07:35 pm
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
Title: Re: 2D Toolkit Preferences - Platform overriding in-game settings?
Post by: unikronsoftware 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.