add transitions to SM4 portKit.

This commit is contained in:
AJ Kelly
2010-02-21 23:33:59 -06:00
parent 051f224ff1
commit 9045d04356
8 changed files with 29 additions and 0 deletions
@@ -0,0 +1 @@
_menu in
@@ -0,0 +1 @@
_menu out
@@ -0,0 +1 @@
_fade in normal
@@ -0,0 +1 @@
_fade out normal
@@ -0,0 +1,4 @@
return Def.Quad {
InitCommand=cmd(diffuse,color("#000000");stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM);
StartTransitioningCommand=cmd(diffusealpha,1;linear,0.3;diffusealpha,0);
};
@@ -0,0 +1,5 @@
local t = Def.Quad {
InitCommand=cmd(diffuse,color("#000000");stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM);
StartTransitioningCommand=cmd(diffusealpha,0;linear,0.3;diffusealpha,1);
};
return t;
@@ -0,0 +1,8 @@
return Def.ActorFrame {
LoadActor( THEME:GetPathS("", "_swoosh normal") ) .. {
--StartTransitioningCommand=cmd(play);
};
LoadActor("_moveon") .. {
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,1;linear,0.2;diffusealpha,0;zoomx,1;zoomy,0;);
};
};
@@ -0,0 +1,8 @@
return Def.ActorFrame {
LoadActor( THEME:GetPathS("", "_swoosh normal") ) .. {
--StartTransitioningCommand=cmd(play);
};
LoadActor("_moveon") .. {
OnCommand=cmd(hibernate,0.1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoomx,1;zoomy,0;diffusealpha,0;linear,0.35;diffusealpha,1;zoom,1);
};
};