Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: HaraldsVeiss on November 05, 2013, 09:37:19 AM

Title: Health bars for tower defense game in iOS[SOLVED]
Post 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
Title: Re: Health bars for tower defense game in iOS
Post by: HaraldsVeiss on November 05, 2013, 09:39:07 AM
Hi,

I wanted to specify that, health bars are for creeps in the tower defense game.

Best,
Haralds
Title: Re: Health bars for tower defense game in iOS
Post by: jeanfabre on November 06, 2013, 12:29:45 AM
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
Title: Re: Health bars for tower defense game in iOS
Post by: HaraldsVeiss on November 12, 2013, 03:48:19 PM
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 
Title: Re: Health bars for tower defense game in iOS
Post by: HaraldsVeiss on January 25, 2014, 04:47:00 PM
Hi!

Thank you, your links where very helpful! Problem solved, no frame drops.

Best,
Haralds
Title: Re: Health bars for tower defense game in iOS[SOLVED]
Post by: jesslopez on June 08, 2014, 11:39:13 PM
I seconded to this, that also helps me a lot. Its a post outdated yet, still gives me right direction.