Hey friends! I have been working a lot on a shmup for the past few weeks. I have tested it on several systems (even a 500mhz celeron) and have had great results so I figured it would be smooth sailing on the iPhone. Sadly I was very wrong =( It ran anywhere from 2-5 fps when several shots were on the screen and several things behaved totally different on the ip then any other test system.
After looking closely I have found a few problems, a few of them were coding errors like a misspelled animation name and a few of them were just bizarre and something would not happen when it was supposed to happen. Anyhoo! I worked through most of it and cleaned up some stuff. But I was just wondering is there some general "do nots" for iPhone's as far as coding goes? It seems to behave a bit different then the windows compiles.
After tweaking many things, omitting sounds and cutting down drastically on animation frames I was able to get it to run much smoother. I was wondering if there were any good guidelines to follow to make the ip more optimized. I followed some posted by krenessus (sorry for sp) which said to avoid infinite actors, to write as little code as possible and to avoid having too many regions and transparent actors. Is there anything else I should know? Would using a lower bitrate picture improve performance? Would using one type of picture over the other improve performance? I'd appreciate any help!