YesNoOk
avatar

Remove transparency from an animation (Read 1999 times)

Started by DeCeballos, June 02, 2022, 12:19:29 pm
Share this topic:
Remove transparency from an animation
#1  June 02, 2022, 12:19:29 pm
  • **
    • Spain
Hello, I have a char with an attack animation that always appears transparent and I don't know how to remove the effect. In the animation the sprites don't have transparency added and even so it looks transparent in combat.
Here is the state.

[State 0, Helper]
type = Helper
trigger1 = AnimElem = 7
helpertype = normal ;player
ID = 6031
stateno = 6031
pos = 12,-23
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
supermove
pausemove
size.xscale = 0.3
size.yscale = 0.3
Re: Remove transparency from an animation
#2  June 02, 2022, 12:23:30 pm
  • ***
    • Peru
Hello DeCeballos.

 In the state 6031, what "anim" do you see? Look that anim in "air" archive of your character and post it here, please.
Re: Remove transparency from an animation
#3  June 02, 2022, 12:29:23 pm
  • **
    • Spain
This?

[Begin Action 6031]
Clsn1Default: 5
  Clsn1[0] = 134, 34, 241, 103
  Clsn1[1] = 35, -12, 143, 69
  Clsn1[2] = -32, -51, 77, 36
  Clsn1[3] = -93, -82, 3, 0
  Clsn1[4] = -157, -109, -66, -30
6969,0, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,1, -251,-138, 4
6969,2, -251,-138, 4
6969,3, -251,-138, 4
6969,3, -251,-138, 4
Re: Remove transparency from an animation
#4  June 02, 2022, 12:38:06 pm
  • ***
    • Peru
Yes...apparently everything is ok in that animantion. Sometimes the animation has a code that makes transparency, something like these:


; FLASH - LEFT
[Begin Action 2996]
999,0,0,0,32
299,6,0,0,3,,AS100D256
299,6,0,0,3,,AS110D256
299,6,0,0,3,,AS120D256
299,6,0,0,3,,AS130D256
299,6,0,0,3,,AS140D256
299,6,0,0,3,,AS150D256
299,6,0,0,3,,AS160D256
299,6,0,0,3,,AS170D256
299,6,0,0,3,,AS180D256
299,6,0,0,3,,AS190D256
299,6,0,0,3,,AS200D256
299,6,0,0,3,,AS210D256
299,6,0,0,3,,AS220D256
299,6,0,0,3,,AS230D256
299,6,0,0,3,,AS240D256
299,6,0,0,3,,AS250D256
-1,-1, 0,0,-1

[Begin Action 7205]
7205, 111, 0, 0, 2, , A
7205, 112, 0, 0, 2, , A
7205, 113, 0, 0, 2, , A
7205, 114, 0, 0, 2, , A
7205, 115, 0, 0, 2, , A

But I don´t see that values in your animation, are you sure that is the correct state or anim?
Re: Remove transparency from an animation
#5  June 02, 2022, 12:40:54 pm
  • **
    • Spain
and this?

[StateDef 6031]
type = S
movetype= A
physics = S
anim = 6031
sprpriority = 5
poweradd = 0
juggle = 1
Re: Remove transparency from an animation
#6  June 02, 2022, 12:48:55 pm
  • ***
    • Peru
I´m sorry, I´m run out of ideas, I believe that someone with more experience in characters will help you.
Re: Remove transparency from an animation
#7  June 02, 2022, 03:51:29 pm
  • *****
  • WIP: Tons and tons of IKEMEN stages
Look for a trans controller.