Fix and improve big_bang (by
Gouvernathor) the "on show" wasn't working for some reason and wasn't necessary anyway easeout was probaly mixed up with easein, in any case easein renders much better using easein_cubic for a sharper explosion
This commit is contained in:
parent
26b1e7f051
commit
d4726d3be2
@ -344,9 +344,7 @@ screen big_bang(bang=False):
|
||||
add "images/misc/bang.webp":
|
||||
at transform:
|
||||
zoom 0.0
|
||||
anchor (0.5, 0.5)
|
||||
pos (540, 300)
|
||||
on show:
|
||||
easeout 15.0 zoom 3
|
||||
xycenter (540, 300)
|
||||
easein_cubic 15 zoom 4
|
||||
else:
|
||||
add "glow_effect" zoom 0.2 anchor (0.5, 0.5) align (0.5, 0.5)
|
||||
add "glow_effect" zoom 0.2 align (0.5, 0.5)
|
||||
|
Loading…
Reference in New Issue
Block a user