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 […]

Why Engineers Never Win

Our world is full of bad decisions based on convoluted logic in service of irrational preferences. A great example is people who drive into NYC every morning to get to work. Why people sit in bumper-to-bumper traffic for hours polluting the air, wasting fossil fuel, and developing hypertension inducing road rage is beyond me. Another […]

Fraction: Does not recognize selector forward::

If you’re crazy like me you love reading really good primers on programming. Not just to learn about a particular language but to enjoy well written technical prose. (Yeah, I said I was crazy). Yesterday, I started reading Stephen Kochan’s classic Programming in Objective-C (original edition), which was published in 2003. What I like about […]

My Life in Playlists: Delran High School 1976 to 1979

Too much has been written about High School, that American institution of adolescence, yearning, and despair. And so I’ll let the music tell most of the story. But to set the stage: I started 9th grade in the fall that followed the Bicentennial celebration of my nation’s birth; I ran with a prototype of the […]

Hey It’s Easier Than You Think (Xcode 4 and Subversion)

I love how the new Xcode 4 shows you code changes side-by-side with it’s version editor view. But I had a little problem. I’m a subversion fan. Yes, I know, totally not cool. I keep this flaw a secret and I don’t force my preference on my co-workers nor do I tweet about it. I’m […]