Fix and improve big_bang

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:
Asriel Senna 2023-11-18 16:30:05 +01:00
parent d124579be4
commit 166184a362
1 changed files with 3 additions and 5 deletions

View File

@ -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)