public Game1() { graphics = new GraphicsDeviceManager(this); //#if MACOS // Content.RootDirectory = "AngryNinjas/Content"; //#else Content.RootDirectory = "Content"; //#endif // //#if XBOX || OUYA // graphics.IsFullScreen = true; //#else graphics.IsFullScreen = false; //#endif // Frame rate is 30 fps by default for Windows Phone. TargetElapsedTime = TimeSpan.FromTicks(333333 / 2); // Extend battery life under lock. //InactiveSleepTime = TimeSpan.FromSeconds(1); CCApplication application = new AppDelegate(this, graphics); Components.Add(application); //#if XBOX || OUYA // CCDirector.SharedDirector.GamePadEnabled = true; // application.GamePadButtonUpdate += new CCGamePadButtonDelegate(application_GamePadButtonUpdate); //#endif }
public Game1() { // Frame rate is 30 fps by default for Windows Phone. TargetElapsedTime = TimeSpan.FromTicks(333333 / 2); // Extend battery life under lock. //InactiveSleepTime = TimeSpan.FromSeconds(1); CCApplication application = new AppDelegate(this); Components.Add(application); }
public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.IsFullScreen = false; // Frame rate is 30 fps by default for Windows Phone. TargetElapsedTime = TimeSpan.FromTicks(333333 / 2); // Extend battery life under lock. //InactiveSleepTime = TimeSpan.FromSeconds(1); CCApplication application = new AppDelegate(this, graphics); Components.Add(application); }