YesNoOk
avatar

hi need help resizing lifebars... (Read 402 times)

Started by yoquiero, October 26, 2008, 08:50:01 am
Share this topic:
hi need help resizing lifebars...
#1  October 26, 2008, 08:50:01 am
  • avatar
hi everybody i need some help trying to get my life and power bars  smaller, i just dont know if it´s something in the def file like changing/adding some code line (like the x,y scale for chars) or is it something achieved with its sff and fighter factory? can they  be made semitransparent? and i know i´m asking a lot but how can i adjust  my bottom-aligned power bars even more towards the bottom of the screen? any help would be appreciated.
Re: hi need help resizing lifebars...
#2  October 26, 2008, 11:06:49 am
  • **
Quick answer - Yes.
Longer answer - Yes to everything.
Even longer answer - This would all be achieved in you fight.def in the data folder. It might also be an idea for you to have the sprite file open in Fighter Factory so you can reference it every now and then, but thats not essential.

OK first problem, Sprite size. I've taken this straight from the lifebars made by Brundlefly:

;Player 1
p1.pos    = 0,0  You may need to change these numbers after changing scale
p1.bg0.spr = 20,0  This is the sprite number. Check it in Fighter Factory if you don't believe me!
p1.bg0.scale = 0.5,0.5  This will change the size of your sprites. Anywhere you see spr put this line under it.
p1.bg0.layerno = 0
p1.mid.spr = 25,0
p1.mid.scale = .5,.5
p1.mid.layerno = 0
p1.front.spr = 21,0
p1.front.scale = .5,.5
p1.front.layerno = 0
p1.range.x  = 147,30

Right thats problem 1 sorted. I'm not sure about problem 2. Hopefully some other kind person will help with that.
Your powerbar problem can be fixed by just changing the position a bit further down the fight.def.

Good luck. If you cant get it to work correctly just ask again and I'll try to make it easier for you. But if you can get it to work properly, maybe you could try to make your own eventually?