Cocos2D Tutorial – Dynamically Coloring Sprites [Brandon Trebitowski, brandontreb.com] Have you ever seen a game (such as Tiny Tower) that contains similar sprites that only vary by certain attributes (coloring, shading, accessories, etc…)? I would often wonder how long it would take the artists to create each permutation of these sprites. After discovering that you can call a method on a CCSprite called setColor, I realized how most of this customization is done in code.
Muddying the Budget Waters With Social Security Many people misunderstand how the program operates. Payroll taxes stream into the trust fund that is used to pay current retirees’ benefits. When there is a surplus, that money is invested in a special type of Treasury bond that pays interest to the trust fund. At the end of last year, the trust fund had about $2.6 trillion. And though last year was the first year since 1983 that the fund paid out more than it received in tax revenue, it still continued to grow because of the interest accrued — and it is estimated to continue to grow through 2022.
Since the money in the trust fund is held in Treasury securities, taxes collected are essentially being lent to the federal government to pay for whatever it wants (and this allows the government to borrow less from the public).
The Cult of Centricism We have a crisis in which the right is making insane demands, while the president and Democrats in Congress are bending over backward to be accommodating — offering plans that are all spending cuts and no taxes, plans that are far to the right of public opinion.
So what do most news reports say? They portray it as a situation in which both sides are equally partisan, equally intransigent — because news reports always do that. And we have influential pundits calling out for a new centrist party, a new centrist president, to get us away from the evils of partisanship.
The reality, of course, is that we already have a centrist president — actually a moderate conservative president.
Auto-Incrementing Build Numbers in Xcode I use the wonderful Test Flight to distribute builds. One thing that Test Flight is a little picky about is build numbers. When you upload a build, it uses the build number to see if you're uploading a replacement or a new build. It will let you create a new build even if you don't remember to increment the build number, but it's an extra manual step, and then you end up with two builds with the same build number.
Nimbus: Main Page Nimbus is an iOS framework that grows only as fast as its documentation. Its roots stem from the Three20 framework and much of its code is forked from Three20, though with meticulous care and thought.
CocosBuilder – Graphical Interface Builder for Cocos2D CocosBuilder is a free graphical editor for building scene graphs in Cocos2D (iPhone & Mac). With CocosBuilder you can visually layout your objects and load them with a single line of code. Please note that this is still a very early version, the interface is very unpolished and it probably contains lots of bugs. Use at your own risk!
Huckabee pal Janet Porter believes Obama is a Soviet Spy Mike Huckabee is the scariest GOP candidate. He hides his evangelical extremism behind an aw-shucks facade so successfully that even normally astute people like Jon Stewart and Stephen Colbert are fooled by it. There is nothing friendly about Huckabee’s beliefs, nor in his advisors like Janet Porter. Scary, scary people who wouldn’t think twice about sending liberal, secular humanists like myself to re-education camps.
Microsoft brings out Azure toolkit for iOS An iOS version of the Windows Azure toolkit is now available for developers, according to the official Microsoft blog. The download simplifies coding for Microsoft's cloud-based OS platform. Included with the iOS toolkit are compiled code libraries, a sample app, documentation, and an Azure deployment package….
Slow and Steady Wins the Race: the Optimistic Numbers Post But what really happens is one app makes a certain number of sales per day, but two apps make more, and three apps make even more. The sales don't double each time you release an app, since sales of each older app decline over time. But the water level of
Why Your App Name is Dumb — The Brooks Review – Have you noticed how absolutely stupid some iOS app names are? I really mean this — just calling your app “InstaX” doesn’t mean it is as good or as cool as the original. 1 When I am browsing the App Store you have two chances to catch my attention: With your icon. With your app name.
On a personal note, I realize that Removr failed on both of those.
In a new app I’m working on, I created a series of lightweight cocos2d sprite subclasses which simply call the superclass init with some parameters. As soon as I called it I ended up crashing with a weird looking stack trace showing lots of nested calls to init methods.
OS X Lion Walkthrough: Versions and Auto Save – Two new features that have found their way in the first Lion developer preview but might seem too complicated or “hidden” as only Apple applications support them right now are Versions and Auto Save. With auto-saving capabilities for documents and a proper versioning system in place, Apple is aiming at simplifying the workflows of many users that have to deal with dozens of documents on a daily basis but often forget to save changes and are inevitably forced to start over. To put it simply, Lion will let you work on your documents without having to worry about saving anything. If you do want to save a specific version of a document, however, you can do so in order to access it later from a Time Machine-esque interface that will let you revert to a previous version of a document at any time. Let’s see how it works.
[devel] OpenGL ES 2.0 support « cocos2d for iPhone – The idea is to use this thread to discuss how to implement OpenGL ES 2.0 support without the need to write a shader for each CCNode.
The idea is that if the CCNode contains a shader, then it should use it, otherwise it should continue rendering itself using the GL ES 1.0 code.
Does the world *really* need yet another Twitter client, RSS reader, ToDo list or backup application? « Successful Software – My heart sinks every time I hear a would-be-entrepreneur announcing they have written yet another Twitter client, RSS reader, ToDo list or backup application. Haven’t we got enough of those already? There are more than 1,900 Twitter apps already (possibly a lot more). Somebody probably released another one while I was writing this post. We have passed the Twitter app event horizon, where it is probably quicker to write your own custom app than it is to try and work out if any of the existing apps fulfils your requirements.