New Features, Massive Update coming for B.I.T.S Soon

My brother and I have recently done a bunch of work on B.I.T.S. He totally re-purposed all the art assets to look way crisper and in higher resolution. We’re also adding a new feature to the table. Lastly, I’ve done a lot of work to gain some huge performance improvements even with higher res graphics, better PVR texture compression. I’m seeing an almost constant 60 frames per second on my iPhone 3G (not 3GS) with OS 3.1.3. On a first gen device with OS 2.2.1 Im seeing around 40fps.

Most of the performance gains were achieved by eliminating redundant OpenGL ES state changes. An example of this is when binding textures. Instead of constantly switch textures (everything is stored in texture atlases) I store which texture is currently bound and don’t bind if I don’t need to. I also make sure that I put the textures in the atlases in the order in which they are drawn to further minimize texture switching.  This only works on OS 3.0+. On OS 2.2.1 I’m using a different strategy that was also a big win. I gained at least 8-12 fps by making the rendering thread based instead of being driven by an NSTimer.

Here is a screenshot comparison. The old version runs at half the speed (inconsistently) and doesn’t look nearly as good. Please note that this is all still in development.

Before:
Old B.I.T.S Pinball Graphics

After:
New B.I.T.S Pinball Graphics

Share and Enjoy:
  • Print
  • Digg
  • Twitter
  • Google Bookmarks
  • Facebook
  • del.icio.us
  • Ping.fm

Comments are closed.