Animated Panel/BG

NED

Well-known member
EDIT : see last posts.

Hello,

I try to add some transparency effect to the regular spark/flash FX of my mod.

The FX should be applied to the first sprite only.
So I used an "alpha 0" to stop the activation of the effect on the 2nd sprite.
It make the "alpha 3" ignored... :-[

how can I fix it?
This is my flash animation:

# Hit flash

name Flash
type none
shadow 0

anim idle
loop 0
delay 20
offset 532 308
alpha 3# transpa effects
frame data/sprites/red1.gif
delay 4
offset 36 51
alpha 0# transpa effects
frame data/sprites/flash01.gif
delay 2
frame data/sprites/flash02.gif
frame data/sprites/flash03.gif
frame data/sprites/flash04.gif
frame data/sprites/flash05.gif
frame data/sprites/flash06.gif
 
Thanks.
But it seems to be buggy.
The sparks don't appear at all.

drawmethod alpha 3


Also,
Since there is six values before the alpha number, I tried to edit it to that.
drawmethod alpha 0 0 0 0 0 0 3

Still not work.
I'm pretty sure I'm making a noobish error, but what?
 
O Ilusionista said:
why don't you spawn a entity with a type none?

That's an unnecessary hack that will have side effects elsewhere. Look up "panel" type entities; they were specifically made for this.

DC
 
Panel type?
panel {norm} {neon} {scrn}

I'm not sure what to change for an animated BG.

As an information, this is a 1 layer BG of a wrestling arena with animated crowd.
All in one picture.

there is 3 of them, animated in a loop.
 
It most certainly works and it's the only way to create layered animated backgrounds that will scroll properly. The speed setting controls how fast the panel entity will scroll in relation to the background.

DC
 
Speed settings controls only X movement, it doesnt control Y movement so animated stuff in far background isnt possible to do properly, youll get wrong Y movement that doesnt match X cause you cant control it.
 
Finally, I'm not sure I'mm animate all the ringstage level.
Because, on the sides of the ring, I would like to tome the limits to have more space "out of the ring". It's easy to edit it on one single BG sprite. But if I do it for all the 3 steps of BG animation, it may be f***ed up.

Perhaps I add some very basic animations for few persons on the crowd (10-15 not more)
 
Back
Top Bottom