public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); // configure our Flurry and SGAgent bits var flurryKey = "FLURRYKEY"; // these can be useful if you have this info // FA.Flurry.SetAppVersion("app_version"); // FA.Flurry.SetUserID("user_id"); Flurry flurry = new IOSFlurry(); try { Console.WriteLine("Initializing Flurry [vers=" + FA.Flurry.GetFlurryAgentVersion() + "]"); FA.Flurry.StartSession(flurryKey); } catch (Exception e) { Console.WriteLine("Failed to init Flurry [key=" + flurryKey + "]"); Console.WriteLine(e); } // initialize PlayN and start the game var pconfig = new IOSPlatform.Config(); // use pconfig to customize iOS platform, if needed IOSPlatform.register(app, pconfig); PlayN.run(new FlurryExample(flurry)); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.LANDSCAPES; IOSPlatform.register(app, config); PlayN.run(new TestsGame()); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.LANDSCAPES; IOSPlatform.register(app, config); PlayN.run(new TestsGame()); return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); var pconfig = new IOSPlatform.Config(); // use pconfig to customize iOS platform, if needed IOSPlatform.register(app, pconfig); PlayN.run(new MyGame()); return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.PORTRAITS; IOSPlatform.register(app, config); PlayN.run(new PerfTest()); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.PORTRAITS; IOSPlatform.register(app, config); PlayN.run(new PerfTest()); return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); var pconfig = new IOSPlatform.Config(); // use pconfig to customize iOS platform, if needed IOSPlatform.register(app, pconfig); PlayN.run(new Mygame()); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.LANDSCAPES; IOSPlatform platform = IOSPlatform.register(app, config); IOSTPPlatform.register(platform); PlayN.run(new TripleDemo()); return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); IOSPlatform.Config config = new IOSPlatform.Config(); config.orients = IOSPlatform.SupportedOrients.LANDSCAPES; IOSPlatform platform = IOSPlatform.register(app, config); IOSTPPlatform.register(platform); PlayN.run(new TripleDemo()); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { var pconfig = new IOSPlatform.Config(); pconfig.iPadLikePhone = true; var platform = IOSPlatform.register(app, pconfig); // prior to iOS 7 we need to say that we want to extend under the status bar if (!UIDevice.CurrentDevice.CheckSystemVersion(7,0)) { platform.rootViewController().WantsFullScreenLayout = true; } var iPad = (MonoTouch.UIKit.UIScreen.MainScreen.Bounds.Width >= 768); PlayN.run(new Pokeros(iPad ? 0.3f : 0.5f)); return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { var pconfig = new IOSPlatform.Config(); pconfig.iPadLikePhone = true; var platform = IOSPlatform.register(app, pconfig); // prior to iOS 7 we need to say that we want to extend under the status bar if (!UIDevice.CurrentDevice.CheckSystemVersion(7, 0)) { platform.rootViewController().WantsFullScreenLayout = true; } var iPad = (MonoTouch.UIKit.UIScreen.MainScreen.Bounds.Width >= 768); PlayN.run(new Pokeros(iPad ? 0.3f : 0.5f)); return(true); }
public override bool FinishedLaunching (UIApplication app, NSDictionary options) { app.SetStatusBarHidden(true, true); // configure our Flurry and SGAgent bits var flurryKey = "FLURRYKEY"; // these can be useful if you have this info // FA.Flurry.SetAppVersion("app_version"); // FA.Flurry.SetUserID("user_id"); Flurry flurry = new IOSFlurry(); try { Console.WriteLine("Initializing Flurry [vers=" + FA.Flurry.GetFlurryAgentVersion() + "]"); FA.Flurry.StartSession(flurryKey); } catch (Exception e) { Console.WriteLine("Failed to init Flurry [key=" + flurryKey + "]"); Console.WriteLine(e); } // initialize PlayN and start the game var pconfig = new IOSPlatform.Config(); // use pconfig to customize iOS platform, if needed IOSPlatform.register(app, pconfig); PlayN.run(new FlurryExample(flurry)); return true; }