Jump to content
  • 0

Help to apply transparency and color effect


Sergal

Question

Hi guys, first English is not my mother tongue I hope to make this as clear as possible.

I want to add transparency and color effect to sprites that are stored in the FightFx, to do this I use a helper with which I apply an Explod with ownpal = 0.
I managed to apply the color change of the palette but for some reason I can't make the effect transparent, and when I say transparent I don't mean loss of opacity otherwise (trans = Add or alpha = 256,256) I can't find a solution in forums of my language all the help that you can contribute to the topic will be appreciated.


[State 9700, PalFX]
type = PalFX
trigger1 = Root, fvar (9)> 0
time = -1
add = 200,100.0
mul = 256,256,256
; sinadd = 255,255,255.60
invertall = 0
color = 0
ignorehitpause = 1
; persistent = 0

 

 

[State 9700, ORB 1]
type = Explod
triggerall =! NumExplod (901)
trigger1 = Root, fvar (9) = 1
anim = f900
ID = 900
pos = 16.5,157.5
postype = Back; p2, front, back, left, right
facing = 1
vfacing = 1
bindtime = 0
vel = 0.0
accel = 0.0
random = 0.0
removetime = -1
pausemovetime = 0
scale = 0.25,0.25
sprpriority = 2
ontop = 1
shadow = 0,0,0
ownpal = 0
removeongethit = 0
trans = add                          ; This line doesnt work
; supermove = 0
; pausemove = 0
ignorehitpause = 1
; Persistent = 0

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...