Playing Around With Flash on iOS

About two weeks ago I mentioned I was looking into using the open source library, gameswf to integrate into our little 2D engine for iOS. I was at the point where I needed a UI solution for Outwitters, and I had a few options: Keep doing what I was doing with Tilt to Live and create the UI by handing coding everything and procedurally animating it Create a UI editor to help automate some of the UI features I had created in Tilt to Live Look into gameswf and see if I could go for the whole she-bang and just use Flash for the UI....

May 20, 2011 · Alex

Automating Asset Generation in Photoshop

Wow, time flies when you’re busy. As seen on the OML site, we’ve announced we’re working on our next game. With that out of the bag, I’ll probably be blogging about the progress of it, obstacles I run into, and things that are helping us along with the development that might prove useful to other iOS devs. With that, the first major issue we’ve come across is trying to develop 2D assets for a game that is planned to run in 3 different resolutions....

April 8, 2011 · Alex

iPhone Dev Tip #4: Check your Locale

I had an issue where several international users were reporting that the game was crashing. As it turns out, using an NSNumberFormatter would return a weird character to display as the grouping separator. This would be all good and dandy, but the problem lies in the fact that I’m using bitmap fonts to render, and the look-up failed causing a hard crash. In Tilt to Live’s case, this was in regards to how number grouping symbols are displayed in different locales....

August 23, 2010 · Alex

Adventures in Retina Display Land

I spent this past weekend getting retina display graphics implemented in Tilt to Live for iPhone 4. The cynic in me hates the marketing term ‘retina graphics’ because on the production side, it’s simply just a bigger image. But I guess you do need a name for it, and since ‘HD’ has already been bastardized on the iPad I guess this will do. I decided to write this post to bring a bit of awareness to some of the process of updating your OpenGL game for the retina displays if you choose to do so....

August 16, 2010 · Alex

iPhone Dev Tip #2: OpenAL Performance

So I’m using OpenAL to do the audio in Tilt to Live. Over the course of development audio became the bottleneck of my game, both in size and in performance. The following could help you if you’re experience audio performance issues and are somewhat new to OpenAL. Let me preface this with: Don’t blindly optimize. Measure, Measure, MEASURE! Know what your bottleneck is before trying to tune code! Don’t make more than 32 sources objects in OpenAL....

February 16, 2010 · Alex

iPhone Dev Tip #1: Batch Audio Compression

We’re extremely close to submitting our first title “Tilt to Live“. We plan on submitting it this upcoming Friday. After a long and grueling (but awesome fun!) development cycle we’ve learned a ton. I figured an interesting way to distill our new found knowledge it would be in very short “dev tips” for developing an iPhone game. Today I start out with audio: Compressing Audio By the end of development our game weighed in at 16 MB....

February 15, 2010 · Alex

iSimulate or Bust

I finally got rid of the stupid… “ld: warning in .so, file is not of required architecture.” …warning when using iSimulate. If you’re not using iSimulate or a similar technology you’re losing valuable time even if you don’t use the accelerometer or GPS functions. Then again, I might not be the best spokesperson on time since I spent the weekend re-inventing the wheel. I have this need to make sure my projects compile w/o warnings....

October 14, 2009 · Alex

Eureka! Multi-threaded iPhone texture loading is a go!

It’s getting around that time when I’m spending more time working on the game as I realize how many little things need to be fixed, added, tweaked. I’ve recently given up most of my weekends now in an effort to get more hours in. I’m currently working 6 out of the 7 days a week on the game in some way. It’s mostly game programming, sometimes graphics, web development, emailing, phone calls, or getting business forms and other legal stuff squared away....

October 12, 2009 · Alex

GUI Design and Easing Functions

When it comes to gui coding I don’t typically find it the most glamorous things to do. Particularly when dealing with games. You are left with writing a lot of boiler plate GUI code that is tightly integrated with your rendering pipeline. And even when I do find gui libraries for games they tend to try to emulate the OS in look and feel. When you want something lightweight and very interactive/animated you typically have to write it and integrate it yourself....

September 13, 2009 · Alex

Interpolating 2D Rotations

I’ve had this issue in past 2D games all the time. The ability to interpolate 2D rotations for basic animations for anyone that doesn’t understand quaternions becomes a rather laborious task. I’ve done messy if-then statements to try to catch all the cases where rotation hits the ‘360 to 0’ boundary and it’s always ugly and seemed like there had to be a more mathematically correct way to interpolate a circular value....

July 26, 2009 · Alex