1 Cocos2d orientation problem in ios 6 I've just picked up development of a game that I started ages again, and hit a problem. The orientation was wrong in ios 6 for my landscape game. The fix is straight forward. Add: [window setRootViewController:viewController]; after [window addSubview: viewController.view]; in your app delegate file. 1 comment: Peyotle8 December 2012 at 10:25Great. Simplest solution that I saw.ReplyDeleteRepliesReplyAdd commentLoad more... Popular Posts Adding iAds to Cocos2d-x on iOS ****Updated for XCode 5 **** Looking at the forums it seems a lot of people are having trouble getting iADs working on Cocos2d-x on iOS. ... Full Screen Spectrum Emulator (Fuse) on Raspberry Pi Update version here: http://www.mwebb.me.uk/2016/01/full-screen-zx-spectrum-on-raspberry-pi.html --------- I'm making a spectrump... Hiding the Status Bar - XCode 5 and iOS 7 You'll find the status bar (with the battery, time etc) appear in your app in XCode 5/iOS 7 when you use Cocos2d or Cocos2d-x. To stop ... Adding Interstitial Admob Ads to Cocos2dx I've found a fairly easy way to add Interstitial Admob to Android applications. For me, iOS is easy, as I can code in Objective C, but... Extract Android NDK for Mac It's not obvious how to extract Android NDK for Mac, so I thought I'd share the solution. You have to do it from terminal. Change ... Opening Illustrator AI files on a Mac without Adobe Illustrator I guess this is obvious if you know it, but I've only just found out. Mac OS's Preview application can open Adobe Illustrator (.ai) ... You are using a highly vulnerable version of OpenSSL Google have sent out emails to developers about the latest security hole in open SSL. The text says something like this: One or more of yo... Raspberry Pi ZX Spectrum Microdrive case Here's my Raspberry Case. As you can see, it's housed in a Spectrum Microdrive case! Don't worry, it was a broken one. ... Making 'Back' button close the application in Android with Cocos2dx With the default Cocos2dx template the back button on your phone won't close the application. Without this your app will fail the test ... Wrong app shown when submitting with XCode I think this one is a bug in Xcode 5, as it didn't used to happen. When I tried to validate an app it matched it to a different app (i....
Great. Simplest solution that I saw.
ReplyDelete