playMaker

Author Topic: Itween vs Move Towards - Low FPS  (Read 2715 times)

lioncirth

  • Junior Playmaker
  • **
  • Posts: 74
    • View Profile
Itween vs Move Towards - Low FPS
« on: July 05, 2013, 01:55:09 PM »
Hi

I have a question, I just did a test build and my iOS game is hitting a terrible 3-5 FPS!!

I have tried a number of things IE texture sizes, the game only has about 22 draw calls and is using batching.

I read somewhere that Itween is not good for iOS, could this be the reason I have low FPS?

I am using a lot of Itween Move Add actions - would it be better to replace this with the Move Towards Actions?

Thanks

lioncirth

  • Junior Playmaker
  • **
  • Posts: 74
    • View Profile
Re: Itween vs Move Towards - Low FPS
« Reply #1 on: July 07, 2013, 06:20:12 AM »
Hi

After some test, I replaced half of my itween actions with move towards and my FPS increased by 10.

I expect it will increase even more when I replace all actions :)

I am also using a decent amount of mesh colliders so I think ill be replacing these with 3-4 box colliders per mesh collider and that may help improve FPS as well

FritsLyn

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: Itween vs Move Towards - Low FPS
« Reply #2 on: July 07, 2013, 07:17:03 AM »
iTween has peaks of CPU cost - and it appears that several of them in a game sort of makes everything slow down.

http://dentedpixel.com/developer-diary/leantween-speed-comparison-to-itween/