playMaker

Author Topic: Bad Performance on my game using Playmaker  (Read 2378 times)

mmzbr

  • Playmaker Newbie
  • *
  • Posts: 40
Bad Performance on my game using Playmaker
« on: July 25, 2014, 02:17:31 PM »
Hey guys,

I´ve working in a mobile game for like 8 months and its time to optimization before release. My goal is 30fps but right now I have only 18-25fps.

Running the profiler with device attached (Nexus 7) seems the playmaker are using a lot of cpu resource.

Could you guys help me please?


blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Bad Performance on my game using Playmaker
« Reply #1 on: July 25, 2014, 03:37:19 PM »
it really depend the way you did your game

i'm making sometimes some choice and later i discover that i can do the same with simple actions

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: Bad Performance on my game using Playmaker
« Reply #2 on: July 25, 2014, 03:48:24 PM »
well it seems ur doing a lot of things in update, meaning every frame, if im not mistaken...

so try to restructure FSM's if you can... look at which FSM's drain most CPU, and which actions, and try to use other actions...

a lot of times, one thing can be done with multiple ways... like blackant said.

mmzbr

  • Playmaker Newbie
  • *
  • Posts: 40
Re: Bad Performance on my game using Playmaker
« Reply #3 on: July 25, 2014, 04:33:48 PM »
well it seems ur doing a lot of things in update, meaning every frame, if im not mistaken...

so try to restructure FSM's if you can... look at which FSM's drain most CPU, and which actions, and try to use other actions...

a lot of times, one thing can be done with multiple ways... like blackant said.

Thanks for the info, but i´m designer not coder. How I can check which FSM drain CPU resources? There´s some kind of realtime debug in playmaker?
« Last Edit: July 25, 2014, 04:51:31 PM by mmzbr »