I took the 2D platform example game and “ported” it to the iPhone. I changed the input to use accelerometer and touch input and fixed a couple of JS things the compiler complained about.
I think it runs really well, but see for yourself!
I should also point out that this not in any way optimized for the iPhone. I just copied the 2d platformer and hit build pretty much. I think it is running about double the recommended budget for polys.
I’m curious… have you tried running this through Xcode’s Instruments? I would like to know how the memory usage is on a game with textures and objects like that.
By the way… looks great!! I can tell the frame rate wasn’t at 100% but it still looks d@mn good and I’m sure iphone users will love the graphics.
The complete source is already available as it’s a tutorial, or do you mean the few changes in the lines to use iPhoneInput.accelerometer.x instead of Input.GetAxis(“Horizontal”) or whatever?
Package wouldn’t download initially - came out of safari and back in and all fine. Thanks very much. Now runs. But have this error - doesn’t seem to matter at present.