forgot some things, display dumb user warning on MapControllers.

This commit is contained in:
Jonathan Payne
2011-12-05 13:28:30 -08:00
parent 3e7f3bf81e
commit 99a83b870f
5 changed files with 58 additions and 0 deletions
@@ -0,0 +1,4 @@
return LoadActor("go") .. {
InitCommand=cmd(Center;draworder,105);
StartTransitioningCommand=cmd(zoom,1.3;diffusealpha,0;bounceend,0.25;zoom,1;diffusealpha,1;linear,0.15;glow,BoostColor(Color("Blue"),1.75);decelerate,0.3;glow,1,1,1,0;sleep,1-0.45;linear,0.25;diffusealpha,0;);
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

@@ -0,0 +1,27 @@
local players = GAMESTATE:GetHumanPlayers()
local t = Def.ActorFrame {};
for pn=1,#players do
t[#t+1] = Def.ActorFrame {
InitCommand=function(self)
self:y(SCREEN_CENTER_Y)
self:x(
THEME:GetMetric(
Var "LoadingScreen",
"Player" .. ToEnumShortString(players[pn]) .. ToEnumShortString(GAMESTATE:GetCurrentStyle():GetStyleType()) .. "X"
)
)
end,
Def.Quad {
InitCommand=function(self)
(cmd('fadeleft,0.1;faderight,0.1;zoomtoheight,SCREEN_HEIGHT'))(self)
self:zoomtowidth(
Center1Player() and SCREEN_WIDTH-32 or SCREEN_CENTER_X-16
)
end
};
};
end
return t