I have a problem with my simple project consist of 3 games object with very basic texture,
when I built my project to run at Mac as application; runs good with very good frame rate(60 fps) β¦ BUT when I build it with xCode to be one application on iPad; gives very low speed with frame rate(20 fps)β¦
An iPad is less powerful than a Mac, so you will get a lower frame rate.
but there is a lot of games that run well on iPad and Mac as application
yes but they were optimized for both.
Games that are targeted at mac wonβt run fine no matter what you do. you have to optimize them.
vice versa, games that are opted for ipad will always run fine on mac so if you arenβt willing to do optimization twice, focus it on the ipad and later port to mac, not the other way round
as for very basic texturing: that has no impact, you can still to epic errors like using blending and alpha everywhere which is killing the performance pretty much right away as you are severly fillrate limited on ipad / iphone4 / itouch4
My game easily runs at 60 FPS on an iPad, but runs a lot faster on a Mac (around 800 FPS on my 4-year-old iMac according to the stats). If it runs well on both, the Mac is probably not having to work too hard.