YesNoOk
avatar

How many font command can we add on a lifebar ? (Read 862 times)

Started by OldGamer, August 12, 2018, 03:01:41 am
Share this topic:
How many font command can we add on a lifebar ?
#1  August 12, 2018, 03:01:41 am
  • ****
  • Stages & Screen Pack
  • Mugen Creator
    • USA
so far I can only go to font1 to font0

is there like a another command  to add more font number command ?
for exsample  font10 = or something I can add more ?
Last Edit: August 13, 2018, 03:52:50 am by OldGamer
Re: How many font command can we add on a lifebar ?
#2  August 12, 2018, 09:36:00 am
  • **
  • 風よ伝えて
    • Brazil
    • deathscythe.co.vu
; Notes about fonts:
;   - up to 10 fonts can be specified in the [Files] section.
;   - fonts indexed here do not refer to the ones in system.def
;   - fonts are search in directories in the following order:
;     1. system directory
;     2. mugen program directory (not recommended to keep custom fonts here)
;     3. data/ (not recommended to keep custom fonts here)
;     4. font/
Re: How many font command can we add on a lifebar ?
#3  August 13, 2018, 03:52:39 am
  • ****
  • Stages & Screen Pack
  • Mugen Creator
    • USA
; Notes about fonts:
;   - up to 10 fonts can be specified in the [Files] section.
;   - fonts indexed here do not refer to the ones in system.def
;   - fonts are search in directories in the following order:
;     1. system directory
;     2. mugen program directory (not recommended to keep custom fonts here)
;     3. data/ (not recommended to keep custom fonts here)
;     4. font/
anyway I figure its how they call it 10 is really is 0s is the ten one so this how I made the font for lifebars and the system.def

font1 = bluename.fnt          ;System fonts
font2 = redname.fnt        ;System fonts
font3 = BluePowerBarNumbers.def
font4 = RedPowerBarNumbers.def
font5 = cvstimer.fnt
font6 = winletters.fnt
font7 = COLORYESNO.def
font8 = GREYYESNO.def
font9 = continue.def
font0 = CVSHITS.def <<<<<<<<<<<<<<<<<<<<<<<<<<<<< so i had at font10 but once I removed the number one and just added a 0s that did the trick

what I hate sooooooooooo mush about elecbyte mugen doc they really dont explain there document correctly but that all about experiences and the trails and error I had to deal with, anyways thank for answering my question but I did solved the issues before u replied

Re: How many font command can we add on a lifebar ?
#4  August 13, 2018, 10:47:16 am
  • **
  • 風よ伝えて
    • Brazil
    • deathscythe.co.vu
Hmm, it seems you're using repeated fonts with just different colors (not sure if they are the same), for example:

font3 = BluePowerBarNumbers.def
font4 = RedPowerBarNumbers.def

If these fonts are the same just with different colors, you can change the color via coding instead of adding a new font. Like this:

(if font is a fnt file)
Code:
[Powerbar]
p1.counter.font = 3,0,0
p2.counter.font = 3,1,0

(if font is true type)
Code:
[Powerbar]
p1.counter.font = 3,0,0, 0,96,255
p2.counter.font = 3,0,0, 255,0,0

You probably knows this since you make screenpacks a lot but I'm leaving this here just in case. It would help to save font slots and you'd be able to use more fonts.