playMaker

Author Topic: Health bars for tower defense game in iOS[SOLVED]  (Read 5016 times)

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Health bars for tower defense game in iOS[SOLVED]
« 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
« Last Edit: January 27, 2014, 04:25:15 AM by jeanfabre »

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Re: Health bars for tower defense game in iOS
« Reply #1 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Health bars for tower defense game in iOS
« Reply #2 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

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Re: Health bars for tower defense game in iOS
« Reply #3 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 

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Re: Health bars for tower defense game in iOS
« Reply #4 on: January 25, 2014, 04:47:00 PM »
Hi!

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

Best,
Haralds

jesslopez

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Health bars for tower defense game in iOS[SOLVED]
« Reply #5 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.
"try mind & physics games"