YesNoOk
avatar

Are Character name layers possible? (Read 2238 times)

Started by cabose117, August 31, 2007, 07:43:29 am
Share this topic:
Are Character name layers possible?
#1  August 31, 2007, 07:43:29 am
  • *
    • z11.invisionfree.com/fallofreach
I'm going for a SSBM style screenpack, and I seem to have hit a road block. I'm trying to get the name of a character to display over a picture which is over the character's picture. I have tried everything I know of to get the name of the character to display on another layer. Am I forgetting a useful code? Here is what I have do far for it:

;Name
p1.name.offset = 60,216               
p1.name.font = 4,3,0            
p2.name.offset = 260,216
p2.name.font = 4,4,0

I don't know what to do with the fonts in order for them to display over the 1PNameBox image, but here's what I did for the picture behind the Character's.

[SelectBG 1PFaceBox]
type = normal
spriteno = 101,0
start = -160,0
mask = 1
layerno = 0

[SelectBG 1PNameBox]
type = normal
spriteno = 101,4
start = -160,0
mask = 1
layerno = 1
I have a life....I bought it on eBay.
Last Edit: September 01, 2007, 02:01:36 am by cabose117
Re: Are Character name layers possible?
#2  August 31, 2007, 07:46:42 am
  • *****
  • Coffee, Chocolate and MUGEN
    • Brazil
    • www.justnopoint.com/sparta/
IINM, a line like this:

p1.name.layerno = 2


should work...
Re: Are Character name layers possible?
#3  September 01, 2007, 02:02:44 am
  • *
    • z11.invisionfree.com/fallofreach
I tried that. It didn't work. Doesn't anyone know if there's a way to put text on another layer?
I have a life....I bought it on eBay.
Re: Are Character name layers possible?
#4  September 01, 2007, 02:19:05 am
  • *****
  • Coffee, Chocolate and MUGEN
    • Brazil
    • www.justnopoint.com/sparta/
I tried that. It didn't work. Doesn't anyone know if there's a way to put text on another layer?

okay... the line definetely works. i've just tested it.


but i think i know what your problem is. you must have assigned EVERY PART OF THE LIFEBAR to layerno=2. if this happened, than the sprites will on top.


this is how layerno works:

0 = behind the players

1 = in front of the players, behind the foreground.

2 = on topo of everything.


assign the lifebars to layerno=0 and the fonts to layerno = 1. this way your screenpack will not clash with winscreens and other character effects.
Re: Are Character name layers possible?
#5  September 01, 2007, 05:30:56 pm
  • *
    • z11.invisionfree.com/fallofreach
It's not when I'm fighting in the game, just on the Character select screen.
I have a life....I bought it on eBay.