Skip to content

Commit 37d4785

Browse files
committed
going home
1 parent 9a120b5 commit 37d4785

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
return Def.ActorFrame {
2+
InitCommand=cmd(Center);
3+
Def.Quad {
4+
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
5+
OnCommand=function(self)
6+
if iidxlifetable[#iidxlifetable] > 79 then
7+
self:diffuse(color("#90eff6"))
8+
else
9+
self:diffuse(color("#ff0000"))
10+
end
11+
end
12+
};
13+
Def.Quad {
14+
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
15+
OnCommand=cmd(diffuse,color("#000000");fadetop,0.8;diffusealpha,0.8);
16+
};
17+
};

0 commit comments

Comments
 (0)