YesNoOk
avatar

2 Transparent colors in pallete?? (Read 1148 times)

Started by Super_Sonic_67, August 06, 2008, 11:47:18 pm
Share this topic:
2 Transparent colors in pallete??
#1  August 06, 2008, 11:47:18 pm
  • **
I've encountered a few characters that seem to have not one, but 2 colors in their palletes that appear transparent ingame! First is the usual background color in the bottom right of the pallete, that much I get. But there are certain sprites that have black around them and then have bright pink around the black too! And when you apply the additive effect to the sprite, it treats the pink as if it were also black!

How do they do it?
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#2  August 07, 2008, 12:03:15 am
  • ******
  • [E]
    • Mexico

  • Online
You are a bit confused. the pink uses mugen's regular transparency, the black ad you said, uses additive transparency, and since black's colour value is 0 when you add 0 to any other color the color remains the same, thus being transparent.
Re: 2 Transparent colors in pallete??
#3  August 07, 2008, 12:13:24 am
  • **
No, see, the regular tranparent color in this pallete is green, actually. The character himself has the green color as the background and that is the transparent color. But, you're saying that I can make a certain color on a pallete have a value of 0? How is that done?
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#4  August 07, 2008, 12:21:18 am
  • ******
  • [E]
    • Mexico

  • Online
No, the colour black has a value of 0 this has nothing to do with palettes.
Re: 2 Transparent colors in pallete??
#5  August 07, 2008, 12:32:12 am
  • **
But, do you at least see what I'm saying?

The regular, transparent color that is at the bottom right of the pallete is green,
There is a sprite with a black outline for the purposes of making the additive effect work, but outside the black is pink! Yet, somehow, mugen allows the pink to have the same additive effect as the black!

Would you prefer that I just give you screenies of the situation?
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#6  August 07, 2008, 12:57:52 am
  • ******
  • [E]
    • Mexico

  • Online
ok, screens would be good, because they might prove/misprove my theory. the actual color that is transaprent does not matter, it can be pink,red,blue, yellow. as long as it is the first palette color.
Re: 2 Transparent colors in pallete??
#7  August 07, 2008, 01:03:47 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
doesnt pots rare akuma have like a different transparent color for each pallet? i always wondered how he got that to work..
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#8  August 07, 2008, 01:13:09 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Unshared pallete perhaps? rare akuma was a joke and probably contains that because it's something you shouldn't do.

Quote
First is the usual background color in the bottom right of the pallete, that much I get. But there are certain sprites that have black around them and then have bright pink around the black too! And when you apply the additive effect to the sprite, it treats the pink as if it were also black!

Ie: pink is in the transparent position (index 0) and black is affected by it's normal everyday goes invisible if A is applied effect. Take out the A from the .air entries. I bet moneys the black shows up and the pink stays transparent.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: 2 Transparent colors in pallete??
#9  August 07, 2008, 01:16:35 am
  • **


Ok, as you can see, the lightning has a pink background, Sasuke has the green background. And you can see that the green is the transparent color for this pallete. you see what I'm saying now?

Also note that the pink color is not even part of the pallete at all. The pink color that you see in the third box at the top of the pallete is not the same pink as the one sorrounding the lightning.
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#10  August 07, 2008, 01:18:01 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
dude * sighs*
thats because the lighting has its own pallet and does not share the same pallet as sasuke.
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#11  August 07, 2008, 01:24:02 am
  • **
I understand that, but when I tried to duplicate the effect with one of my own sprites by sorrounding a black, outlined object, with the exact same color of pink, the pink only turned slightly transparent instead of becoming completely invisible like it does for the lightning sprite.

P.S. Please stop treating me like I'm an idiot just because I may not be quite as "Mugen-savy" as you? I'm frustrated enough by this dilemma. I appriciate the help, I really do, but could you please try and be more patient with me? I'm trying the best I can.  :'(
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#12  August 07, 2008, 01:26:57 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
its because you still dont get it.
that green color is your transparent color for your sprites, and any other sprite thats shared with it.
now if you add a sprite with another pallet and share it, yea of course its not gonna be transparent because its pallet does not match with your current.

I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#13  August 07, 2008, 01:32:20 am
  • **
Ah, I see where you and I have gotten confused!

What I'm saying is, that I don't intend for the pink color to be the transparent color for the entire pallete.

I just want to know how that lightning sprite is able to have the pink eliminated as well as the black when the additive effect is applied to it.

TOBI\'S A F***ING GOOD BOY! ^-^
Last Edit: August 07, 2008, 01:36:02 am by Super_Sonic_67
Re: 2 Transparent colors in pallete??
#14  August 07, 2008, 01:34:22 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
its because its not shared to your other sprites.
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#15  August 07, 2008, 01:36:13 am
  • **


This is a screenshot from Fighter Factory, and as you can see, the additive effect eliminates both the black and pink.

That is what I wanted to know, how that's done
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#16  August 07, 2008, 01:38:15 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
because in the air file, its trans is set to =a
which makes it transparent.
black + transparency= gone.
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#17  August 07, 2008, 01:39:53 am
  • **
Yes, I know "black + transparency= gone" but why does "PINK + transparency= gone???" That's all I want to know.
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#18  August 07, 2008, 01:42:04 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: 2 Transparent colors in pallete??
#19  August 07, 2008, 01:44:15 am
  • ******
  • [E]
    • Mexico

  • Online
Regardless of sharing, sharing does not mean that, I have loaded sprites with completely different palettes as shared and they show properly in mugen. color 0 is transaprent, regardless of any sharing stuff.
Re: 2 Transparent colors in pallete??
#20  August 07, 2008, 01:47:09 am
  • **
Hmmm... I think I may be seeing what you're trying to say... Let me try something... *goes and messes around with it* A ha! Now I getcha! I finally get it!

And, hey, thanks for helping me out, Luis... Sorry I was hard to teach.  :( No hard feelings?
TOBI\'S A F***ING GOOD BOY! ^-^
Re: 2 Transparent colors in pallete??
#21  August 07, 2008, 01:49:14 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
Regardless of sharing, sharing does not mean that, I have loaded sprites with completely different palettes as shared and they show properly in mugen. color 0 is transaprent, regardless of any sharing stuff.
well that can only happen in certain situations, like the sff file is kinda corrupt and some sprites are shared and some others making it messed up.

and when you add a sprite that doesn't have the same colors as the sprites before it, but has the same color 0 , and has available color slots that the sprite your adding fills in for.
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.