Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
GoneBananas: use CCScene.SetDefaultDesignResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebluestein committed Mar 25, 2015
1 parent c329dbe commit 23d34e6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ public override void ApplicationDidFinishLaunching (CCApplication application, C
CCSimpleAudioEngine.SharedEngine.PreloadEffect ("Sounds/tap");
CCSimpleAudioEngine.SharedEngine.PreloadBackgroundMusic ("Sounds/backgroundMusic");
CCSize winSize = mainWindow.WindowSizeInPixels;
mainWindow.SetDesignResolutionSize(winSize.Width, winSize.Height, CCSceneResolutionPolicy.ExactFit);
CCScene.SetDefaultDesignResolution(winSize.Width, winSize.Height, CCSceneResolutionPolicy.ExactFit);

CCScene scene = GameStartLayer.GameStartLayerScene(mainWindow);
mainWindow.RunWithScene (scene);
Expand Down

0 comments on commit 23d34e6

Please sign in to comment.