various theme changes by Midiman and myself.
This commit is contained in:
@@ -72,7 +72,17 @@ local SmoothBezier =
|
||||
function Actor:smooth(t)
|
||||
self:tween( t, "TweenType_Bezier", SmoothBezier );
|
||||
end
|
||||
|
||||
-- SSC Additions
|
||||
local DropBezier =
|
||||
{
|
||||
0 , 0,
|
||||
1/3 , 1,
|
||||
2/3 , 0.5,
|
||||
1 , 1,
|
||||
}
|
||||
function Actor:drop(t)
|
||||
self:tween( t, "TweenType_Bezier", DropBezier );
|
||||
end
|
||||
-- Hide if b is true, but don't unhide if b is false.
|
||||
function Actor:hide_if(b)
|
||||
if b then
|
||||
@@ -135,18 +145,6 @@ function Actor:Center()
|
||||
self:y(SCREEN_CENTER_Y);
|
||||
end;
|
||||
|
||||
-- SSC Additions
|
||||
local DropBezier =
|
||||
{
|
||||
0 , 0,
|
||||
8/16 , 1,
|
||||
12/16 , 0.5,
|
||||
16/16 , 1,
|
||||
}
|
||||
function Actor:drop(t)
|
||||
self:tween( t, "TweenType_Bezier", DropBezier );
|
||||
end
|
||||
|
||||
-- (c) 2006 Glenn Maynard
|
||||
-- All rights reserved.
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user