Author Topic: NGUI runs slower on IPad4 then on a simple PC.  (Read 6201 times)

Sahkan

  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
NGUI runs slower on IPad4 then on a simple PC.
« on: December 09, 2014, 06:59:27 AM »
I've got 2 applications and one of them very small, each runs smooth on the pc ( on the editor too ). and when i make a build for the IPAD, it says 30fps  but you can see this is not smooth at all. now i know IPad4 is strong enough to run about 10-20 2DSprites moving around. so what is the problem ?

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: NGUI runs slower on IPad4 then on a simple PC.
« Reply #1 on: December 09, 2014, 07:38:31 AM »
iOS devices are stuck at 30FPS on normal behaviour.
Place this code on Start of the scene:
Application.targetFrameRate = 60;

This will unlock the framerate but remember that when there is drop in FPS, the user will notice it more. Moreover, setting FPS at 60 consume more battery.

Sahkan

  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
Re: NGUI runs slower on IPad4 then on a simple PC.
« Reply #2 on: December 09, 2014, 08:27:11 AM »
iOS devices are stuck at 30FPS on normal behaviour.
Place this code on Start of the scene:
Application.targetFrameRate = 60;

This will unlock the framerate but remember that when there is drop in FPS, the user will notice it more. Moreover, setting FPS at 60 consume more battery.

Thanks, I will check it out.