-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0769a4e
commit 3b8aff1
Showing
1,600 changed files
with
177,081 additions
and
148,682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
BasedOnStyle: Mozilla | ||
UseTab: Always | ||
IndentWidth: 4 | ||
TabWidth: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
local flashColor = color(Var "Color1") | ||
return Def.Quad { | ||
InitCommand=function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH*2,SCREEN_HEIGHT*2):diffuse(flashColor) | ||
end; | ||
GainFocusCommand=function(self) | ||
InitCommand = function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2):diffuse(flashColor) | ||
end, | ||
GainFocusCommand = function(self) | ||
self:finishtweening():diffusealpha(1):accelerate(0.6):diffusealpha(0) | ||
end; | ||
}; | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
return Def.Quad { | ||
InitCommand=function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH*2,SCREEN_HEIGHT*2) | ||
end; | ||
GainFocusCommand=function(self) | ||
self:finishtweening():diffusealpha(1):accelerate(0.6):diffusealpha(0) | ||
end; | ||
}; | ||
return Def.Quad { | ||
InitCommand = function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2) | ||
end, | ||
GainFocusCommand = function(self) | ||
self:finishtweening():diffusealpha(1):accelerate(0.6):diffusealpha(0) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
return Def.Quad { | ||
InitCommand=function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH*2,SCREEN_HEIGHT*2) | ||
end; | ||
GainFocusCommand=function(self) | ||
self:finishtweening():diffusealpha(0):accelerate(0.6):diffusealpha(1) | ||
end; | ||
}; | ||
return Def.Quad { | ||
InitCommand = function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2) | ||
end, | ||
GainFocusCommand = function(self) | ||
self:finishtweening():diffusealpha(0):accelerate(0.6):diffusealpha(1) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
return Def.Quad { | ||
InitCommand=function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH*2,SCREEN_HEIGHT*2) | ||
end; | ||
GainFocusCommand=function(self) | ||
self:finishtweening():diffuse(color("#FFFFA0")):accelerate(0.6):diffusealpha(0) | ||
end; | ||
}; | ||
InitCommand = function(self) | ||
self:x(SCREEN_CENTER_X):y(SCREEN_CENTER_Y):scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2) | ||
end, | ||
GainFocusCommand = function(self) | ||
self:finishtweening():diffuse(color("#FFFFA0")):accelerate(0.6):diffusealpha(0) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
local Color1 = color(Var "Color1"); | ||
local Color1 = color(Var "Color1") | ||
|
||
local t = Def.ActorFrame { | ||
LoadActor(Var "File1") .. { | ||
OnCommand= function(self) | ||
self:xy(_screen.cx, _screen.cy):diffuse(Color1):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
local t = | ||
Def.ActorFrame { | ||
LoadActor(Var "File1") .. | ||
{ | ||
OnCommand = function(self) | ||
self:xy(_screen.cx, _screen.cy):diffuse(Color1):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
end | ||
end, | ||
GainFocusCommand = function(self) | ||
self:play() | ||
end, | ||
LoseFocusCommand = function(self) | ||
self:pause() | ||
end | ||
end, | ||
GainFocusCommand=function(self) | ||
self:play() | ||
end; | ||
LoseFocusCommand=function(self) | ||
self:pause() | ||
end; | ||
}; | ||
}; | ||
} | ||
} | ||
|
||
return t; | ||
return t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,58 @@ | ||
local Color1 = color(Var "Color1"); | ||
local Color1 = color(Var "Color1") | ||
|
||
local a = LoadActor(Var "File1") .. { | ||
OnCommand= function(self) | ||
self:cropto(_screen.w/2, _screen.h/2):diffuse(Color1) | ||
:effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
local a = | ||
LoadActor(Var "File1") .. | ||
{ | ||
OnCommand = function(self) | ||
self:cropto(_screen.w / 2, _screen.h / 2):diffuse(Color1):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
end | ||
end, | ||
GainFocusCommand = function(self) | ||
self:play() | ||
end, | ||
LoseFocusCommand = function(self) | ||
self:pause() | ||
end | ||
end, | ||
GainFocusCommand=function(self) | ||
self:play() | ||
end; | ||
LoseFocusCommand=function(self) | ||
self:pause() | ||
end; | ||
}; | ||
} | ||
|
||
local t = Def.ActorFrame { | ||
a .. { OnCommand=function(self) | ||
self:x(scale(1,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(1,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
end }; | ||
a .. { OnCommand=function(self) | ||
self:x(scale(3,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(1,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then self:SetDecodeMovie(false) end | ||
end }; | ||
a .. { OnCommand=function(self) | ||
self:x(scale(1,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(3,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then self:SetDecodeMovie(false) end | ||
end }; | ||
a .. { OnCommand=function(self) | ||
self:x(scale(3,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(3,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then self:SetDecodeMovie(false) end | ||
end }; | ||
}; | ||
local t = | ||
Def.ActorFrame { | ||
a .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(1, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(1, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
end | ||
}, | ||
a .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(3, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(1, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then | ||
self:SetDecodeMovie(false) | ||
end | ||
end | ||
}, | ||
a .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(1, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(3, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then | ||
self:SetDecodeMovie(false) | ||
end | ||
end | ||
}, | ||
a .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(3, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(3, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then | ||
self:SetDecodeMovie(false) | ||
end | ||
end | ||
} | ||
} | ||
|
||
return t; | ||
return t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,73 @@ | ||
local Color1 = color(Var "Color1"); | ||
local Color2 = color(Var "Color2"); | ||
local Color1 = color(Var "Color1") | ||
local Color2 = color(Var "Color2") | ||
|
||
local a1 = LoadActor(Var "File1") .. { | ||
OnCommand= function(self) | ||
self:cropto(SCREEN_WIDTH/2,SCREEN_HEIGHT/2):diffuse(Color1) | ||
:effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
local a1 = | ||
LoadActor(Var "File1") .. | ||
{ | ||
OnCommand = function(self) | ||
self:cropto(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2):diffuse(Color1):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
end | ||
end, | ||
GainFocusCommand = function(self) | ||
self:play() | ||
end, | ||
LoseFocusCommand = function(self) | ||
self:pause() | ||
end | ||
end, | ||
GainFocusCommand=function(self) | ||
self:play() | ||
end; | ||
LoseFocusCommand=function(self) | ||
self:pause() | ||
end; | ||
}; | ||
local a2 = LoadActor(Var "File2") .. { | ||
OnCommand= function(self) | ||
self:cropto(SCREEN_WIDTH/2,SCREEN_HEIGHT/2):diffuse(Color2):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
} | ||
local a2 = | ||
LoadActor(Var "File2") .. | ||
{ | ||
OnCommand = function(self) | ||
self:cropto(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2):diffuse(Color2):effectclock("music") | ||
-- Explanation in StretchNoLoop.lua. | ||
if self.GetTexture then | ||
self:GetTexture():rate(self:GetParent():GetUpdateRate()) | ||
end | ||
end, | ||
GainFocusCommand = function(self) | ||
self:play() | ||
end, | ||
LoseFocusCommand = function(self) | ||
self:pause() | ||
end | ||
end, | ||
GainFocusCommand=function(self) | ||
self:play() | ||
end; | ||
LoseFocusCommand=function(self) | ||
self:pause() | ||
end; | ||
}; | ||
} | ||
|
||
local t = Def.ActorFrame { | ||
a1 .. { OnCommand=function(self) | ||
self:x(scale(1,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(1,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
end }; | ||
a2 .. { OnCommand=function(self) | ||
self:x(scale(3,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(1,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
end }; | ||
a2 .. { OnCommand=function(self) | ||
self:x(scale(1,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(3,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then self:SetDecodeMovie(false) end | ||
end }; | ||
a1 .. { OnCommand=function(self) | ||
self:x(scale(3,0,4,SCREEN_LEFT,SCREEN_RIGHT)):y(scale(3,0,4,SCREEN_TOP,SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then self:SetDecodeMovie(false) end | ||
end }; | ||
}; | ||
|
||
return t; | ||
local t = | ||
Def.ActorFrame { | ||
a1 .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(1, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(1, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
end | ||
}, | ||
a2 .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(3, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(1, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
end | ||
}, | ||
a2 .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(1, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(3, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then | ||
self:SetDecodeMovie(false) | ||
end | ||
end | ||
}, | ||
a1 .. | ||
{ | ||
OnCommand = function(self) | ||
self:x(scale(3, 0, 4, SCREEN_LEFT, SCREEN_RIGHT)):y(scale(3, 0, 4, SCREEN_TOP, SCREEN_BOTTOM)) | ||
if self.SetDecodeMovie then | ||
self:SetDecodeMovie(false) | ||
end | ||
end | ||
} | ||
} | ||
|
||
return t |
Oops, something went wrong.