Playmaker Forum
PlayMaker Help & Tips => iOS Help => Topic started by: HaraldsVeiss on November 05, 2013, 09:37:19 AM
-
Hello,
Could anyone point me in the direction which is the best health bar solution in tower defense game for iOS platform. I have health bar system in my project but it drains 15-20 fps.
Please help!
Best,
Haralds
-
Hi,
I wanted to specify that, health bars are for creeps in the tower defense game.
Best,
Haralds
-
Hi,
It depends how far your health bar features goes, could you elaborate?
Essentially, a health bar is only a gui sitting on top of your character, for this playmaker will handle it fine, I am not sure how you implemented your health bar to take some much perfs out, maybe you should look into fixing it, it may be something very simple? Can you tell more about how you implemented it?
There is a number of threads on this with working samples as well:
http://hutonggames.com/playmakerforum/index.php?topic=2405.msg10755#msg10755
or if you use NGUI:
http://hutonggames.com/playmakerforum/index.php?topic=5216.msg24871#msg24871
bye,
Jean
-
Hi,
Thank you for suggestion, I will take a look and let you know how it goes.
P.S. Because of my dayjob I will probobly get back to rather later then sooner.
Best,
Haralds
-
Hi!
Thank you, your links where very helpful! Problem solved, no frame drops.
Best,
Haralds
-
I seconded to this, that also helps me a lot. Its a post outdated yet, still gives me right direction.