Ramblings from the team at zinc Roe
Archive for the ‘Code’ Category
Posted by Luke on June 3rd, 2009
While coding the sound for Arctic Shuffle 2, I ran into a non-obvious memory (to me, anyway) memory leak related to the AVAudioPlayer that took forever to track down.
Here was my original code, which leaks if an error occurs…
# — Posted in Code · iPhone
Posted by Luke on May 14th, 2009
For the next version of Arctic Shuffle, we’re using Open GL to speed things up. One problem we’re run into along the way is strange artifacts in textures smaller than 64 pixels by 64 pixels. After a lot of head…
# — Posted in Blog · Code · iPhone
Posted by Luke on May 14th, 2009
There were some good questions during my presentation last night and via email this morning about units in Box2D.
@jasonkrogh asked what kind of units Box2D uses. Here’s the relevant bit about units from the Box2D manual:
Box2D works with floating point…
# — Posted in Blog · Code · Games · iPhone
Posted by Luke on May 7th, 2009
Now that we’re knee deep in iPhone game development, we’re working with a number of different outside developers. Since everyone involved is pretty new to Objective-C, XCode and iPhone development, project organization and coding conventions in our projects have been…
# — Posted in Blog · Code · Tutorials · iPhone
Posted by Luke on May 7th, 2009
Using Box2D is a great way to add physics to a 2D iPhone game. Since Box2D is written in C++ rather than Objective-C, adding it to your XCode project and getting it to build cleanly can be a bit tricky.…
# — Posted in Blog · Code · Tutorials · iPhone
Posted by Jason on February 9th, 2009
We’re very excited about our early experiments with iPhone development. Today we are submitting our very first app to the App Store. Timecoder is a super-simple time code calculator, an idea that came to us from our super-talented video editor Kyle…
# — Posted in Code · Projects · iPhone
Posted by Luke on January 26th, 2009
Beautiful Code asks well-known (and not so well-known) programmers to discuss the most beautiful piece of code they know.
From the preface:
For some, it lives in the small details of elegantly crafted software. Others find beauty in the big picture…
# — Posted in Blog · Code
Posted by Luke on November 3rd, 2008
Optimizing vector artwork in Flash is usually the last thing on an illustrator or animator’s mind when they’re drawing in Flash. Unfortunately, when all the artwork is done and it’s time to get it ready for the web, it can…
# — Posted in Code · Flash
Posted by Luke on October 20th, 2008
One problem I always run into when developing a game in Flash is how to tell when a timeline animation is finished.
The quick and dirty solution is to put some callback functions on a frame (or two or three)…
# — Posted in Code · Flash
Posted by Jason on October 2nd, 2008
Drupal has been our choice of CMS since James Walker worked with us to build terminus1525.ca. Ashok Modi is our very own Drupal guru and recently undertook a major project in porting the Zimmer Twins site from Drupal 4.6 to Drupal 6.0. Ashok…
# — Posted in Code · Events