Well, I have been working on some stuff involving adding some new lightning fx sprites to my old Jupiter repair project, and well...Yeah, I'm still getting the black box. The strange thing is that the transparency seems to be there in the palette, but this happens. Can a guy get some help here?
isnt the transparency changed in animations? or you can use this sctrl in CNSQuote[State 0, Trans]type = Transtrigger1 =trans =alpha =;ignorehitpause =;persistent =try these values for trans:A - transparentA1 - more visible/translucent than A
Question, wouldn't I still have that black box around the lightning even if I use that sctrl? My thing is that I don't want to have a black box on that at all.
i have never used that sctrl. but i used the trans box in animations in Fighter factory and yeah that black box is actually the spritesheet background color of that cut sprite (electric effect). it should disappear whether you used A or A1if you prefer the sctrl in cns, read the trigger file in your mugen docs to get a better explanation. but i suggest using the animations trans box and clicking apply to all (assuming all those effects sprites are in one begin action number)
Okay, I must have misread or misunderstood what you said earlier. I just now added the A to the animation itself, and it works like it should now. Thanks for the help.EDIT: Scratch that, the black box still shows even after adding the A to the animation.
Your transparency probably still isn't set properly. Black WILL show with A, just slightly. It's far more noticeable if it's a big box.At the same time, if you're not seeing any A transparency AT ALL, you're not using the animation you think you are. You have a duplicate go check.
[State 0, Trans]type = Transtrigger1 = 1trans = addalphaalpha = 192,256with this alpha you cant see the black color but i think if better replace the black box with transparent color of your palette (color pixel 256) anda then apply a new transparency.
leandro1412 said, December 01, 2010, 06:07:07 am[State 0, Trans]type = Transtrigger1 = 1trans = addalphaalpha = 192,256with this alpha you cant see the black color but i think if better replace the black box with transparent color of your palette (color pixel 256) anda then apply a new transparency.I added that code, and the character went ghostly on me while the giant black box of the lightning stayed. Cyanide said, December 01, 2010, 05:58:59 amYour transparency probably still isn't set properly. Black WILL show with A, just slightly. It's far more noticeable if it's a big box.At the same time, if you're not seeing any A transparency AT ALL, you're not using the animation you think you are. You have a duplicate go check.I have only one anim 4000 (Lightning strike), so no problems there. Although the original anim had some badly done lightning to begin with and I used the change sprite function in FF to swap those out for the new ones. Could that have had an effect?
Napoleon Jonamite said, December 01, 2010, 06:58:00 amleandro1412 said, December 01, 2010, 06:07:07 am[State 0, Trans]type = Transtrigger1 = 1trans = addalphaalpha = 192,256with this alpha you cant see the black color but i think if better replace the black box with transparent color of your palette (color pixel 256) anda then apply a new transparency.I added that code, and the character went ghostly on me while the giant black box of the lightning stayed. of course i thought that you are using a helper for this effect... ok then in your explod code put this lines:[State 0, Explod]type = Explodtrigger1 = !Timeanim = 4000ID = 4000pos = 0,0postype = p1removetime = -2sprpriority = 5ownpal = 1trans = addalphaalpha = 192,256Just the highlighted text in your explod code.see ya. (if you want more or less bright Up or Down the first value "192" ok)
the pallete of the effects was not transferred correctly. thats probably the reason for the black box not disappearing even after using A trans on animations.use the rightmost box at the bottom to make FF recognize the black as the background color (so it wont appear in mugen even if you havent used A or A1 yet).i have always used the animations panel to use A or A1 and i think its enough. no need for CNS sctrl. btw, the sctrl overrides the trans of the action number in animations panel if you used them both (thats what i know).