Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for pn in ivalues(PlayerNumber) do
- if GAMESTATE:GetMasterPlayerNumber() == pn then
- local topScreen = SCREENMAN:GetTopScreen()
- if topScreen then
- local stageStats = topScreen:GetStageStats()
- local pStats = stageStats:GetPlayerStageStats(pn)
- local image
- if pStats:FullCombo() then
- if pStats:FullComboOfScore('TapNoteScore_W1') then
- image = "MFC";
- elseif pStats:FullComboOfScore('TapNoteScore_W2') then
- image = "PFC";
- else
- image = "FC";
- end
- end
- end
- end
- end
- for pn in ivalues(PlayerNumber) do
- t[#t+1] = Def.ActorFrame{
- InitCommand=cmd(Center;addx,pn == PLAYER_1 and -224 or 232;addy,-98);
- LoadActor(image .. "1.png")..{
- OnCommand=cmd(zoom,0;diffusealpha,0;rotationz,370;sleep,0.000;sleep,0.316;linear,0.266;diffusealpha,1;zoom,1;rotationz,-10);
- OffCommand=cmd(zoomy,1;sleep,0.0000;sleep,0.016;linear,0.066;addy,20;diffusealpha,0.56;linear,0.083;diffusealpha,0);
- };
- LoadActor(image .. "2.png")..{
- OnCommand=cmd(diffuseshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,1");effectperiod,0.2;zoom,0;diffusealpha,0;rotationz,370;sleep,0.000;sleep,0.316;linear,0.266;diffusealpha,1;zoom,1;rotationz,-10);
- OffCommand=cmd(stopeffect;zoomy,1;sleep,0.0000;sleep,0.016;linear,0.066;addy,20;diffusealpha,0.56;linear,0.083;diffusealpha,0
- );
- };
- };
- end;
Add Comment
Please, Sign In to add comment