35 lines
835 B
Lua
35 lines
835 B
Lua
local ShowFlashyCombo = ThemePrefs.Get("FlashyCombo")
|
|
return Def.ActorFrame {
|
|
LoadActor("explosion") .. {
|
|
InitCommand=function(self)
|
|
self:diffusealpha(0);
|
|
self:blend('BlendMode_Add');
|
|
self:hide_if(not ShowFlashyCombo);
|
|
end;
|
|
MilestoneCommand=function(self)
|
|
self:rotationz(0);
|
|
self:zoom(2);
|
|
self:diffusealpha(0.5);
|
|
self:linear(0.5);
|
|
self:rotationz(90);
|
|
self:zoom(1.75);
|
|
self:diffusealpha(0);
|
|
end;
|
|
};
|
|
LoadActor("explosion") .. {
|
|
InitCommand=function(self)
|
|
self:diffusealpha(0);
|
|
self:blend('BlendMode_Add');
|
|
self:hide_if(not ShowFlashyCombo);
|
|
end;
|
|
MilestoneCommand=function(self)
|
|
self:rotationz(0);
|
|
self:zoom(2);
|
|
self:diffusealpha(0.5);
|
|
self:linear(0.5);
|
|
self:rotationz(-90);
|
|
self:zoom(1.75);
|
|
self:diffusealpha(0);
|
|
end;
|
|
};
|
|
}; |