Skip to content

Commit

Permalink
fix bare-frames transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 17, 2020
1 parent d56d1cf commit 089ea61
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Themes/bare-frames/BGAnimations/Screen in.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
return Def.Quad {
InitCommand = function(self)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y):zoomto(SCREEN_WIDTH, SCREEN_HEIGHT)
end,
OnCommand = function(self)
self:diffuse(color("0,0,0,1")):sleep(0.1):linear(0.1):diffusealpha(0)
end
}
8 changes: 8 additions & 0 deletions Themes/bare-frames/BGAnimations/Screen out.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
return Def.Quad {
InitCommand = function(self)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y):zoomto(SCREEN_WIDTH, SCREEN_HEIGHT)
end,
OnCommand = function(self)
self:diffuse(color("0,0,0,0")):sleep(0.1):linear(0.1):diffusealpha(1)
end
}

0 comments on commit 089ea61

Please sign in to comment.