Blur effect for Cocos2D textures on retina displays

I have recently needed to blur a Cocos2d texture to simulate an “out-of-view-field” effect. As it usually happens, it had been already implemented under the name of AWTextureFilter by Manuel Martínez-Almeda, who made it available on github. Integrating it into my app was really easy, but it turned out that there was a problem with @2x […]

cocos2d and the new retina iPad – take 2

I described in a previous post about cocos2d and the new retina iPad a quick solution to the problem of supporting higher-resolution images. The main objective of that work was to make easier re-building your app for submission on the App Store before  you could possibly provide higher-resolution images for the new iPad. I mentioned anyway […]

Review: iPoe for the iPad/iPhone

As a follow up to this old post of mine about interactive books for the iPhone/iPad, I would like to mention a new entry in the field: iPoe. iPoe is a beautiful collection of 3 of Poe’s unforgettable masterpieces: The Oval Portrait, The Tell-tale Heart, and the Mask of the Red Death; all enriched with […]

Cocos2D and the new Retina iPad

The introduction of the new iPad, a.k.a Retina-iPad, or iPad 3, has made developing universal applications supporting all of iOS devices definitely more complex. This is mostly due to the requirement of providing artwork for 4 (four!) different resolutions: original iPhone: 320×480; retina display (iPhone 4, and iPod Touch 4g): 640×960; iPad 1/2: 768×1024; retina […]

More animation transitions for iOS

I think that one of the most common deceptions for iOS developers is to discover how small is the set of default transitions that the iOS SDK support out of the box. There are just four of them: flip from left or right, and curl up or down. Well, I also think that all iOS […]

Google’s Cookies and pundits everywhere…

Reading “Cookies and Privacy” by John Gruber, Daring Fireball, I was astound by the following line of reasoning that Gruber pointedly arguments against: The Journal article does later acknowledge, though not in a way that a reasonable reader would interpret as meaningful, that the mobile version of Safari has “default” (ie not user activated) settings […]

Swiping and pinching with UIWebView

One of the most versatile classes that the iOS SDK offers is UIWebView. Indeed, it can be used as a very flexible tool to display a vast range of content types: rich text, graphics in SVG format, PDF files, and so on. It is also, IMO, the cornerstone of any sane approach to supporting multiple […]

convert RGB image to grayscale

convert is a very powerful tool from the ImageMagick toolbox. Here is how you can use it to convert an image to grayscale: convert infile.png -channel RGBA -matte -colorspace gray outfile.png This is especially handy in case you want to create a bitmap mask for use with iOS SDK. Indeed, you can create your mask […]

iOS 5 Twitter Integration with soft fallback

After the introduction of Twitter support to iOS 5, it has become really difficult to find reasons not to add it to your app. Indeed, Apple made adding Twitter to your app really a snap. As you can find out from several sources on the web, all that is needed is: 1. Importing the relevant header […]

Android, Google, and Free software

One thing must be admitted about Google and Android: that the PR effort aimed at making Android appear as a system based on free/open software has been hugely successful. Indeed, I am ever more amused at the number of non-technical-savvy people that candidly tell me: “I prefer Android, because it is free.” I know that iOS […]

Copyright © Labs Ramblings

Built on Notes Blog by TDH
Powered by WordPress

That's it - back to the top of page!