Tag: iPhone

  • Sprite Playground

    I wrote a little Cocos2d-iPhone test app and committed the project to GitHub. (Like every dutiful hacker should.) You’re welcome to download the project and fool around with the code. My goal was to figure out how to create a composite sprite, make sure it could respond to touches, and rotate and move it round…

  • Cocos2d-iPhone Sprite Rotation to an Arbitrary Point

    I had some time during the Thanksgiving weekend to work on Dungeonators. I’m hoping to get an upgrade out to the App Store soon. One thing I needed //TODO: is refactor my rather poor implementation of rotating a sprite to face another sprite. My original code worked ok, in a roundabout way, but was ugly…

  • Invalid Code Signing Entitlements

    Finally after 11 months I submitted my iPhone game, Dungeonators, to iTunes Connect for inclusion in the Apple App Store. I’m planning on giving it away so the “warcraft meets angry birds” funs is accessible to everyone! I hope it passes Apple’s review process 🙂 It took several attempts for me to get to “waiting…

  • Cocos2d Tip#3: Making Your iPhone Game Fast

    My first iPhone game, that might actually make it to the App Store, is just about done. (Not done done but almost ready for testing and tweaking.) With the idea that other people beside me might actually play my game I’ve started to do a very dangerous and high risk activity: Optimization! The all the…

  • Cocos2d Tip #2: Using CCTimer in Your iPhone Game

    If you’re writing almost any type of game, from a puzzler to a FPS to an RTS, tracking time is critical element of the game play. (Except for Angry Birds. You can ponder an Angry Birds level until your iPhone battery runs dry without penalty.) Cocos2d-iPhone provides several means for tracking time in your game…

  • Objective-C Memory Management For Newbies

    Below you will find a list of memory management rules that will make your Coco2d game coding experience easier and your games less buggy. But before you dive in please read the caveats below: These rules are based on several sources written by engineers with much more experienced than me in Objective-C and Cocos2D development.…

  • Nope: I Haven’t Stopped Reading

    Steve Jobs is a man we all admire and respect. Even when he says something, well, dumb. Back in January of 2008 Steve told a NY Times reporter that “… American’s have stopped reading.” Steve cited this as the reason the Amazon Kindle would fail. In the past year and half the Kindle has been…